ColaModel::ColaModel(char * data_file) : OsiClpSolverInterface() { options_ = new Options(); total_num_supports_ = 0; total_num_cuts_ = 0; num_supports_ = 0; num_cuts_ = 0; num_lp_solved_ = 0; imp_solution_ = 0; // this is the default beavior, user can change this using options setHintParam(OsiDoReducePrint,true,OsiHintTry); cones_.clear(); first_solve_ = true; OsiConicSolverInterface::readMps(data_file); OsiClpSolverInterface::getModelPtr()->setMoreSpecialOptions(0); }
ColaModel::ColaModel() : OsiClpSolverInterface() { options_ = new Options(); total_num_supports_ = 0; total_num_cuts_ = 0; num_supports_ = 0; num_cuts_ = 0; num_lp_solved_ = 0; imp_solution_ = 0; cones_.clear(); first_solve_ = true; // this is the default beavior, user can change this using options setHintParam(OsiDoReducePrint,true,OsiHintTry); // for unboundedness directions set option OsiClpSolverInterface::getModelPtr()->setMoreSpecialOptions(0); }