63 void addCut(
double lb,
double ub,
int size,
const int *colIndices,
const double *elements);
74 const double *lower,
const double *upper);
double * bestSolution_
Best solution (objective at end)
CglStored(int numberColumns=0)
Default constructor.
CglStored & operator=(const CglStored &rhs)
Assignment operator.
int numberColumns_
Number of columns in model.
double requiredViolation_
Only add if more than this requiredViolation.
double getRequiredViolation() const
Get.
Stored Cut Generator Class.
OsiRowCut * rowCutPtr(int i)
Get pointer to i'th row cut.
const OsiRowCut * rowCutPointer(int index) const
Information about where the cut generator is invoked from.
Collections of row cuts and column cuts.
The default COIN simplex (basis-oriented) warm start class.
virtual CglCutGenerator * clone() const
Clone.
Abstract Base Class for describing an interface to a solver.
const double * tightUpper() const
Tight upper bounds.
Cut Generator Base Class.
const double * bestSolution() const
Best solution (or NULL)
double bestObjective() const
Best objective.
const double * tightLower() const
Tight lower bounds.
void setProbingInfo(CglTreeProbingInfo *info)
Takes over ownership of probing info.
CglTreeProbingInfo * probingInfo_
Pointer to probing information.
virtual ~CglStored()
Destructor.
double * bounds_
Tight bounds.
void setRequiredViolation(double value)
Set.
void saveStuff(double bestObjective, const double *bestSolution, const double *lower, const double *upper)
Save stuff.
void addCut(const OsiCuts &cs)
Add cuts.
int sizeRowCuts() const
Number of row cuts in collection.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Generate Mixed Integer Stored cuts for the model of the solver interface, si.