Go to the documentation of this file.
12 #ifndef BonSubMipSolver_HPP
13 #define BonSubMipSolver_HPP
21 class CbcStrategyDefault;
26 class RegisteredOptions;
52 return integerSolution_;
84 double maxTime,
const OsiCuts & cs);
107 return iterationCount_;
125 double * integerSolution_;
127 CbcStrategyDefault * strategy_;
double lowBound()
Returns lower bound.
OsiSolverInterface * solver()
void find_good_sol(double cutoff, int loglevel, double maxTime)
update cutoff and perform a local search to a good solution.
const double * getLastSolution()
get the solution found in last local search (return NULL if no solution).
void solve(double cutoff, int loglevel, double maxTime)
(C) Copyright International Business Machines Corporation 2007
int nodeCount()
Returns number of nodes in last solve.
void optimize(double cutoff, int loglevel, double maxTime)
update cutoff and optimize MIP.
void optimize_with_lazy_constraints(double cutoff, int loglevel, double maxTime, const OsiCuts &cs)
update cutoff, put OA constraints in cs as lazy constraints and optimize MIP.
A class to have all elements necessary to setup a branch-and-bound.
A very simple class to provide a common interface for solving MIPs with Cplex and Cbc.
SubMipSolver(const SubMipSolver ©)
Copy Constructor.
void setStrategy(CbcStrategyDefault *strategy)
Assign a strategy.
void setLpSolver(OsiSolverInterface *lp)
Assign lp solver.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register options for that Oa based cut generation method.
int iterationCount()
Returns number of simplex iterations in last solve.
bool optimal()
returns optimality status.
SubMipSolver(BabSetupBase &b, const std::string &prefix)
Constructor.