Go to the documentation of this file.
16 const std::string mpdDir );
41 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
51 const int * possible=NULL);
61 const int * cliqueMember);
117 const CoinPackedMatrix & rowCopy,
118 const double * solution,
const double * dj,
119 OsiCuts & cs,
const int * suitableRow,
158 const std::string mpdDir );
int numberCliques_
number of cliques
int * suitableRows_
list of suitableRows
Information about where the cut generator is invoked from.
int numberPossible()
Returns how many rows might give odd hole cuts.
CglOddHole & operator=(const CglOddHole &rhs)
Assignment operator.
CglOddHole()
Default constructor.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.
int * startClique_
start of each clique
Odd Hole Cut Generator Class.
void setMaximumEntries(int value)
int * member_
clique members
Cut Generator Base Class.
void CglOddHoleUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglOddHole class.
friend void CglOddHoleUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglOddHole class.
double getMinimumViolation() const
Minimum violation.
virtual ~CglOddHole()
Destructor.
double minimumViolationPer_
Minimum violation per entry.
int numberRows_
number of rows when suitability tested
int maximumEntries_
Maximum number of entries in a cut.
void createCliqueList(int numberCliques, const int *cliqueStart, const int *cliqueMember)
Create a list of extra row cliques which may not be in matrix At present these are classical cliques.
double minimumViolation_
Minimum violation.
int getMaximumEntries() const
Maximum number of entries in a cut.
void setMinimumViolationPer(double value)
void createRowList(const OsiSolverInterface &si, const int *possible=NULL)
Create a list of rows which might yield cuts this is to speed up process The possible parameter is a ...
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Generate odd hole cuts for the model of the solver interface, si.
void setMinimumViolation(double value)
virtual CglCutGenerator * clone() const
Clone.
double getMinimumViolationPer() const
Minimum violation per entry.