-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
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
'pyomo help -s' inconsistent with SolverFactory #3032
Comments
Hi @haraldg, it looks like you have a typo in your example: |
Indeed. How deeply embarrassing. Though it seems even using At the very least, |
FYI, the ASL automatic differentiation library, i.e. https://github.com/ampl/asl, is open-source. (As opposed to the AMPL modeling language, which is proprietary.) Our CyIpopt interface indeed uses ASL for automatic differentiation. However, it allows users to interact with Ipopt "directly", which can be useful for debugging. It also potentially allows users to switch out the AD backend, although we have not implemented any other AD interfaces at this point.
The only difference between the |
Indeed. I have been thinking open source != free software, but it seems ASL is actually BSD 3-Clause licensed. Then why all the fuss about Third-Party-ASL and the dire warnings like:
What am I missing?
Interesting. AFAIK ipopt supports many smart things like declaring part of the problem linear to speed it up. I had been thinking, that maybe one interface take advantage of this more the the other. I will investigate, where the difference actually comes from. |
Some additional notes:
|
Summary
I have the cyipopt module installed and pyomo lists it as viable solver. But when trying to use it with SolverFactory instead of using cyipopt, pyomo falls back to ASL which crashes as one would expect.
Steps to reproduce the issue
Error Message
Information on your system
Pyomo version: Pyomo 6.6.2
Python version: CPython 3.11.2
Operating system: Linux 6.1.0-9-amd64 (Debian)
How Pyomo was installed (PyPI, conda, source): PyPI
Solver (if applicable): cyipopt
Additional information
The text was updated successfully, but these errors were encountered: