#include <BonHeuristicDiveMIPFractional.hpp>
Public Member Functions | |
HeuristicDiveMIPFractional () | |
Default Constructor. More... | |
HeuristicDiveMIPFractional (BonminSetup *setup) | |
Constructor with setup. More... | |
HeuristicDiveMIPFractional (const HeuristicDiveMIPFractional ©) | |
Copy constructor. More... | |
~HeuristicDiveMIPFractional () | |
Destructor. More... | |
HeuristicDiveMIPFractional & | operator= (const HeuristicDiveMIPFractional &rhs) |
Assignment operator. More... | |
virtual CbcHeuristic * | clone () const |
Clone. More... | |
virtual void | setSetup (BonminSetup *setup) |
Change setup used for heuristic. More... | |
virtual void | setInternalVariables (TMINLP2TNLP *minlp) |
sets internal variables More... | |
virtual void | selectVariableToBranch (TMINLP2TNLP *minlp, const vector< int > &integerColumns, const double *newSolution, int &bestColumn, int &bestRound) |
Selects the next variable to branch on. More... | |
void | Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Initiaize using passed options. More... | |
![]() | |
HeuristicDiveMIP (BonminSetup *setup) | |
Constructor with setup. More... | |
HeuristicDiveMIP (const HeuristicDiveMIP ©) | |
Copy constructor. More... | |
~HeuristicDiveMIP () | |
Destructor. More... | |
HeuristicDiveMIP & | operator= (const HeuristicDiveMIP &rhs) |
Assignment operator. More... | |
void | Initialize (BonminSetup *setup) |
Initialize method. More... | |
virtual void | resetModel (CbcModel *model) |
Resets stuff if model changes. More... | |
virtual int | solution (double &solutionValue, double *betterSolution) |
Performs heuristic. More... | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register the options common to all local search based heuristics. More... | |
Additional Inherited Members | |
![]() | |
BonminSetup * | setup_ |
Setup to use for local searches (will make copies). More... | |
Definition at line 21 of file BonHeuristicDiveMIPFractional.hpp.
Bonmin::HeuristicDiveMIPFractional::HeuristicDiveMIPFractional | ( | ) |
Default Constructor.
Bonmin::HeuristicDiveMIPFractional::HeuristicDiveMIPFractional | ( | BonminSetup * | setup | ) |
Constructor with setup.
Definition at line 23 of file BonHeuristicDiveMIPFractional.cpp.
Bonmin::HeuristicDiveMIPFractional::HeuristicDiveMIPFractional | ( | const HeuristicDiveMIPFractional & | copy | ) |
Copy constructor.
Definition at line 30 of file BonHeuristicDiveMIPFractional.cpp.
|
inline |
Destructor.
Definition at line 33 of file BonHeuristicDiveMIPFractional.hpp.
HeuristicDiveMIPFractional & Bonmin::HeuristicDiveMIPFractional::operator= | ( | const HeuristicDiveMIPFractional & | rhs | ) |
Assignment operator.
Definition at line 36 of file BonHeuristicDiveMIPFractional.cpp.
|
virtual |
Clone.
Implements Bonmin::HeuristicDiveMIP.
Definition at line 45 of file BonHeuristicDiveMIPFractional.cpp.
|
inlinevirtual |
Change setup used for heuristic.
Reimplemented from Bonmin::HeuristicDiveMIP.
Definition at line 42 of file BonHeuristicDiveMIPFractional.hpp.
|
virtual |
sets internal variables
Implements Bonmin::HeuristicDiveMIP.
Definition at line 51 of file BonHeuristicDiveMIPFractional.cpp.
|
virtual |
Selects the next variable to branch on.
If bestColumn = -1, it means that no variable was found
Implements Bonmin::HeuristicDiveMIP.
Definition at line 57 of file BonHeuristicDiveMIPFractional.cpp.
|
static |
Register the options common to all local search based heuristics.
Definition at line 113 of file BonHeuristicDiveMIPFractional.cpp.
void Bonmin::HeuristicDiveMIPFractional::Initialize | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options | ) |
Initiaize using passed options.
Definition at line 126 of file BonHeuristicDiveMIPFractional.cpp.