[Coin-discuss] About CbcModel with cut generator

Hacène Ouzia h.ouzia at gmail.com
Fri Oct 13 06:13:48 EDT 2006


Hi John,

Thank you so much.

I have the following question about the CbcModel.

To strength my_LP_model, I used cglGomory generator in two separated ways.

First way : i used the generatCuts() method of the cglGomory object. I added
the generated cuts to  my_LP_model and than i did a resolve().

Second way: i used the addCutGenerator(mig_generator,-99,"blabla") method of
the cbcModel object.

I used the same parameters for the two generators.

My question is : why the value cbcmodel.rootObjectiveAfterCuts() is
different from the one i get when i do resolve in the first way
(my_LP_model.getObjValue())?

Cheers,
Hacene


Hacene Ouzia
Ph.D student
Laboratoire d'Informatique de Paris 6.
hacene.ouzia at lip6.fr




More information about the Coin-discuss mailing list