Reputation: 53
I wish to use the SCIP solver with Pyomo to solve a MILP non linear problem as it is one of the fastest solvers out there. But when I set the solver as "scip" in SolverFactory function of the library, I get an error saying "scip" executable not found.
I understand that to use any solver, we need to have it's executable in the PATH. I have tried different solvers like Bonmin, Couenne. Their executable were readily available to download from the AMPL webstie itself but I was not able to find the SCIP executable (don't know why is that, since it is opensource)
Following this, I tried researching into making my own SCIP executable and stumbled upon this link: http://www.zverovich.net/2012/08/07/using-scip-with-ampl.html
But the instructions are for linux! So if someone could direct me into the direction of a scip executable or instructions for how to build a scip executable for windows then it would be great!
Thanks in advance!
Upvotes: 1
Views: 4206
Reputation: 6706
You can download SCIP executables/installers for different platforms here:
See section "Executables" for precompiled files including the AMPL interface.
According to the AMPL documentation, SCIP is not officially supported anymore.
A better alternative is to use PySCIPOpt: You should be able to formulate your models in a very similar fashion, including nonlinear constraints, and you avoid having to write out the model to a file and read it back in with the solver.
Upvotes: 2