Go to the documentation of this file.
5 #ifndef CglAllDifferent_H
6 #define CglAllDifferent_H
29 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
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.
int * originalWhich_
Original members.
void setMaxLook(int value)
Set Maximum number of sets to look at at once.
int * start_
Start of each set.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.
int numberSets_
Number of sets.
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).
int logLevel_
Log level - 0 none, 1 - a bit, 2 - more details.
int numberDifferent_
Total number of variables in all different sets.
int getLogLevel() const
Get log level.
virtual ~CglAllDifferent()
Destructor.
int getMaxLook() const
Get Maximum number of sets to look at at once.
int maxLook_
Maximum number of sets to look at at once.
int * which_
Members (0,1,....) not as in original model.