Go to the documentation of this file.
5 #ifndef CglAllDifferent_H
6 #define CglAllDifferent_H
29 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
102 int numberDifferent_;
112 int * originalWhich_;
void setLogLevel(int value)
Set log level.
Information about where the cut generator is invoked from.
CglAllDifferent & operator=(const CglAllDifferent &rhs)
Assignment operator.
CglAllDifferent()
Default constructor.
void setMaxLook(int value)
Set Maximum number of sets to look at at once.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.
CglAllDifferent(const CglAllDifferent &)
Copy constructor.
Cut Generator Base Class.
virtual CglCutGenerator * clone() const
Clone.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
This fixes (or reduces bounds) on sets of all different variables.
AllDifferent Cut Generator Class This has a number of sets.
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual bool mayGenerateRowCutsInTree() const
Returns true if may generate Row cuts in tree (rather than root node).
CglAllDifferent(int numberSets, const int *starts, const int *which)
Useful constructot.
int getLogLevel() const
Get log level.
virtual ~CglAllDifferent()
Destructor.
int getMaxLook() const
Get Maximum number of sets to look at at once.