Protected Member Functions

SkeletonSolverBase Class Reference


Detailed Description

This class does nothing, but it can serve as a skeleton when implementing an interface to new solvers.

#include <lemon/lp_skeleton.h>

Inheritance diagram for SkeletonSolverBase:

List of all members.

Protected Member Functions

virtual int _addCol ()
 
virtual int _addRow ()
 
virtual void _eraseCol (int i)
 
virtual void _eraseRow (int i)
 
virtual void _getColName (int col, std::string &name) const
 
virtual void _setColName (int col, const std::string &name)
 
virtual int _colByName (const std::string &name) const
 
virtual void _getRowName (int row, std::string &name) const
 
virtual void _setRowName (int row, const std::string &name)
 
virtual int _rowByName (const std::string &name) const
 
virtual void _setRowCoeffs (int i, ExprIterator b, ExprIterator e)
 
virtual void _getRowCoeffs (int i, InsertIterator b) const
 
virtual void _setColCoeffs (int i, ExprIterator b, ExprIterator e)
 
virtual void _getColCoeffs (int i, InsertIterator b) const
 
virtual void _setCoeff (int row, int col, Value value)
 Set one element of the coefficient matrix.
virtual Value _getCoeff (int row, int col) const
 Get one element of the coefficient matrix.
virtual void _setColLowerBound (int i, Value value)
virtual Value _getColLowerBound (int i) const
 
virtual void _setColUpperBound (int i, Value value)
virtual Value _getColUpperBound (int i) const
 
virtual void _setRowLowerBound (int i, Value value)
virtual Value _getRowLowerBound (int i) const
 
virtual void _setRowUpperBound (int i, Value value)
virtual Value _getRowUpperBound (int i) const
 
virtual void _setObjCoeffs (ExprIterator b, ExprIterator e)
 
virtual void _getObjCoeffs (InsertIterator b) const
 
virtual void _setObjCoeff (int i, Value obj_coef)
 
virtual Value _getObjCoeff (int i) const
 
virtual void _setSense (Sense)
 
virtual Sense _getSense () const
 
virtual void _clear ()
 
virtual void _messageLevel (MessageLevel)
 

Member Function Documentation

void _setColLowerBound ( int  i,
Value  value 
) [protected, virtual]

The lower bound of a variable (column) have to be given by an extended number of type Value, i.e. a finite number of type Value or -INF.

Implements LpBase.

SkeletonSolverBase::Value _getColLowerBound ( int  i) const [protected, virtual]

The lower bound of a variable (column) is an extended number of type Value, i.e. a finite number of type Value or -INF.

Implements LpBase.

void _setColUpperBound ( int  i,
Value  value 
) [protected, virtual]

The upper bound of a variable (column) have to be given by an extended number of type Value, i.e. a finite number of type Value or INF.

Implements LpBase.

SkeletonSolverBase::Value _getColUpperBound ( int  i) const [protected, virtual]

The upper bound of a variable (column) is an extended number of type Value, i.e. a finite number of type Value or INF.

Implements LpBase.

void _setRowLowerBound ( int  i,
Value  value 
) [protected, virtual]

The lower bound of a constraint (row) have to be given by an extended number of type Value, i.e. a finite number of type Value or -INF.

Implements LpBase.

SkeletonSolverBase::Value _getRowLowerBound ( int  i) const [protected, virtual]

The lower bound of a constraint (row) is an extended number of type Value, i.e. a finite number of type Value or -INF.

Implements LpBase.

void _setRowUpperBound ( int  i,
Value  value 
) [protected, virtual]

The upper bound of a constraint (row) have to be given by an extended number of type Value, i.e. a finite number of type Value or INF.

Implements LpBase.

SkeletonSolverBase::Value _getRowUpperBound ( int  i) const [protected, virtual]

The upper bound of a constraint (row) is an extended number of type Value, i.e. a finite number of type Value or INF.

Implements LpBase.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines