[Cgl] generateCuts const
Haroldo Santos
haroldo.santos at gmail.com
Fri Oct 14 19:30:57 EDT 2011
Hi,
I'm trying to integrate my cut generator with CGL.
My cut generator uses information of the implicit conflict graph of binary
variables. Since I try to lift these cuts, including variables which are not
active (=0) in the current fractional solution, I maintain this large
implicit conflict graph which is built at the beginning of the search
process.
To avoid the expensive work of rebuilt this conflict graph at each
generateCuts call I would like to keep it stored in my CglCutGenerator
derived object - updating it would be a lot faster than reconstruct it.
However I'm not succeeding in update any information in this class since
the method has a const modifier.
Any tips on how can I solve it ?
Cheers,
Haroldo
--
=============================================================
Haroldo Gambini Santos
Computing Department - Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo/
"Computer science is no more about computers than astronomy
is about telescopes." Edsger Dijkstra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cgl/attachments/20111014/a2877508/attachment.html>
More information about the Cgl
mailing list