67 int numberChangedBounds,
const int *variables,
68 const double *boundChanges,
144 int numberStrong = 5,
145 int numberBeforeTrust = 0,
223 int numberStrong = 5,
224 int numberBeforeTrust = 0,
virtual void setupOther(CbcModel &model)=0
Other stuff e.g. strong branching and preprocessing.
CbcStrategyNull & operator=(const CbcStrategyNull &rhs)
Illegal Assignment operator.
CbcStrategyDefault & operator=(const CbcStrategyDefault &rhs)
Illegal Assignment operator.
virtual void setupHeuristics(CbcModel &model)=0
Setup heuristics.
virtual void setupCutGenerators(CbcModel &model)
Setup cut generators.
Class for preProcessing and postProcessing.
virtual void setupOther(CbcModel &model)
Other stuff e.g. strong branching.
Abstract base class for warm start `diff' objects.
CglPreProcess * process() const
Pre-processing object.
virtual void setupPrinting(CbcModel &, int)
Do printing stuff.
CbcStrategyDefaultSubTree & operator=(const CbcStrategyDefaultSubTree &rhs)
Illegal Assignment operator.
int preProcessState() const
See what sort of preprocessing was done.
virtual void setupOther(CbcModel &model)
Other stuff e.g. strong branching.
int preProcessState_
PreProcessing state - -1 infeasible 0 off 1 was done (so need post-processing)
virtual int status(CbcModel *model, CbcNodeInfo *parent, int whereFrom)
After a CbcModel::resolve this can return a status -1 no effect 0 treat as optimal 1 as 0 but do not ...
void deletePreProcess()
Delete pre-processing object to save memory.
Information required to recreate the subproblem at this node.
virtual void setupCutGenerators(CbcModel &model)=0
Setup cut generators.
virtual void setupHeuristics(CbcModel &model)
Setup heuristics.
virtual CbcStrategy * clone() const
Clone.
virtual void setupCutGenerators(CbcModel &model)
Setup cut generators.
CbcStrategyDefault(int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0)
virtual void setupPrinting(CbcModel &model, int modelLogLevel)
Do printing stuff.
virtual CbcStrategy * clone() const
Clone.
virtual void setupCutGenerators(CbcModel &)
Setup cut generators.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
int getNested() const
Get model depth (i.e. how nested)
virtual void setupHeuristics(CbcModel &)
Setup heuristics.
int preProcessPasses() const
See how many passes wanted.
~CbcStrategyDefaultSubTree()
int desiredPreProcess() const
See what sort of preprocessing wanted.
virtual void generateCpp(FILE *)
Create C++ lines to get to current state.
virtual CbcNodeInfo * partialNodeInfo(CbcModel *model, CbcNodeInfo *parent, CbcNode *owner, int numberChangedBounds, const int *variables, const double *boundChanges, const CoinWarmStartDiff *basisDiff) const
Return a new Partial node information pointer (descendant of CbcPartialNodeInfo)
virtual void setupOther(CbcModel &)
Other stuff e.g. strong branching.
virtual void setupPrinting(CbcModel &model, int modelLogLevel)=0
Do printing stuff.
void setupPreProcessing(int desired=1, int passes=10)
Set up preProcessing - see below.
virtual void setupHeuristics(CbcModel &model)
Setup heuristics.
virtual void setupPrinting(CbcModel &model, int modelLogLevel)
Do printing stuff.
int preProcessPasses_
Number of pre-processing passes.
CbcStrategy & operator=(const CbcStrategy &rhs)
Illegal Assignment operator.
int desiredPreProcess_
Desired pre-processing 0 - none 1 - ordinary 2 - find sos 3 - find cliques 4 - more aggressive sos 5 ...
virtual CbcStrategy * clone() const
Clone.
CbcStrategyNull(const CbcStrategyNull &rhs)
CbcStrategyDefaultSubTree(CbcModel *parent=NULL, int cutsOnlyAtRoot=1, int numberStrong=5, int numberBeforeTrust=0, int printLevel=0)
Information required while the node is live.
virtual CbcNodeInfo * fullNodeInfo(CbcModel *model, int numberRowsAtContinuous) const
Return a new Full node information pointer (descendant of CbcFullNodeInfo)
Default class for sub trees.
void setNested(int depth)
Set model depth (i.e. how nested)
void setPreProcessState(int state)
Say preProcessing done.
CglPreProcess * process_
If preprocessing then this is object.
Simple Branch and bound class.
virtual CbcStrategy * clone() const =0
Clone.