5 #ifndef CglCutGenerator_H
6 #define CglCutGenerator_H
virtual int maximumLengthOfCutInTree() const
Return maximum length of cut in tree.
int aggressive_
Aggressiveness - 0 = neutral, 100 is normal root node.
virtual bool mayGenerateRowCutsInTree() const
Returns true if may generate Row cuts in tree (rather than root node).
Information about where the cut generator is invoked from.
Collections of row cuts and column cuts.
Abstract Base Class for describing an interface to a solver.
bool canDoGlobalCuts() const
Say whether can do global cuts.
CglCutGenerator()
Default constructor.
Cut Generator Base Class.
int getAggressiveness() const
Get Aggressiveness - 0 = neutral, 100 is normal root node.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())=0
Generate cuts for the model data contained in si.
bool canDoGlobalCuts_
True if can do global cuts i.e. no general integers.
virtual void refreshSolver(OsiSolverInterface *)
This can be used to refresh any information.
virtual CglCutGenerator * clone() const =0
Clone.
virtual ~CglCutGenerator()
Destructor.
void setAggressiveness(int value)
Set Aggressiveness - 0 = neutral, 100 is normal root node.
virtual std::string generateCpp(FILE *)
Create C++ lines to set the generator in the current state.
CglCutGenerator & operator=(const CglCutGenerator &rhs)
Assignment operator.
void setGlobalCuts(bool trueOrFalse)
Set whether can do global cuts.
virtual bool needsOptimalBasis() const
Return true if needs optimal basis to do cuts.