Cbc  trunk
Public Member Functions
CbcConsequence Class Reference

Abstract base class for consequent bounds. More...

#include <CbcConsequence.hpp>

+ Inheritance diagram for CbcConsequence:

List of all members.

Public Member Functions

 CbcConsequence ()
 CbcConsequence (const CbcConsequence &rhs)
CbcConsequenceoperator= (const CbcConsequence &rhs)
virtual CbcConsequenceclone () const =0
 Clone.
virtual ~CbcConsequence ()
 Destructor.
virtual void applyToSolver (OsiSolverInterface *solver, int state) const =0
 Apply to an LP solver.

Detailed Description

Abstract base class for consequent bounds.

When a variable is branched on it normally interacts with other variables by means of equations. There are cases where we want to step outside LP and do something more directly e.g. fix bounds. This class is for that.

At present it need not be virtual as only instance is CbcFixVariable, but ...

Definition at line 22 of file CbcConsequence.hpp.


Constructor & Destructor Documentation

virtual CbcConsequence::~CbcConsequence ( ) [virtual]

Destructor.


Member Function Documentation

CbcConsequence& CbcConsequence::operator= ( const CbcConsequence rhs)
virtual CbcConsequence* CbcConsequence::clone ( ) const [pure virtual]

Clone.

Implemented in CbcFixVariable.

virtual void CbcConsequence::applyToSolver ( OsiSolverInterface *  solver,
int  state 
) const [pure virtual]

Apply to an LP solver.

Action depends on state

Implemented in CbcFixVariable.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines