COIN-OR::LEMON - Graph Library

Changeset 2366:bfbdded3763a in lemon-0.x for lemon/lp_skeleton.cc


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

Using const in lp interface
colByName functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_skeleton.cc

    r2364 r2366  
    5151  }
    5252
    53   void LpSkeleton::_getColName(int, std::string &) {
     53  void LpSkeleton::_getColName(int, std::string &) const {
    5454  }
    5555 
     
    5757  void LpSkeleton::_setColName(int, const std::string &) {
    5858  }
     59
     60  int LpSkeleton::_colByName(const std::string&) const { return -1; }
    5961 
    6062 
     
    6264  }
    6365
    64   void LpSkeleton::_getRowCoeffs(int, RowIterator) {
     66  void LpSkeleton::_getRowCoeffs(int, RowIterator) const {
    6567  }
    6668 
     
    6870  }
    6971
    70   void LpSkeleton::_getColCoeffs(int, ColIterator) {
     72  void LpSkeleton::_getColCoeffs(int, ColIterator) const {
    7173  }
    7274
     
    7577  }
    7678
    77   LpSkeleton::Value LpSkeleton::_getCoeff(int, int)
     79  LpSkeleton::Value LpSkeleton::_getCoeff(int, int) const
    7880  {
    7981    return 0;
     
    8587  }
    8688 
    87   LpSkeleton::Value LpSkeleton::_getColLowerBound(int)
     89  LpSkeleton::Value LpSkeleton::_getColLowerBound(int) const
    8890  {
    8991    return 0;
     
    9496  }
    9597
    96   LpSkeleton::Value LpSkeleton::_getColUpperBound(int)
     98  LpSkeleton::Value LpSkeleton::_getColUpperBound(int) const
    9799  {
    98100    return 0;
     
    111113  }
    112114
    113   void LpSkeleton::_getRowBounds(int, Value&, Value&)
     115  void LpSkeleton::_getRowBounds(int, Value&, Value&) const
    114116  {
    115117  }
     
    119121  }
    120122
    121   LpSkeleton::Value LpSkeleton::_getObjCoeff(int){
     123  LpSkeleton::Value LpSkeleton::_getObjCoeff(int) const
     124  {
    122125    return 0;
    123126  }
     
    131134  }
    132135
    133   bool LpSkeleton::_isMax()
     136  bool LpSkeleton::_isMax() const
    134137  {
    135138    return true;
     
    146149  }
    147150
    148   LpSkeleton::Value LpSkeleton::_getPrimal(int)
     151  LpSkeleton::Value LpSkeleton::_getPrimal(int) const
    149152  {
    150153    return 0;
    151154  }
    152155 
    153   LpSkeleton::Value LpSkeleton::_getDual(int)
     156  LpSkeleton::Value LpSkeleton::_getDual(int) const
    154157  {
    155158    return 0;
    156159  }
    157160 
    158   LpSkeleton::Value LpSkeleton::_getPrimalValue()
     161  LpSkeleton::Value LpSkeleton::_getPrimalValue() const
    159162  {
    160163    return 0;
    161164  }
    162165 
    163   LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
     166  LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus() const
    164167  {
    165168    return UNDEFINED;
    166169  }
    167170
    168   LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus()
     171  LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus() const
    169172  {
    170173    return UNDEFINED;
    171174  }
    172175
    173   LpSkeleton::ProblemTypes LpSkeleton::_getProblemType()
     176  LpSkeleton::ProblemTypes LpSkeleton::_getProblemType() const
    174177  {
    175178    return UNKNOWN;
    176179  }
    177180
    178   bool LpSkeleton::_isBasicCol(int)
     181  bool LpSkeleton::_isBasicCol(int) const
    179182  {
    180183    return true;
Note: See TracChangeset for help on using the changeset viewer.