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 * 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.
const OsiRowCut * rowCutPointer(int index) const
Information about where the cut generator is invoked from.
virtual CglCutGenerator * clone() const
Clone.
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.
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.