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