#include <BonHeuristicDiveMIP.hpp>


Public Member Functions | |
| HeuristicDiveMIP (BonminSetup *setup) | |
| Constructor with setup. More... | |
| HeuristicDiveMIP (const HeuristicDiveMIP ©) | |
| Copy constructor. More... | |
| ~HeuristicDiveMIP () | |
| Destructor. More... | |
| HeuristicDiveMIP & | operator= (const HeuristicDiveMIP &rhs) |
| Assignment operator. More... | |
| virtual CbcHeuristic * | clone () const =0 |
| Clone. More... | |
| void | Initialize (BonminSetup *setup) |
| Initialize method. More... | |
| virtual void | resetModel (CbcModel *model) |
| Resets stuff if model changes. More... | |
| virtual void | setSetup (BonminSetup *setup) |
| Change setup used for heuristic. More... | |
| virtual int | solution (double &solutionValue, double *betterSolution) |
| Performs heuristic. More... | |
| virtual void | setInternalVariables (TMINLP2TNLP *minlp)=0 |
| sets internal variables More... | |
| virtual void | selectVariableToBranch (TMINLP2TNLP *minlp, const vector< int > &integerColumns, const double *newSolution, int &bestColumn, int &bestRound)=0 |
| Selects the next variable to branch on. More... | |
Protected Attributes | |
| BonminSetup * | setup_ |
| Setup to use for local searches (will make copies). More... | |
Private Attributes | |
| int | howOften_ |
| How often to do (code can change) More... | |
| SubMipSolver * | mip_ |
| A subsolver for MIP. More... | |
Definition at line 19 of file BonHeuristicDiveMIP.hpp.
| Bonmin::HeuristicDiveMIP::HeuristicDiveMIP | ( | BonminSetup * | setup | ) |
Constructor with setup.
Definition at line 40 of file BonHeuristicDiveMIP.cpp.
| Bonmin::HeuristicDiveMIP::HeuristicDiveMIP | ( | const HeuristicDiveMIP & | copy | ) |
Copy constructor.
Definition at line 57 of file BonHeuristicDiveMIP.cpp.
| Bonmin::HeuristicDiveMIP::~HeuristicDiveMIP | ( | ) |
Destructor.
Definition at line 80 of file BonHeuristicDiveMIP.cpp.
| HeuristicDiveMIP & Bonmin::HeuristicDiveMIP::operator= | ( | const HeuristicDiveMIP & | rhs | ) |
Assignment operator.
Definition at line 67 of file BonHeuristicDiveMIP.cpp.
|
pure virtual |
Clone.
Implemented in Bonmin::HeuristicDiveMIPVectorLength, and Bonmin::HeuristicDiveMIPFractional.
| void Bonmin::HeuristicDiveMIP::Initialize | ( | BonminSetup * | setup | ) |
Initialize method.
Definition at line 51 of file BonHeuristicDiveMIP.cpp.
|
inlinevirtual |
Resets stuff if model changes.
Definition at line 46 of file BonHeuristicDiveMIP.hpp.
|
inlinevirtual |
Change setup used for heuristic.
Reimplemented in Bonmin::HeuristicDiveMIPVectorLength, and Bonmin::HeuristicDiveMIPFractional.
Definition at line 51 of file BonHeuristicDiveMIP.hpp.
|
virtual |
Performs heuristic.
Definition at line 95 of file BonHeuristicDiveMIP.cpp.
|
pure virtual |
sets internal variables
Implemented in Bonmin::HeuristicDiveMIPVectorLength, and Bonmin::HeuristicDiveMIPFractional.
|
pure virtual |
Selects the next variable to branch on.
If bestColumn = -1, it means that no variable was found
Implemented in Bonmin::HeuristicDiveMIPVectorLength, and Bonmin::HeuristicDiveMIPFractional.
|
protected |
Setup to use for local searches (will make copies).
Definition at line 73 of file BonHeuristicDiveMIP.hpp.
|
private |
How often to do (code can change)
Definition at line 77 of file BonHeuristicDiveMIP.hpp.
|
private |
A subsolver for MIP.
Definition at line 79 of file BonHeuristicDiveMIP.hpp.
1.8.5