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