COIN-OR::LEMON - Graph Library

Changeset 1405:3626c7f10f14 in lemon-0.x for src/lemon/lp_base.h


Ignore:
Timestamp:
05/05/05 17:43:43 (19 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1867
Message:

Deleted _setRowLowerBound() and _setRowUpperBound() functions. Cplex worked (now it does not because of _getPrimalStatus()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/lp_base.h

    r1397 r1405  
    432432    virtual void _setColLowerBound(int i, Value value) = 0;
    433433    virtual void _setColUpperBound(int i, Value value) = 0;
    434     virtual void _setRowLowerBound(int i, Value value) = 0;
    435     virtual void _setRowUpperBound(int i, Value value) = 0;
     434//     virtual void _setRowLowerBound(int i, Value value) = 0;
     435//     virtual void _setRowUpperBound(int i, Value value) = 0;
    436436    virtual void _setRowBounds(int i, Value lower, Value upper) = 0;
    437437    virtual void _setObjCoeff(int i, Value obj_coef) = 0;
     
    568568      _setRowCoeffs(rows.floatingId(r.id),indices.size()-1,
    569569                    &indices[0],&values[0]);
    570       _setRowLowerBound(rows.floatingId(r.id),l-e.constComp());
    571       _setRowUpperBound(rows.floatingId(r.id),u-e.constComp());
     570//       _setRowLowerBound(rows.floatingId(r.id),l-e.constComp());
     571//       _setRowUpperBound(rows.floatingId(r.id),u-e.constComp());
     572       _setRowBounds(rows.floatingId(r.id),l-e.constComp(),u-e.constComp());
    572573    }
    573574
     
    634635    }
    635636   
    636     /// Set the lower bound of a row (i.e a constraint)
    637 
    638     /// The lower bound of a linear expression (row) has to be given by an
    639     /// extended number of type Value, i.e. a finite number of type
    640     /// Value or -\ref INF.
    641     void rowLowerBound(Row r, Value value) {
    642       _setRowLowerBound(rows.floatingId(r.id),value);
    643     };
    644     /// Set the upper bound of a row (i.e a constraint)
    645 
    646     /// The upper bound of a linear expression (row) has to be given by an
    647     /// extended number of type Value, i.e. a finite number of type
    648     /// Value or \ref INF.
    649     void rowUpperBound(Row r, Value value) {
    650       _setRowUpperBound(rows.floatingId(r.id),value);
    651     };
    652     /// Set the lower and the upper bounds of a row (i.e a variable)
     637//     /// Set the lower bound of a row (i.e a constraint)
     638
     639//     /// The lower bound of a linear expression (row) has to be given by an
     640//     /// extended number of type Value, i.e. a finite number of type
     641//     /// Value or -\ref INF.
     642//     void rowLowerBound(Row r, Value value) {
     643//       _setRowLowerBound(rows.floatingId(r.id),value);
     644//     };
     645//     /// Set the upper bound of a row (i.e a constraint)
     646
     647//     /// The upper bound of a linear expression (row) has to be given by an
     648//     /// extended number of type Value, i.e. a finite number of type
     649//     /// Value or \ref INF.
     650//     void rowUpperBound(Row r, Value value) {
     651//       _setRowUpperBound(rows.floatingId(r.id),value);
     652//     };
     653
     654    /// Set the lower and the upper bounds of a row (i.e a constraint)
    653655
    654656    /// The lower and the upper bounds of
Note: See TracChangeset for help on using the changeset viewer.