Bonmin::HeuristicDiveVectorLength Class Reference

#include <BonHeuristicDiveVectorLength.hpp>

Inheritance diagram for Bonmin::HeuristicDiveVectorLength:
Inheritance graph
[legend]
Collaboration diagram for Bonmin::HeuristicDiveVectorLength:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HeuristicDiveVectorLength ()
 Default Constructor.
 HeuristicDiveVectorLength (BonminSetup *setup)
 Constructor with setup.
 HeuristicDiveVectorLength (const HeuristicDiveVectorLength &copy)
 Copy constructor.
 ~HeuristicDiveVectorLength ()
 Destructor.
HeuristicDiveVectorLengthoperator= (const HeuristicDiveVectorLength &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.

Static Public Member Functions

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

Private Attributes

int * columnLength_
 the number of nonzero elements in each column

Detailed Description

Definition at line 21 of file BonHeuristicDiveVectorLength.hpp.


Constructor & Destructor Documentation

Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength (  ) 

Default Constructor.

Definition at line 20 of file BonHeuristicDiveVectorLength.cpp.

Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength ( BonminSetup setup  ) 

Constructor with setup.

Definition at line 26 of file BonHeuristicDiveVectorLength.cpp.

Bonmin::HeuristicDiveVectorLength::HeuristicDiveVectorLength ( const HeuristicDiveVectorLength copy  ) 

Copy constructor.

Definition at line 34 of file BonHeuristicDiveVectorLength.cpp.

Bonmin::HeuristicDiveVectorLength::~HeuristicDiveVectorLength (  )  [inline]

Destructor.

Definition at line 33 of file BonHeuristicDiveVectorLength.hpp.


Member Function Documentation

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

Assignment operator.

Reimplemented from Bonmin::HeuristicDive.

Definition at line 42 of file BonHeuristicDiveVectorLength.cpp.

CbcHeuristic * Bonmin::HeuristicDiveVectorLength::clone (  )  const [virtual]

Clone.

Implements Bonmin::HeuristicDive.

Definition at line 53 of file BonHeuristicDiveVectorLength.cpp.

virtual void Bonmin::HeuristicDiveVectorLength::setSetup ( BonminSetup setup  )  [inline, virtual]

Change setup used for heuristic.

Reimplemented from Bonmin::HeuristicDive.

Definition at line 45 of file BonHeuristicDiveVectorLength.hpp.

void Bonmin::HeuristicDiveVectorLength::setInternalVariables ( TMINLP2TNLP minlp  )  [virtual]

sets internal variables

Implements Bonmin::HeuristicDive.

Definition at line 59 of file BonHeuristicDiveVectorLength.cpp.

void Bonmin::HeuristicDiveVectorLength::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::HeuristicDive.

Definition at line 98 of file BonHeuristicDiveVectorLength.cpp.

void Bonmin::HeuristicDiveVectorLength::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions  )  [static]

Register the options common to all local search based heuristics.

Definition at line 166 of file BonHeuristicDiveVectorLength.cpp.

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

Initiaize using passed options.

Definition at line 179 of file BonHeuristicDiveVectorLength.cpp.


Member Data Documentation

the number of nonzero elements in each column

Definition at line 70 of file BonHeuristicDiveVectorLength.hpp.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1