13 class CoinWarmStartBasis;
31 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
52 void addCut(
const OsiCuts & cs);
57 void addCut(
double lb,
double ub,
const CoinPackedVector & vector);
59 void addCut(
double lb,
double ub,
int size,
const int * colIndices,
const double * elements);
61 {
return cuts_.sizeRowCuts();}
63 {
return cuts_.rowCutPtr(index);}
66 const double * lower,
const double * upper);
double getRequiredViolation() const
Get.
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.
const OsiRowCut * rowCutPointer(int index) const
double requiredViolation_
Only add if more than this requiredViolation.
Stored Cut Generator Class.
double bestObjective() const
Best objective.
Information about where the cut generator is invoked from.
Cut Generator Base Class.
virtual CglCutGenerator * clone() const
Clone.
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.
const double * tightLower() const
Tight lower bounds.
void saveStuff(double bestObjective, const double *bestSolution, const double *lower, const double *upper)
Save stuff.
void addCut(const OsiCuts &cs)
Add cuts.
const double * bestSolution() const
Best solution (or NULL)
const double * tightUpper() const
Tight upper bounds.
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.