8 #ifndef CbcHeuristicDINS_H 
    9 #define CbcHeuristicDINS_H 
   49   virtual int solution(
double &objectiveValue,
 
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc) 
 
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state. 
 
void setHowOften(int value)
Sets how often to do it. 
 
void setMaximumKeep(int value)
Sets maximum number of solutions kept. 
 
int localSpace_
Local parameter. 
 
virtual void resetModel(CbcModel *model)
Resets stuff if model changes. 
 
int numberIntegers_
Number of integer variables. 
 
int howOften_
How often to do (code can change) 
 
void setConstraint(int value)
Sets tightness of extra constraint. 
 
int solutionFix(double &objectiveValue, double *newSolution, const int *keep)
This version fixes stuff and does IP. 
 
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution. 
 
int maximumKeepSolutions_
Maximum number of solutions to keep. 
 
int numberSolutions_
Number of solutions so we can do something at solution. 
 
CbcHeuristicDINS & operator=(const CbcHeuristicDINS &rhs)
Assignment operator. 
 
int numberKeptSolutions_
Number of solutions kept. 
 
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...
 
int numberTries_
Number of tries. 
 
int numberSuccesses_
Number of successes. 
 
int ** values_
Values of integer variables. 
 
Simple Branch and bound class. 
 
virtual CbcHeuristic * clone() const 
Clone.