Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CbcRounding Class Reference

Rounding class. More...

#include <CbcHeuristic.hpp>

Inheritance diagram for CbcRounding:

CbcHeuristic List of all members.

Public Member Functions

 CbcRounding ()
 CbcRounding (CbcModel &model)
 CbcRounding (const CbcRounding &)
 ~CbcRounding ()
virtual CbcHeuristicclone () const
 Clone.
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 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
virtual void validate ()
 Validate model i.e. sets when_ to 0 if necessary (may be NULL).
void setSeed (int value)
 Set seed.

Protected Attributes

CoinPackedMatrix matrix_
CoinPackedMatrix matrixByRow_
int seed_

Private Member Functions

CbcRoundingoperator= (const CbcRounding &rhs)
 Illegal Assignment operator.

Detailed Description

Rounding class.

Definition at line 92 of file CbcHeuristic.hpp.


Constructor & Destructor Documentation

CbcRounding::CbcRounding  ) 
 

CbcRounding::CbcRounding CbcModel model  ) 
 

CbcRounding::CbcRounding const CbcRounding  ) 
 

CbcRounding::~CbcRounding  ) 
 


Member Function Documentation

virtual CbcHeuristic* CbcRounding::clone  )  const [virtual]
 

Clone.

Implements CbcHeuristic.

virtual void CbcRounding::generateCpp FILE *  fp  )  [virtual]
 

Create C++ lines to get to current state.

Reimplemented from CbcHeuristic.

virtual void CbcRounding::resetModel CbcModel model  )  [virtual]
 

Resets stuff if model changes.

Implements CbcHeuristic.

virtual void CbcRounding::setModel CbcModel model  )  [virtual]
 

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

Reimplemented from CbcHeuristic.

virtual int CbcRounding::solution 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 CbcHeuristic.

virtual void CbcRounding::validate  )  [virtual]
 

Validate model i.e. sets when_ to 0 if necessary (may be NULL).

Reimplemented from CbcHeuristic.

void CbcRounding::setSeed int  value  )  [inline]
 

Set seed.

Definition at line 130 of file CbcHeuristic.hpp.

References seed_.

CbcRounding& CbcRounding::operator= const CbcRounding rhs  )  [private]
 

Illegal Assignment operator.


Member Data Documentation

CoinPackedMatrix CbcRounding::matrix_ [protected]
 

Definition at line 137 of file CbcHeuristic.hpp.

CoinPackedMatrix CbcRounding::matrixByRow_ [protected]
 

Definition at line 140 of file CbcHeuristic.hpp.

int CbcRounding::seed_ [protected]
 

Definition at line 143 of file CbcHeuristic.hpp.

Referenced by setSeed().


The documentation for this class was generated from the following file:
Generated on Sun Jun 11 02:01:18 2006 by  doxygen 1.3.9.1