Add Option 'NonConvex'= 2; in GAMs
回答済みI am trying to solve a non-convex economic dispatch problem for a set of power plants that have a quadratic function in the objective function.
I keep getting the error below when I run the model:
*** Quadratic equality constraints are non-convex. Set NonConvex parameter to 2 to solve model.
*** Activate nonconvex bilinear solver with Gurobi option nonConvex=2.
How can I activate the Gurobi option nonConvex=2 in GAMS?
0
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
You have to set the nonconvex setting to 2 as described in the GAMS documentation on Solver Options File Usage.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント