Go to the documentation of this file.
13 class CoinWarmStartBasis;
29 virtual void generateCuts(
const OsiSolverInterface &si, OsiCuts &cs,
56 void addCut(
const OsiCuts &cs);
61 void addCut(
double lb,
double ub,
const CoinPackedVector &vector);
63 void addCut(
double lb,
double ub,
int size,
const int *colIndices,
const double *elements);
66 return cuts_.sizeRowCuts();
70 return cuts_.rowCutPtr(index);
74 const double *lower,
const double *upper);
virtual CglCutGenerator * clone() const
Clone.
double * bounds_
Tight bounds.
void saveStuff(double bestObjective, const double *bestSolution, const double *lower, const double *upper)
Save stuff.
const double * tightUpper() const
Tight upper bounds.
void setProbingInfo(CglTreeProbingInfo *info)
Takes over ownership of probing info.
Information about where the cut generator is invoked from.
Stored Cut Generator Class.
const double * tightLower() const
Tight lower bounds.
CglStored & operator=(const CglStored &rhs)
Assignment operator.
double getRequiredViolation() const
Get.
void addCut(const OsiCuts &cs)
Add cuts.
CglTreeProbingInfo * probingInfo_
Pointer to probing information.
CglStored(int numberColumns=0)
Default constructor.
double requiredViolation_
Only add if more than this requiredViolation.
int numberColumns_
Number of columns in model.
Cut Generator Base Class.
double * bestSolution_
Best solution (objective at end)
double bestObjective() const
Best objective.
const double * bestSolution() const
Best solution (or NULL)
virtual ~CglStored()
Destructor.
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.
const OsiRowCut * rowCutPointer(int index) const
void setRequiredViolation(double value)
Set.