16 const std::string mpdDir );
51 const int * possible=NULL);
61 const int * cliqueMember);
118 const double * solution,
const double * dj,
119 OsiCuts & cs,
const int * suitableRow,
158 const std::string mpdDir );
void CglOddHoleUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglOddHole class.
int maximumEntries_
Maximum number of entries in a cut.
friend void CglOddHoleUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglOddHole class.
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 ...
void setMinimumViolation(double value)
Information about where the cut generator is invoked from.
Collections of row cuts and column cuts.
int numberRows_
number of rows when suitability tested
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Generate odd hole cuts for the model of the solver interface, si.
int getMaximumEntries() const
Maximum number of entries in a cut.
double minimumViolationPer_
Minimum violation per entry.
Abstract Base Class for describing an interface to a solver.
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...
Cut Generator Base Class.
CglOddHole & operator=(const CglOddHole &rhs)
Assignment operator.
double minimumViolation_
Minimum violation.
CglOddHole()
Default constructor.
void setMinimumViolationPer(double value)
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.
int * startClique_
start of each clique
Sparse Matrix Base Class.
double getMinimumViolationPer() const
Minimum violation per entry.
int numberCliques_
number of cliques
double getMinimumViolation() const
Minimum violation.
int * suitableRows_
list of suitableRows
int * member_
clique members
Odd Hole Cut Generator Class.
virtual ~CglOddHole()
Destructor.
Validate cuts against a known solution.
int numberPossible()
Returns how many rows might give odd hole cuts.
virtual CglCutGenerator * clone() const
Clone.
void setMaximumEntries(int value)