# CbcConsequence Class Reference

Abstract base class for consequent bounds. More...

`#include <CbcConsequence.hpp>`

Inheritance diagram for CbcConsequence:
[legend]

List of all members.

## Public Member Functions
| CbcConsequence ()
| CbcConsequence (const CbcConsequence &rhs)
CbcConsequence & | operator= (const CbcConsequence &rhs)
virtual CbcConsequence * | clone () 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

CbcConsequence::CbcConsequence | ( |  | ) |

CbcConsequence::CbcConsequence | ( | const CbcConsequence & | rhs | ) |

virtual CbcConsequence::~CbcConsequence | ( |  | ) | `[virtual]`

Destructor.

## Member Function Documentation

CbcConsequence& CbcConsequence::operator= | ( | const CbcConsequence & | rhs | ) |

Reimplemented in CbcFixVariable.

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:

- /home/coin/svn-release/Cbc-2.7.7/Cbc/src/CbcConsequence.hpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines