[Coin-discuss] BCP_MaxPresolveIter
Matthew Galati
magh at lehigh.edu
Tue Jul 8 16:11:30 EDT 2003
BCP provides an LP parameter: MaxPresolveIter
"Upper limit on the number of iterations performed in each of the
children of the search tree node when presolving branching candidates."
Currently, it does not seem to pass this parameter onto the LP solver in
BCP_lp_perform_strong_branching.
In the user class, one way to force this (at least in the case of using
CPX) is:
OsiSolverInterface* MYAPP_lp::initialize_solver_interface(){
OsiXxxSolverInterface * si = new OsiXxxSolverInterface();
#ifdef COIN_USE_CPX
si->setIntParam(OsiMaxNumIterationHotStart,
getLpProblemPointer()->param(BCP_lp_par::MaxPresolveIter));
#endif
return si;
}
It seems you could also do this in MYAPP_lp::modify_lp_parameters().
Matt
--
Matthew Galati
ISE Lehigh University
IBM Service Parts Solutions
610.758.4042 (Office)
610.882.0779 (Home)
magh at lehigh.edu, magal11 at us.ibm.com
http://sagan.ie.lehigh.edu/mgalati/
More information about the Coin-discuss
mailing list