(function from pyomo.contrib.parmest.utils.ipopt_solver_wrapper)
pyomo.contrib.parmest.utils.ipopt_solver_wrapper
Run the solver (must be ipopt) and return the convergence statistics
model (Pyomo model) – The pyomo model to be solved
solver (Pyomo solver) – The pyomo solver to use - it must be ipopt, but with whichever options are preferred
max_iter (int) – The maximum number of iterations to allow for ipopt
max_cpu_time (int) – The maximum cpu time to allow for ipopt (in seconds)
Returns a tuple with (solve status object, bool (solve successful or not), number of iters, solve time, regularization value at solution)