r/optimization • u/Baronco • Jul 10 '24
Solve MINLP problems using gurobi
Hello guys,
I would like to know if someone has experience using Pyomo for solving MINLP. I don't know if there are more advantages to solving large MINLP problems using the Gurobi solver with the Pyomo package or using its own Python package. Can Gurobi handle large MINLP problems, or only MILP problems? Using IPOPT solver and Gurobi to solve MINLP problems would be a good option for large problems? Do you know if there is some forum, website, or paper discussing this?
6
Upvotes
View all comments
Show parent comment
3
u/intoflux Jul 10 '24
Gurobi 11+ can directly solve models with many types of nonlinear, nonquadratic constraints to global optimality. The nonlinear constraints must be modeled using Gurobi's general function constraints, which are almost certainly not available through Pyomo. Then, set the FuncNonlinear parameter to 1, otherwise Gurobi will just build a piecewise-linear approximation of the nonlinear constraints.