COIN-OR::LEMON - Graph Library

Changeset 2328:b4931ae52069 in lemon-0.x for lemon/lp_skeleton.h


Ignore:
Timestamp:
12/07/06 17:10:54 (17 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3104
Message:

Query functions have been implemented for GLPK (CPLEX breaks at the moment, I guess): These functions include:
retrieving one element of the coeff. matrix
retrieving one element of the obj function
lower bd for a variable
upper bound for a variable
lower and upper bounds for a row (these can not be handled separately at the moment)
direction of the optimization (is_max() function)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_skeleton.h

    r2324 r2328  
    6565    /// \e
    6666
     67    /// The lower bound of a variable (column) is an
     68    /// extended number of type Value, i.e. a finite number of type
     69    /// Value or -\ref INF.
     70    virtual Value _getColLowerBound(int i);
     71
    6772    /// The upper bound of a variable (column) have to be given by an
    6873    /// extended number of type Value, i.e. a finite number of type
     
    7075    virtual void _setColUpperBound(int i, Value value);
    7176    /// \e
     77
     78    /// The upper bound of a variable (column) is an
     79    /// extended number of type Value, i.e. a finite number of type
     80    /// Value or \ref INF.
     81    virtual Value _getColUpperBound(int i);
    7282
    7383//     /// The lower bound of a linear expression (row) have to be given by an
     
    8797    /// Value or +/-\ref INF.
    8898    virtual void _setRowBounds(int i, Value lb, Value ub);
     99    /// \e
     100
     101
     102    /// The lower and the upper bound of
     103    /// a constraint (row) are 
     104    /// extended numbers of type Value, i.e.  finite numbers of type
     105    /// Value, -\ref INF or \ref INF.
     106    virtual void _getRowBounds(int i, Value &lb, Value &ub);
    89107    /// \e
    90108
Note: See TracChangeset for help on using the changeset viewer.