Save the data from a solver output to a list in Python
In python when you run a solver, it displays some details along with the solutions. For example, I used a solver called IPOPT using following code solver = SolverFactory('ipopt') solver.solve(model, tee=True) and, I got the following output from a solver: This is Ipopt version 3.11.1, running with linear solver mumps. Number of nonzeros in equality constraint Jacobian...: 6 Number of nonzeros in inequality constraint Jacobian.: 0 Number of nonzeros in Lagrangian Hessian.............: 3 Total number of variables............................: 4 variables with only lower bounds: 2 variables with l
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.