We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I currently use pyomo, when using ipopt I can pass options to ipopt as follows:
solver = SolverFactory('ipopt') opts = {'halt_on_ampl_error': 'yes', 'tol': tolerance, 'bound_relax_factor': 0.0} results = solver.solve(model, tee=False, options=opts)
When using pygmo I set up the ipopt solver like this:
prob = pg.problem(problem) uda = pg.ipopt() algo = pg.algorithm(uda)
How would I pass the same options to ipopt that I do when using pyomo?
Thanks, Andy
The text was updated successfully, but these errors were encountered:
Hi @a-jp
you can set Ipopt's options after the construction of the uda object. See the docs here for some examples:
uda
https://esa.github.io/pygmo2/algorithms.html?highlight=ipopt#pygmo.ipopt
Sorry, something went wrong.
Thanks
Feel free to come over to the gitter channel the next time you have a question:
https://gitter.im/pagmo2/Lobby
Closing the report.
No branches or pull requests
I currently use pyomo, when using ipopt I can pass options to ipopt as follows:
When using pygmo I set up the ipopt solver like this:
How would I pass the same options to ipopt that I do when using pyomo?
Thanks,
Andy
The text was updated successfully, but these errors were encountered: