|
Bonmin
1.8.8
|
#include <BonHeuristicDiveVectorLength.hpp>
Public Member Functions | |
| HeuristicDiveVectorLength () | |
| Default Constructor. More... | |
| HeuristicDiveVectorLength (BonminSetup *setup) | |
| Constructor with setup. More... | |
| HeuristicDiveVectorLength (const HeuristicDiveVectorLength ©) | |
| Copy constructor. More... | |
| ~HeuristicDiveVectorLength () | |
| Destructor. More... | |
| HeuristicDiveVectorLength & | operator= (const HeuristicDiveVectorLength &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... | |
Public Member Functions inherited from Bonmin::HeuristicDive | |
| HeuristicDive () | |
| Default constructor. More... | |
| HeuristicDive (BonminSetup *setup) | |
| Constructor with setup. More... | |
| HeuristicDive (const HeuristicDive ©) | |
| Copy constructor. More... | |
| ~HeuristicDive () | |
| Destructor. More... | |
| HeuristicDive & | operator= (const HeuristicDive &rhs) |
| Assignment operator. More... | |
| virtual void | resetModel (CbcModel *model) |
| Resets stuff if model changes. More... | |
| void | setPercentageToFix (double value) |
| Set percentage of integer variables to fix at bounds. 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... | |
Private Attributes | |
| int * | columnLength_ |
| the number of nonzero elements in each column More... | |
Additional Inherited Members | |
Protected Attributes inherited from Bonmin::HeuristicDive | |
| BonminSetup * | setup_ |
| Setup to use for local searches (will make copies). More... | |
| double | percentageToFix_ |
| Percentage of integer variables to fix at bounds. More... | |
Definition at line 21 of file BonHeuristicDiveVectorLength.hpp.
| Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength | ( | ) |
Default Constructor.
| Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength | ( | BonminSetup * | setup | ) |
Constructor with setup.
| Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength | ( | const HeuristicDiveVectorLength & | copy | ) |
Copy constructor.
|
inline |
Destructor.
Definition at line 33 of file BonHeuristicDiveVectorLength.hpp.
References columnLength_.
| HeuristicDiveVectorLength& Bonmin::HeuristicDiveVectorLength::operator= | ( | const HeuristicDiveVectorLength & | rhs | ) |
Assignment operator.
|
virtual |
Clone.
Implements Bonmin::HeuristicDive.
|
inlinevirtual |
Change setup used for heuristic.
Reimplemented from Bonmin::HeuristicDive.
Definition at line 45 of file BonHeuristicDiveVectorLength.hpp.
References Initialize(), Bonmin::BabSetupBase::options(), and Bonmin::HeuristicDive::setSetup().
|
virtual |
sets internal variables
Implements Bonmin::HeuristicDive.
|
virtual |
Selects the next variable to branch on.
If bestColumn = -1, it means that no variable was found
Implements Bonmin::HeuristicDive.
|
static |
Register the options common to all local search based heuristics.
| void Bonmin::HeuristicDiveVectorLength::Initialize | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options | ) |
Initiaize using passed options.
Referenced by setSetup().
|
private |
the number of nonzero elements in each column
Definition at line 70 of file BonHeuristicDiveVectorLength.hpp.
Referenced by ~HeuristicDiveVectorLength().
1.8.5