COIN-OR::LEMON - Graph Library

Changeset 2368:6b2e8b734ae7 in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
02/19/07 13:11:41 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3183
Message:

Bug fixes
Documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r2366 r2368  
    10611061      _setColName(_lpId(c), name);
    10621062    }
     1063
     1064    /// Get the column by its name
     1065   
     1066    ///\param name The name of the column
     1067    ///\return the proper column or \c INVALID
     1068    Col colByName(const std::string& name) const {
     1069      int k = _colByName(name);
     1070      return k != -1 ? Col(cols.fixId(k)) : Col(INVALID);
     1071    }
    10631072   
    10641073    /// Set an element of the coefficient matrix of the LP
Note: See TracChangeset for help on using the changeset viewer.