Pyomo / pyomo

An object-oriented algebraic modeling language in Python for structured optimization problems.
https://www.pyomo.org
Other
1.92k stars 498 forks source link

Support more milp solver in mindtpy #2874

Closed rlacjfjin closed 2 months ago

rlacjfjin commented 1 year ago

When using mindtpy to solve MINLP, is it possible to support scip or highs solver in milp solver?

Now, there is error with: Error: value scip not in domain ['gurobi', 'cplex', 'cbc', 'glpk', 'gams', 'gurobi_persistent', 'cplex_persistent', 'appsi_cplex', 'appsi_gurobi']

Thanks.

bernalde commented 1 year ago

This should be easy to do. @ZedongPeng can we work on this? A related question: should we change the default MILP solver for our tests to highs? @michaelbynum @jsiirola ?

ZedongPeng commented 1 year ago

I already have a MindtPy version with the support of highs and appsi_highs. I will submit a PR as soon as possible.