#include <CbcHeuristicDINS.hpp>
Inheritance diagram for CbcHeuristicDINS:


Public Member Functions | |
| CbcHeuristicDINS () | |
| CbcHeuristicDINS (CbcModel &model) | |
| CbcHeuristicDINS (const CbcHeuristicDINS &) | |
| ~CbcHeuristicDINS () | |
| virtual CbcHeuristic * | clone () const |
| Clone. | |
| CbcHeuristicDINS & | operator= (const CbcHeuristicDINS &rhs) |
| Assignment operator. | |
| virtual void | generateCpp (FILE *fp) |
| Create C++ lines to get to current state. | |
| virtual void | resetModel (CbcModel *model) |
| Resets stuff if model changes. | |
| virtual void | setModel (CbcModel *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. | |
| int | solutionFix (double &objectiveValue, double *newSolution, const int *keep) |
| This version fixes stuff and does IP. | |
| void | setHowOften (int value) |
| Sets how often to do it. | |
| void | setMaximumKeep (int value) |
| Sets maximum number of solutions kept. | |
| void | setConstraint (int value) |
| Sets tightness of extra constraint. | |
Protected Attributes | |
| int | numberSolutions_ |
| Number of solutions so we can do something at solution. | |
| int | howOften_ |
| How often to do (code can change). | |
| int | numberSuccesses_ |
| Number of successes. | |
| int | numberTries_ |
| Number of tries. | |
| int | maximumKeepSolutions_ |
| Maximum number of solutions to keep. | |
| int | numberKeptSolutions_ |
| Number of solutions kept. | |
| int | numberIntegers_ |
| Number of integer variables. | |
| int | localSpace_ |
| Local parameter. | |
| int ** | values_ |
| Values of integer variables. | |
Definition at line 14 of file CbcHeuristicDINS.hpp.
| CbcHeuristicDINS::CbcHeuristicDINS | ( | ) |
| CbcHeuristicDINS::CbcHeuristicDINS | ( | CbcModel & | model | ) |
| CbcHeuristicDINS::CbcHeuristicDINS | ( | const CbcHeuristicDINS & | ) |
| CbcHeuristicDINS::~CbcHeuristicDINS | ( | ) |
| virtual CbcHeuristic* CbcHeuristicDINS::clone | ( | ) | const [virtual] |
| CbcHeuristicDINS& CbcHeuristicDINS::operator= | ( | const CbcHeuristicDINS & | rhs | ) |
Assignment operator.
| virtual void CbcHeuristicDINS::generateCpp | ( | FILE * | fp | ) | [virtual] |
| virtual void CbcHeuristicDINS::resetModel | ( | CbcModel * | model | ) | [virtual] |
| virtual void CbcHeuristicDINS::setModel | ( | CbcModel * | model | ) | [virtual] |
| virtual int CbcHeuristicDINS::solution | ( | double & | objectiveValue, | |
| double * | newSolution | |||
| ) | [virtual] |
returns 0 if no solution, 1 if valid solution.
Sets solution values if good, sets objective value (only if good) This does Relaxation Induced Neighborhood Search
Implements CbcHeuristic.
| int CbcHeuristicDINS::solutionFix | ( | double & | objectiveValue, | |
| double * | newSolution, | |||
| const int * | keep | |||
| ) |
This version fixes stuff and does IP.
| void CbcHeuristicDINS::setHowOften | ( | int | value | ) | [inline] |
| void CbcHeuristicDINS::setMaximumKeep | ( | int | value | ) | [inline] |
| void CbcHeuristicDINS::setConstraint | ( | int | value | ) | [inline] |
int CbcHeuristicDINS::numberSolutions_ [protected] |
Number of solutions so we can do something at solution.
Definition at line 76 of file CbcHeuristicDINS.hpp.
int CbcHeuristicDINS::howOften_ [protected] |
How often to do (code can change).
Reimplemented from CbcHeuristic.
Definition at line 78 of file CbcHeuristicDINS.hpp.
int CbcHeuristicDINS::numberSuccesses_ [protected] |
int CbcHeuristicDINS::numberTries_ [protected] |
int CbcHeuristicDINS::maximumKeepSolutions_ [protected] |
int CbcHeuristicDINS::numberKeptSolutions_ [protected] |
int CbcHeuristicDINS::numberIntegers_ [protected] |
int CbcHeuristicDINS::localSpace_ [protected] |
int** CbcHeuristicDINS::values_ [protected] |
1.4.7