COIN-OR::LEMON - Graph Library

Changeset 2363:2aabce558574 in lemon-0.x for lemon/lp_soplex.h


Ignore:
Timestamp:
02/15/07 15:22:08 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3174
Message:

Changes on the LP interface

_FixId => LpId?

  • handling of not common ids soplex

LpGlpk? row and col erase bug fix

  • calling lpx_std_basis before simplex

LpSoplex?

  • added getter functions
  • better m4 file
  • integration to the tests
  • better handling of unsolved lps
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_soplex.h

    r2313 r2363  
    4141  protected:
    4242
     43    _lp_bits::RelocateIdHandler relocateIdHandler;
     44
    4345    soplex::SoPlex* soplex;
     46    bool solved;
    4447
    4548    std::vector<std::string> colNames;
    4649
    47     std::vector<Value> primal;
    48     std::vector<Value> dual;
     50    std::vector<Value> primal_value;
     51    std::vector<Value> dual_value;
    4952
    5053
     
    6871    virtual void _eraseCol(int i);
    6972    virtual void _eraseRow(int i);
    70     virtual void _getColName(int col,       std::string & name);
     73    virtual void _getColName(int col, std::string & name);
    7174    virtual void _setColName(int col, const std::string & name);
    7275    virtual void _setRowCoeffs(int i, LpRowIterator b, LpRowIterator e);
    7376    virtual void _setColCoeffs(int i, LpColIterator b, LpColIterator e);
    7477    virtual void _setCoeff(int row, int col, Value value);
     78    virtual Value _getCoeff(int row, int col);
    7579    virtual void _setColLowerBound(int i, Value value);
     80    virtual Value _getColLowerBound(int i);
    7681    virtual void _setColUpperBound(int i, Value value);
     82    virtual Value _getColUpperBound(int i);
    7783    virtual void _setRowBounds(int i, Value lower, Value upper);
     84    virtual void _getRowBounds(int i, Value &lower, Value &upper);
    7885    virtual void _setObjCoeff(int i, Value obj_coef);
     86    virtual Value _getObjCoeff(int i);
    7987    virtual void _clearObj();
    8088   
     
    92100    virtual void _setMax();
    93101    virtual void _setMin();
     102    virtual bool _isMax();
    94103
    95104  };
Note: See TracChangeset for help on using the changeset viewer.