Go to the documentation of this file.
10 #ifndef BonECPCuts_HPP
11 #define BonECPCuts_HPP
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_;
(C) Copyright International Business Machines Corporation 2007
double doEcpRounds(OsiSolverInterface &si, bool leaveSiUnchanged, double *violation=NULL)
void setPropabilityFactor(double value)
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register ecp cuts options.
A class to have all elements necessary to setup a branch-and-bound.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) const
Standard cut generation methods.
Bonmin class for passing info between components of branch-and-cuts.
virtual bool doLocalSearch(BabInfo *babInfo) const
virutal method to decide if local search is performed
Base class for OA algorithms.
void setNumRounds(int value)
virtual ~EcpCuts()
Destructor.
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 setAbsViolationTolerance(double value)
void setRelViolationTolerance(double value)
Small class to manipulatee various things in an OsiSolverInterface and restore them.
EcpCuts(const EcpCuts ©)
Copy constructor.
CglCutGenerator * clone() const
clone