Objective function for complementarity model (MCP)
AnsweredI am working on a MCP model that I have linearized via the Fortuny-Amat method in order to solve it as a MILP. Now it is formulated as its KKTs.
Does Gurobi allow to solve it without setting an objective function? Otherwise, what should be set as objective function?
I am programming a DC OPF problem with the Python interface.
-
Official comment
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?. -
Sure, you can just use an all-zero objective function. Then the problem is a pure feasibility problem, which of course is fine for KKTs.
1 -
Hi, have you succeeded in solving MCP via Gurobi? I'm trying to linearize complementarity conditions via the SOS1 method. Model has 50955 SOS constraints Variable types: 203823 continuous.
GAMS+PATH solver can solve the MCP easily in one minute while Gurobi cannot find a feasible solution for the corresponding MILP in more than one hour.
0
Post is closed for comments.
Comments
3 comments