25 objValue_(copy.objValue_),
26 numRounds_(copy.numRounds_),
27 abs_violation_tol_(copy.abs_violation_tol_),
28 rel_violation_tol_(copy.rel_violation_tol_),
45 bool leaveSiUnchanged,
46 double* violation = NULL);
60 abs_violation_tol_ = value;
64 rel_violation_tol_ = value;
84 mutable double objValue_;
86 mutable double violation_;
90 double abs_violation_tol_;
92 double rel_violation_tol_;
Bonmin class for passing info between components of branch-and-cuts.
A class to have all elements necessary to setup a branch-and-bound.
void setAbsViolationTolerance(double value)
virtual ~EcpCuts()
Destructor.
CglCutGenerator * clone() const
clone
void setPropabilityFactor(double value)
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Standard cut generation methods.
void setNumRounds(int value)
virtual bool doLocalSearch(BabInfo *babInfo) const
virutal method to decide if local search is performed
double doEcpRounds(OsiSolverInterface &si, bool leaveSiUnchanged, double *violation=NULL)
virtual double performOa(OsiCuts &cs, solverManip &lpManip, BabInfo *babInfo, double &cutoff, const CglTreeInfo &info) const
virtual method which performs the OA algorithm by modifying lp and nlp.
void setRelViolationTolerance(double value)
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register ecp cuts options.
EcpCuts(const EcpCuts ©)
Copy constructor.
Small class to manipulatee various things in an OsiSolverInterface and restore them.
Base class for OA algorithms.
(C) Copyright International Business Machines Corporation 2007