[Cbc] CglCutGenerator
Stefan Vigerske
stefan at math.hu-berlin.de
Wed Oct 1 06:10:32 EDT 2008
Hi,
> I'm inheriting a class from CglCutGenerator and implementing the function
> generateCuts to add constraints to a problem on the fly. My question is, are
> constraints added in this manner applied only to the current node or to all the
> nodes in the tree?
This part I can give a hint:
The OsiCut class has a flag where you can set whether they are globally
valid (all nodes) or not (only current node and children):
http://www.coin-or.org/Doxygen/Osi/class_osi_cut.html
Default in Osi/stable/0.99 seem to be globallyvalid=false.
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list