COIN-OR::LEMON - Graph Library

Changeset 1291:16cde3e1aa9f in lemon-0.x for src/work/athos/lp/lp_base.h


Ignore:
Timestamp:
04/01/05 15:42:58 (19 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1724
Message:

Conceptions and bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/athos/lp/lp_base.h

    r1279 r1291  
    106106
    107107    ///\e
     108    enum SolutionXXXType {
     109      ///\e
     110      INFEASIBLE = 0,
     111      ///\e
     112      UNBOUNDED = 1,
     113      ///\e
     114      OPTIMAL = 2,
     115      ///\e
     116      FEASIBLE = 3
     117    };
     118     
     119    ///\e
    108120    enum SolutionType {
    109121      ///\e
    110122      INFEASIBLE = 0,
    111123      ///\e
    112       UNBOUNDED = 1,
     124      UNDEFINED = 1,
    113125      ///\e
    114126      OPTIMAL = 2,
    115127      ///\e
    116       FEASIBLE = 3,
     128      FEASIBLE = 3
    117129    };
    118130     
     
    407419    ///\bug Wrong interface
    408420    ///
    409     virtual SolutionType _solve() = 0;
     421    virtual SolutionXXXType _solve() = 0;
    410422
    411423    ///\e
     
    567579    /// extended number of type Value, i.e. a finite number of type
    568580    /// Value or -\ref INF.
    569     virtual void setColLowerBound(Col c, Value value) {
     581    void setColLowerBound(Col c, Value value) {
    570582      _setColLowerBound(cols.floatingId(c.id),value);
    571583    }
     
    575587    /// extended number of type Value, i.e. a finite number of type
    576588    /// Value or \ref INF.
    577     virtual void setColUpperBound(Col c, Value value) {
     589    void setColUpperBound(Col c, Value value) {
    578590      _setColUpperBound(cols.floatingId(c.id),value);
    579591    };
     
    583595    /// extended number of type Value, i.e. a finite number of type
    584596    /// Value or -\ref INF.
    585     virtual void setRowLowerBound(Row r, Value value) {
     597    void setRowLowerBound(Row r, Value value) {
    586598      _setRowLowerBound(rows.floatingId(r.id),value);
    587599    };
     
    591603    /// extended number of type Value, i.e. a finite number of type
    592604    /// Value or \ref INF.
    593     virtual void setRowUpperBound(Row r, Value value) {
     605    void setRowUpperBound(Row r, Value value) {
    594606      _setRowUpperBound(rows.floatingId(r.id),value);
    595607    };
Note: See TracChangeset for help on using the changeset viewer.