Go to the documentation of this file.
31 #ifndef AbcHeuristic_h_
32 #define AbcHeuristic_h_
36 #include "CoinPackedMatrix.hpp"
37 #include "OsiCuts.hpp"
39 class OsiSolverInterface;
66 virtual int solution(
double & objectiveValue,
67 double * newSolution)=0;
78 OsiCuts & cs) {
return 0;}
120 virtual int solution(
double & objectiveValue,
121 double * newSolution);
virtual AbcHeuristic * clone() const
Clone.
virtual int solution(double &objectiveValue, double *newSolution, OsiCuts &cs)
returns 0 if no solution, 1 if valid solution, -1 if just returning an estimate of best possible solu...
void setSeed(int value)
Set seed.
AbcHeuristic & operator=(const AbcHeuristic &rhs)
Illegal Assignment operator.
virtual void setModel(AbcModel *model)
update model (This is needed if cliques update matrix etc)
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets sol...
virtual AbcHeuristic * clone() const =0
Clone.
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...
CoinPackedMatrix matrixByRow_
AbcRounding & operator=(const AbcRounding &rhs)
Illegal Assignment operator.
virtual void setModel(AbcModel *model)
update model (This is needed if cliques update matrix etc)
Model class for ALPS Branch and Cut.