Go to the documentation of this file.
8 #ifndef CbcHeuristicVND_H
9 #define CbcHeuristicVND_H
52 virtual int solution(
double &objectiveValue,
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
void setHowOften(int value)
Sets how often to do it.
int lastNode_
Node when last done.
int numberSuccesses_
Number of successes.
int stepSize_
Step size for decomposition.
virtual CbcHeuristic * clone() const
Clone.
Simple Branch and bound class.
double * baseSolution() const
base solution array so we can set
CbcHeuristicVND & operator=(const CbcHeuristicVND &rhs)
Assignment operator.
int howOften_
How often to do (code can change)
virtual void resetModel(CbcModel *model)
Resets stuff if model changes.
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution.
virtual int solution(double &objectiveValue, double *newSolution)=0
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets sol...
double * baseSolution_
Base solution.
int numberTries_
Number of tries.
int solutionFix(double &objectiveValue, double *newSolution, const int *keep)
This version fixes stuff and does IP.
int numberSolutions_
Number of solutions so we can do something at solution.
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc)