Bonmin 1.8.9
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Bonmin::HeuristicDiveMIPVectorLength Class Reference

#include <BonHeuristicDiveMIPVectorLength.hpp>

+ Inheritance diagram for Bonmin::HeuristicDiveMIPVectorLength:
+ Collaboration diagram for Bonmin::HeuristicDiveMIPVectorLength:

Public Member Functions

 HeuristicDiveMIPVectorLength ()
 Default Constructor.
 
 HeuristicDiveMIPVectorLength (BonminSetup *setup)
 Constructor with setup.
 
 HeuristicDiveMIPVectorLength (const HeuristicDiveMIPVectorLength &copy)
 Copy constructor.
 
 ~HeuristicDiveMIPVectorLength ()
 Destructor.
 
HeuristicDiveMIPVectorLengthoperator= (const HeuristicDiveMIPVectorLength &rhs)
 Assignment operator.
 
virtual CbcHeuristic * clone () const
 Clone.
 
virtual void setSetup (BonminSetup *setup)
 Change setup used for heuristic.
 
virtual void setInternalVariables (TMINLP2TNLP *minlp)
 sets internal variables
 
virtual void selectVariableToBranch (TMINLP2TNLP *minlp, const vector< int > &integerColumns, const double *newSolution, int &bestColumn, int &bestRound)
 Selects the next variable to branch on.
 
void Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options)
 Initiaize using passed options.
 
- Public Member Functions inherited from Bonmin::HeuristicDiveMIP
 HeuristicDiveMIP (BonminSetup *setup)
 Constructor with setup.
 
 HeuristicDiveMIP (const HeuristicDiveMIP &copy)
 Copy constructor.
 
 ~HeuristicDiveMIP ()
 Destructor.
 
HeuristicDiveMIPoperator= (const HeuristicDiveMIP &rhs)
 Assignment operator.
 
void Initialize (BonminSetup *setup)
 Initialize method.
 
virtual void resetModel (CbcModel *model)
 Resets stuff if model changes.
 
virtual int solution (double &solutionValue, double *betterSolution)
 Performs heuristic.
 

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
 Register the options common to all local search based heuristics.
 

Additional Inherited Members

- Protected Attributes inherited from Bonmin::HeuristicDiveMIP
BonminSetupsetup_
 Setup to use for local searches (will make copies).
 

Detailed Description

Definition at line 21 of file BonHeuristicDiveMIPVectorLength.hpp.

Constructor & Destructor Documentation

◆ HeuristicDiveMIPVectorLength() [1/3]

Bonmin::HeuristicDiveMIPVectorLength::HeuristicDiveMIPVectorLength ( )

Default Constructor.

◆ HeuristicDiveMIPVectorLength() [2/3]

Bonmin::HeuristicDiveMIPVectorLength::HeuristicDiveMIPVectorLength ( BonminSetup * setup)

Constructor with setup.

◆ HeuristicDiveMIPVectorLength() [3/3]

Bonmin::HeuristicDiveMIPVectorLength::HeuristicDiveMIPVectorLength ( const HeuristicDiveMIPVectorLength & copy)

Copy constructor.

◆ ~HeuristicDiveMIPVectorLength()

Bonmin::HeuristicDiveMIPVectorLength::~HeuristicDiveMIPVectorLength ( )
inline

Destructor.

Definition at line 33 of file BonHeuristicDiveMIPVectorLength.hpp.

Member Function Documentation

◆ operator=()

HeuristicDiveMIPVectorLength & Bonmin::HeuristicDiveMIPVectorLength::operator= ( const HeuristicDiveMIPVectorLength & rhs)

Assignment operator.

◆ clone()

virtual CbcHeuristic * Bonmin::HeuristicDiveMIPVectorLength::clone ( ) const
virtual

Clone.

Implements Bonmin::HeuristicDiveMIP.

◆ setSetup()

virtual void Bonmin::HeuristicDiveMIPVectorLength::setSetup ( BonminSetup * setup)
inlinevirtual

Change setup used for heuristic.

Reimplemented from Bonmin::HeuristicDiveMIP.

Definition at line 45 of file BonHeuristicDiveMIPVectorLength.hpp.

◆ setInternalVariables()

virtual void Bonmin::HeuristicDiveMIPVectorLength::setInternalVariables ( TMINLP2TNLP * minlp)
virtual

sets internal variables

Implements Bonmin::HeuristicDiveMIP.

◆ selectVariableToBranch()

virtual void Bonmin::HeuristicDiveMIPVectorLength::selectVariableToBranch ( TMINLP2TNLP * minlp,
const vector< int > & integerColumns,
const double * newSolution,
int & bestColumn,
int & bestRound )
virtual

Selects the next variable to branch on.

If bestColumn = -1, it means that no variable was found

Implements Bonmin::HeuristicDiveMIP.

◆ registerOptions()

static void Bonmin::HeuristicDiveMIPVectorLength::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
static

Register the options common to all local search based heuristics.

◆ Initialize()

void Bonmin::HeuristicDiveMIPVectorLength::Initialize ( Ipopt::SmartPtr< Ipopt::OptionsList > options)

Initiaize using passed options.


The documentation for this class was generated from the following file: