-
Notifications
You must be signed in to change notification settings - Fork 8
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
Any plan to add other solver like CBC? #20
Comments
It is already possible to use other solvers, I should probably update the docs/readme to reflect that. Any solver that is supported by Pyomo should work. I have personally only tested 'glpk' (open source). You can see an example of that here: https://github.com/wouterbles/pyaugmecon/blob/main/tests/ga/test_three_objectives.py |
awesome thanks! |
Hi, I am tying to use https://github.com/ERGO-Code/HiGHS where the solver name is SolverFactory('appsi_highs'), with trouble running the example you provided |
From the error this looks like an issue with the Pyomo solver interface, not direclty an issue with PyAUGMECON. Could you try to use Pyomo directly (so without pyaugmecon) with the HiGHS solver and let me know if this results in the same error? |
@wouterbles Hello, I created a multi-objective problem using highs which runs in colab: https://colab.research.google.com/drive/1u0OCZEHb2k2goecS9M7Dry-gkQH3fZia |
still does not work. How do I pass the executable like this: SolverFactory('cbc',executable='C:\Users\swang\Documents\software\cbc\bin\cbc') for highs, the below is the right way: so not sure what's wrong by setting the solver_name to 'appsi_highs', which is listed in: |
I run the code in https://gist.github.com/shuaiwang88/81df452663081029550620ce09f5cab7 |
Since gurobi is not open source, do you have any plan to support free solver like cbc?
The text was updated successfully, but these errors were encountered: