CbcHeuristicVND Class Reference

LocalSearch class. More...

#include <CbcHeuristicRINS.hpp>

Inheritance diagram for CbcHeuristicVND:
CbcHeuristic

List of all members.

Public Member Functions

 CbcHeuristicVND ()
 CbcHeuristicVND (CbcModel &model)
 CbcHeuristicVND (const CbcHeuristicVND &)
 ~CbcHeuristicVND ()
virtual CbcHeuristicclone () const
 Clone.
CbcHeuristicVNDoperator= (const CbcHeuristicVND &rhs)
 Assignment operator.
virtual void generateCpp (FILE *fp)
 Create C++ lines to get to current state.
virtual void resetModel (CbcModel *model)
 Resets stuff if model changes.
virtual void setModel (CbcModel *model)
 update model (This is needed if cliques update matrix etc)
virtual int solution (double &objectiveValue, double *newSolution)
 returns 0 if no solution, 1 if valid solution.
int solutionFix (double &objectiveValue, double *newSolution, const int *keep)
 This version fixes stuff and does IP.
void setHowOften (int value)
 Sets how often to do it.
double * baseSolution () const
 base solution array so we can set

Protected Attributes

int numberSolutions_
 Number of solutions so we can do something at solution.
int howOften_
 How often to do (code can change).
int numberSuccesses_
 Number of successes.
int numberTries_
 Number of tries.
int lastNode_
 Node when last done.
int stepSize_
 Step size for decomposition.
int k_
int kmax_
int nDifferent_
double * baseSolution_
 Base solution.

Detailed Description

LocalSearch class.

Definition at line 215 of file CbcHeuristicRINS.hpp.


Constructor & Destructor Documentation

CbcHeuristicVND::CbcHeuristicVND (  ) 
CbcHeuristicVND::CbcHeuristicVND ( CbcModel model  ) 
CbcHeuristicVND::CbcHeuristicVND ( const CbcHeuristicVND  ) 
CbcHeuristicVND::~CbcHeuristicVND (  ) 

Member Function Documentation

virtual CbcHeuristic* CbcHeuristicVND::clone (  )  const [virtual]

Clone.

Implements CbcHeuristic.

CbcHeuristicVND& CbcHeuristicVND::operator= ( const CbcHeuristicVND rhs  ) 

Assignment operator.

virtual void CbcHeuristicVND::generateCpp ( FILE *  fp  )  [virtual]

Create C++ lines to get to current state.

Reimplemented from CbcHeuristic.

virtual void CbcHeuristicVND::resetModel ( CbcModel model  )  [virtual]

Resets stuff if model changes.

Implements CbcHeuristic.

virtual void CbcHeuristicVND::setModel ( CbcModel model  )  [virtual]

update model (This is needed if cliques update matrix etc)

Reimplemented from CbcHeuristic.

virtual int CbcHeuristicVND::solution ( double &  objectiveValue,
double *  newSolution 
) [virtual]

returns 0 if no solution, 1 if valid solution.

Sets solution values if good, sets objective value (only if good) This does Relaxation Induced Neighborhood Search

Implements CbcHeuristic.

int CbcHeuristicVND::solutionFix ( double &  objectiveValue,
double *  newSolution,
const int *  keep 
)

This version fixes stuff and does IP.

void CbcHeuristicVND::setHowOften ( int  value  )  [inline]

Sets how often to do it.

Definition at line 261 of file CbcHeuristicRINS.hpp.

double* CbcHeuristicVND::baseSolution (  )  const [inline]

base solution array so we can set

Definition at line 264 of file CbcHeuristicRINS.hpp.


Member Data Documentation

Number of solutions so we can do something at solution.

Definition at line 271 of file CbcHeuristicRINS.hpp.

int CbcHeuristicVND::howOften_ [protected]

How often to do (code can change).

Reimplemented from CbcHeuristic.

Definition at line 273 of file CbcHeuristicRINS.hpp.

Number of successes.

Definition at line 275 of file CbcHeuristicRINS.hpp.

Number of tries.

Definition at line 277 of file CbcHeuristicRINS.hpp.

int CbcHeuristicVND::lastNode_ [protected]

Node when last done.

Definition at line 279 of file CbcHeuristicRINS.hpp.

int CbcHeuristicVND::stepSize_ [protected]

Step size for decomposition.

Definition at line 281 of file CbcHeuristicRINS.hpp.

int CbcHeuristicVND::k_ [protected]

Definition at line 282 of file CbcHeuristicRINS.hpp.

int CbcHeuristicVND::kmax_ [protected]

Definition at line 283 of file CbcHeuristicRINS.hpp.

Definition at line 284 of file CbcHeuristicRINS.hpp.

double* CbcHeuristicVND::baseSolution_ [protected]

Base solution.

Definition at line 286 of file CbcHeuristicRINS.hpp.


The documentation for this class was generated from the following file:
Generated on Fri May 28 17:17:31 2010 by  doxygen 1.6.3