[Cbc] Possible to get information about eliminated variables from CglPreProcess
fpeng
fpeng at imap.srv.cs.cmu.edu
Thu Feb 5 10:34:48 EST 2015
Hello Cbc community,
Is there an easy way to extract information about variables that are
eliminated from preprocessing? Say I do something like:
CglPreProcess process;
OsiSolverInterface * solver2 = process.preProcess(*solver_, false, 8);
at this point the variables in solver2 may be different from what were
in solver_ because CglPreProcess did some smart things to determine that
certain variables are not needed. However, some of these eliminated
variables may be set to 0 or 1 (e.g. for a binary variable), and if I
have a custom cbcHeuristic that relies on the original set of variables
in solve_, I want to know which variables are eliminated, and what they
are set to. I can figure out what variables are eliminated with
originalColumns(), but I don't see an easy way to do the latter?
Thanks!
Fei
More information about the Cbc
mailing list