How to implement user cuts in Gurobi+Matlab
AnsweredHello,
I would like to add some user cuts to my model. I guess that the correct function should be cbCut but I'm not sure.
So far I've only found examples that use Python, however I'm currently using Matlab and these cuts are stored in a matrix and a vector for the right hand side in a .mat file.
Is there an easy way to do it / some example to follow?
Thanks!
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 Silvia,
There unfortunately isn't a way to add user cuts through the Gurobi MATLAB interface. You would have to import the data into another API that supports user cuts (e.g., Model.cbCut() in Python).
Thanks,
Eli
0
Post is closed for comments.
Comments
2 comments