Difference between GRBcblazy and GRBaddconstr

26 views
Skip to first unread message

Guido Pantuza - Miziphi

unread,
Jul 13, 2016, 3:32:24 PM7/13/16
to Gurobi Optimization
Dear, I implemented a MIP using CallBack function. For distraction, I used, inside the callback function, to insert the violated constraint, the  GRBadconstr instead of GRBcblazy.

In practice, what difference between using one or the other?

To Use the GRBadconstr can provoke an error? Which?


Renan Garcia

unread,
Jul 13, 2016, 3:35:20 PM7/13/16
to gur...@googlegroups.com
You should only call the GRBcbcut (see http://www.gurobi.com/documentation/6.5/refman/c_grbcbcut.html) or GRBcblazy (see http://www.gurobi.com/documentation/6.5/refman/c_grbcblazy.html) functions within a callback. Please follow the links to read about when you should use them.

--

---
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guido Pantuza - Miziphi

unread,
Jul 14, 2016, 4:53:06 PM7/14/16
to Gurobi Optimization
Thank you.


Reply all
Reply to author
Forward
0 new messages