yalmip and gurobi
Awaiting user input

yalmip and gurobi jointly solve the problem, but Matlab tells me that it is an infeasible model.
I want to use IIS to check the infeasible constraints,
but I can't use it successfully.
Do I have to write the model separately to use IIS?
Since I'm a newbie in gurobi,
I would like to ask if I can call a heuristic in gurobi
to solve a two-stage stochastic programming problem (MILP problem)?
0
-
Official comment
This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Chen,
If you can write the model to an MPS or LP file using YALPMIP, then you can easily compute the IIS to see the Gurobi command line:
gurobi_cl ResultFile=myiis.ilp yalmipmodel.lp
Otherwise, you can also follow their guide: Debugging infeasible models.
Cheers,
David0
Post is closed for comments.
Comments
2 comments