28 const std::string mpdDir );
119 #ifndef CGL_NEW_SHORT
131 const std::string mpdDir );
int flags_
Flags 1 bit - global cuts.
int * mtbeg_
starting position of each row in arrays mtind and mtval
Cgl012Cut cutInfo_
Cgl012Cut object to make thread safe.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any information.
char * msense_
senses of the constraints: 'L', 'G' or 'E'
Information about where the cut generator is invoked from.
Collections of row cuts and column cuts.
int * vub_
upper bounds on the variables
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
int * mrhs_
right hand sides of the constraints
Abstract Base Class for describing an interface to a solver.
void CglZeroHalfUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglZeroHalf class.
int * mtval_
values of the nonzero entries of the ILP matrix
void cglShortestPath(auxiliary_graph *graph, int source, int maximumLength)
A simple Dijkstra shortest path - make better later.
int * mtcnt_
number of entries of each row in arrays mtind and mtval
Cut Generator Base Class.
virtual CglCutGenerator * clone() const
Clone.
int mc_
number of columns in the ILP matrix
CglZeroHalf()
Default constructor.
int * vlb_
lower bounds on the variables
int * mtind_
column indices of the nonzero entries of the ILP matrix
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Generate zero half cuts for the model accessed through the solver interface.
int getFlags() const
Get flags.
virtual ~CglZeroHalf()
Destructor.
int mr_
number of rows in the ILP matrix
CglZeroHalf & operator=(const CglZeroHalf &rhs)
Assignment operator.
friend void CglZeroHalfUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglZeroHalf class.
void setFlags(int value)
Set flags.
int mnz_
number of nonzero's in the ILP matrix
Zero Half Cut Generator Class.