#include <BlisHeurRound.h>
Inheritance diagram for BlisHeurRound:
Public Member Functions | |
BlisHeurRound () | |
Default Constructor. | |
BlisHeurRound (BlisModel *model, const char *name, int strategy) | |
Constructor with model - assumed before cuts. | |
~BlisHeurRound () | |
Destructor. | |
BlisHeurRound (const BlisHeurRound &) | |
Copy constructor. | |
virtual BlisHeuristic * | clone () const |
Clone a rounding heuristic. | |
virtual void | setModel (BlisModel *model) |
update model (This is needed if cliques update matrix etc). | |
virtual bool | searchSolution (double &objectiveValue, double *newSolution) |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts | |
void | setSeed (int value) |
Set seed. | |
BlisHeurRound () | |
Default Constructor. | |
BlisHeurRound (BlisModel *model, const char *name, BlisHeurStrategy strategy, int freq) | |
Constructor with model - assumed before cuts. | |
~BlisHeurRound () | |
Destructor. | |
BlisHeurRound (const BlisHeurRound &) | |
Copy constructor. | |
virtual BlisHeuristic * | clone () const |
Clone a rounding heuristic. | |
virtual void | setModel (BlisModel *model) |
update model (This is needed if cliques update matrix etc). | |
virtual bool | searchSolution (double &objectiveValue, double *newSolution) |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts | |
void | setSeed (int value) |
Set seed. | |
Protected Attributes | |
CoinPackedMatrix | matrix_ |
Column majored matrix. | |
CoinPackedMatrix | matrixByRow_ |
Row majored matrix. | |
int | seed_ |
Seed for random stuff. | |
Private Member Functions | |
BlisHeurRound & | operator= (const BlisHeurRound &rhs) |
Illegal Assignment operator. | |
BlisHeurRound & | operator= (const BlisHeurRound &rhs) |
Illegal Assignment operator. |
Definition at line 45 of file BlisHeurRound.h.
BlisHeurRound::BlisHeurRound | ( | ) | [inline] |
BlisHeurRound::BlisHeurRound | ( | BlisModel * | model, | |
const char * | name, | |||
int | strategy | |||
) | [inline] |
Constructor with model - assumed before cuts.
Definition at line 65 of file BlisHeurRound.h.
References BlisModel::solver().
BlisHeurRound::~BlisHeurRound | ( | ) | [inline] |
BlisHeurRound::BlisHeurRound | ( | const BlisHeurRound & | ) |
Copy constructor.
BlisHeurRound::BlisHeurRound | ( | ) | [inline] |
BlisHeurRound::BlisHeurRound | ( | BlisModel * | model, | |
const char * | name, | |||
BlisHeurStrategy | strategy, | |||
int | freq | |||
) | [inline] |
Constructor with model - assumed before cuts.
Definition at line 64 of file BlisHeurRound.h.
References BlisModel::solver().
BlisHeurRound::~BlisHeurRound | ( | ) | [inline] |
BlisHeurRound::BlisHeurRound | ( | const BlisHeurRound & | ) |
Copy constructor.
BlisHeurRound& BlisHeurRound::operator= | ( | const BlisHeurRound & | rhs | ) | [private] |
Illegal Assignment operator.
virtual BlisHeuristic* BlisHeurRound::clone | ( | ) | const [virtual] |
virtual void BlisHeurRound::setModel | ( | BlisModel * | model | ) | [virtual] |
virtual bool BlisHeurRound::searchSolution | ( | double & | objectiveValue, | |
double * | newSolution | |||
) | [virtual] |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts
Implements BlisHeuristic.
void BlisHeurRound::setSeed | ( | int | value | ) | [inline] |
BlisHeurRound& BlisHeurRound::operator= | ( | const BlisHeurRound & | rhs | ) | [private] |
Illegal Assignment operator.
virtual BlisHeuristic* BlisHeurRound::clone | ( | ) | const [virtual] |
virtual void BlisHeurRound::setModel | ( | BlisModel * | model | ) | [virtual] |
virtual bool BlisHeurRound::searchSolution | ( | double & | objectiveValue, | |
double * | newSolution | |||
) | [virtual] |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts
Implements BlisHeuristic.
void BlisHeurRound::setSeed | ( | int | value | ) | [inline] |
CoinPackedMatrix BlisHeurRound::matrix_ [protected] |
CoinPackedMatrix BlisHeurRound::matrixByRow_ [protected] |
int BlisHeurRound::seed_ [protected] |