BlisHeurRound Class Reference

Rounding Heuristic. More...

#include <BlisHeurRound.h>

Inheritance diagram for BlisHeurRound:
Inheritance graph
[legend]
Collaboration diagram for BlisHeurRound:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BlisHeurRound ()
 Default Constructor.
 BlisHeurRound (BlisModel *model, const char *name, int strategy)
 Constructor with model - assumed before cuts.
 ~BlisHeurRound ()
 Destructor.
 BlisHeurRound (const BlisHeurRound &)
 Copy constructor.
virtual BlisHeuristicclone () const
 Clone a rounding heuristic.
virtual void setModel (BlisModel *model)
 update model (This is needed if cliques update matrix etc).
virtual bool searchSolution (double &objectiveValue, double *newSolution)
 returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts
void setSeed (int value)
 Set seed.
 BlisHeurRound ()
 Default Constructor.
 BlisHeurRound (BlisModel *model, const char *name, BlisHeurStrategy strategy, int freq)
 Constructor with model - assumed before cuts.
 ~BlisHeurRound ()
 Destructor.
 BlisHeurRound (const BlisHeurRound &)
 Copy constructor.
virtual BlisHeuristicclone () const
 Clone a rounding heuristic.
virtual void setModel (BlisModel *model)
 update model (This is needed if cliques update matrix etc).
virtual bool searchSolution (double &objectiveValue, double *newSolution)
 returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts
void setSeed (int value)
 Set seed.

Protected Attributes

CoinPackedMatrix matrix_
 Column majored matrix.
CoinPackedMatrix matrixByRow_
 Row majored matrix.
int seed_
 Seed for random stuff.

Private Member Functions

BlisHeurRoundoperator= (const BlisHeurRound &rhs)
 Illegal Assignment operator.
BlisHeurRoundoperator= (const BlisHeurRound &rhs)
 Illegal Assignment operator.

Detailed Description

Rounding Heuristic.

Definition at line 45 of file BlisHeurRound.h.


Constructor & Destructor Documentation

BlisHeurRound::BlisHeurRound (  )  [inline]

Default Constructor.

Definition at line 62 of file BlisHeurRound.h.

BlisHeurRound::BlisHeurRound ( BlisModel model,
const char *  name,
int  strategy 
) [inline]

Constructor with model - assumed before cuts.

Definition at line 65 of file BlisHeurRound.h.

BlisHeurRound::~BlisHeurRound (  )  [inline]

Destructor.

Definition at line 73 of file BlisHeurRound.h.

BlisHeurRound::BlisHeurRound ( const BlisHeurRound  ) 

Copy constructor.

BlisHeurRound::BlisHeurRound (  )  [inline]

Default Constructor.

Definition at line 61 of file BlisHeurRound.h.

BlisHeurRound::BlisHeurRound ( BlisModel model,
const char *  name,
BlisHeurStrategy  strategy,
int  freq 
) [inline]

Constructor with model - assumed before cuts.

Definition at line 64 of file BlisHeurRound.h.

BlisHeurRound::~BlisHeurRound (  )  [inline]

Destructor.

Definition at line 73 of file BlisHeurRound.h.

BlisHeurRound::BlisHeurRound ( const BlisHeurRound  ) 

Copy constructor.


Member Function Documentation

BlisHeurRound& BlisHeurRound::operator= ( const BlisHeurRound rhs  )  [private]

Illegal Assignment operator.

Reimplemented from BlisHeuristic.

virtual BlisHeuristic* BlisHeurRound::clone (  )  const [virtual]

Clone a rounding heuristic.

Implements BlisHeuristic.

virtual void BlisHeurRound::setModel ( BlisModel model  )  [virtual]

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

Reimplemented from BlisHeuristic.

virtual bool BlisHeurRound::searchSolution ( double &  objectiveValue,
double *  newSolution 
) [virtual]

returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts

Implements BlisHeuristic.

void BlisHeurRound::setSeed ( int  value  )  [inline]

Set seed.

Definition at line 93 of file BlisHeurRound.h.

BlisHeurRound& BlisHeurRound::operator= ( const BlisHeurRound rhs  )  [private]

Illegal Assignment operator.

Reimplemented from BlisHeuristic.

virtual BlisHeuristic* BlisHeurRound::clone (  )  const [virtual]

Clone a rounding heuristic.

Implements BlisHeuristic.

virtual void BlisHeurRound::setModel ( BlisModel model  )  [virtual]

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

Reimplemented from BlisHeuristic.

virtual bool BlisHeurRound::searchSolution ( double &  objectiveValue,
double *  newSolution 
) [virtual]

returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts

Implements BlisHeuristic.

void BlisHeurRound::setSeed ( int  value  )  [inline]

Set seed.

Definition at line 94 of file BlisHeurRound.h.


Member Data Documentation

Column majored matrix.

Definition at line 52 of file BlisHeurRound.h.

Row majored matrix.

Definition at line 55 of file BlisHeurRound.h.

int BlisHeurRound::seed_ [protected]

Seed for random stuff.

Definition at line 58 of file BlisHeurRound.h.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1