-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
There is no executable for IPOPT >= 3.13 on Windows #55
Comments
Hi @artem-math, thanks for the feedback. I am the one that updated ipopt to work on Windows, the ipopt executable is currently disabled because it depends on Having said that, I think it should be still possible to install the 3.11.1 version with conda, see https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html#installing-packages . I guess this should work (but I did not tried it):
Can you link the question on StackOverflow you were mentioning to? |
Hi @traversaro ! Thank you for the prompt reply! Does this mean that I can not use the recent version now? I use Pyomo to compile .nl model and IPOPT to solve it. The thing is that 3.11.1 fails on my problem while the latest version works fine (tested on MacOS and Linux). Thank you. Here are the links: |
That is correct, on Windows the 3.13.3 version does not install an |
I tried to tackle this by adding support for compiling on Windows for the ampl-mp feedstock (conda-forge/ampl-mp-feedstock#15), but I discovered a root issue in ampl-mp ( ampl/mp#131 ) that prevented me from doing that. |
Hi Traversaro, Thanks for your comments on my stackoverflow question, but I tried to install 3.11.1 version of ipopt that does now work. This time, it does show that
instead of non-executable. Do you have any ideas on this situation? |
* add github action ci * only one environment update call * line break in echo did not work * fix syntax * fix version syntax * switch to glpk * reduce time from month to week * list environment * use new ipopt version conda-forge/ipopt-feedstock#55 * remove accidental additions * request ipopt lower than 3.13.3 conda-forge/ipopt-feedstock#64 * add badges and release notes * add badge to readme and make ci.yaml cc-0
Hi. I am facing the same issue in Mac. I have installed ipopt 3.12.12 version using conda-forge. And I am getting the
Is there already a resolution in this issue? |
We unlikely to patch the 3.12.12 recipe, even if the executable is missing. Is there a reason you can't use a newer version of ipopt from conda forge? |
Hey I'm facing same issue.....It haven't resolved pls help me |
Just include this executable and it will work, had exactly the same issue: I copy pasted these files manually to check and it works: To be honest PYOMO library that we are using, should not call executables but directly run C++ code via pybind11, nanobind or any other wrapper. These executables are bit sketchy way of distributing libraries that are impossible to debug. But for now there is only one way, calling executables... |
A bit of update on this:
In both cases, a prerequisite I think is to solve the licensing confusion regarding ASL see ampl/asl#7 (comment) . |
Feel free to open an issue on pyomo repo in that case. : ) |
Apparently you already did, cross-link: Pyomo/pyomo#3395 . |
@traversaro |
I did a bit of recap on this on #55 (comment) . Unless specific exception, binaries on conda-forge are built by the conda-forge infrastructure. To build an ipopt executable, we need asl available on conda-forge on Windows. To do that, we need either:
Once those release are done, I would be happy to package ampl-mp or asl. |
In conda-forge/staged-recipes#28198 I propose to add an |
The issue should have been fixed by the new ipopt 3.14.17 package added in #125 (it will become available in ~1 hour). Please try it and let us know if that fixed the problem, thanks! |
Issue:
After installation of the latest version of IPOPT using
conda install -c conda-forge ipopt
I can not run IPOPT. Namely, I either get an error directly from Pyomo that the executable is not found, or by typing in terminal
ipopt -v
'ipopt' is not recognized as an internal or external command,
operable program or batch file.
The previous version was v3.11.1 and works correctly, the latest version v3.13.3 does not work since command ipopt is not found. There are two unanswered threads on stackoverflow in the last 8 days on this problem, this is exactly when the new version was released.
I really need the latest version, please, help. Thank you!
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: