COIN-OR::LEMON - Graph Library

Changeset 2328:b4931ae52069 in lemon-0.x for lemon/lp_glpk.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_glpk.h

    r2324 r2328  
    6464
    6565    virtual void _setColLowerBound(int i, Value value);
     66    virtual Value _getColLowerBound(int i);
    6667    virtual void _setColUpperBound(int i, Value value);
     68    virtual Value _getColUpperBound(int i);
     69
    6770//     virtual void _setRowLowerBound(int i, Value value);
    6871//     virtual void _setRowUpperBound(int i, Value value);
    6972    virtual void _setRowBounds(int i, Value lower, Value upper);
     73    virtual void _getRowBounds(int i, Value &lb, Value &ub);
    7074    virtual void _setObjCoeff(int i, Value obj_coef);
    7175    virtual Value _getObjCoeff(int i);
Note: See TracChangeset for help on using the changeset viewer.