-
Notifications
You must be signed in to change notification settings - Fork 124
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
CBC (and other AMPL solvers) are not linked correctly anymore #928
Comments
Solved in dev. |
Dear oemof community, Cheers Julian |
Hi Julian, you should be able to download CBC (probably the MSVC version), extract it and add it to PATH. There is no automated installation routine. |
Dear Patrik, thank you for coming back to me on this one. I downloaded the cbc, extracted it, and added it to the path, but unfortunately oemof.solph cannot find it. CBC worked for me on windows 10, but not on windows 11 (I have changed my laptop). GLPK works also on windows 11, but has some performance issues. Did anyone else similar issues and found a way to solve it? Cheers Julian |
Definitely not being a Windows expert, I see no reason why cbc should not be found if it's in PATH. Could you test if cbc is found in your CMD and also check the content of your PATH? (The command PS: It helps if you open an issue instead of commenting a solved one. |
Hi Patrik, thank you for your answer, I created a new issue for this one. Cheers |
Specifically, the link provided here does not point to the intended location anymore: https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver.
Now,
amplpy
needs to be installed and can delivercbc
and others. I tested it on my machine, however pyomo refuses to find the executable after having it installed withamplpy
. I cannot really look deep into it currently, just wanted to raise awareness :).The text was updated successfully, but these errors were encountered: