Changeset 2368:6b2e8b734ae7 in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 02/19/07 13:11:41 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3183
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r2366 r2368 1061 1061 _setColName(_lpId(c), name); 1062 1062 } 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 } 1063 1072 1064 1073 /// Set an element of the coefficient matrix of the LP
Note: See TracChangeset
for help on using the changeset viewer.