How to add lazy constraint with JuMP in Julia language and Gurobi as solver?
AnsweredHello,
I'm using Julia (version 1.1.1) and JuMP (version 0.21.2), Gurobi (version 0.8.1) to solve MIP. I'm struggling to add some lazy constraints in my model. My question is how to get solution from Gurobi (is there something like GetSolution( ))? It could be better if there is a simple example about TSP lazy constraint programming by Julia...
Thank you very much and I appreciate your response!
Best,
Yue
0
-
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?. -
Hi, the code disappeared. Is there any reference code?
0 -
You can find some information on callbacks in JuMP in the respective documentation.
0
Post is closed for comments.
Comments
4 comments