diff -r 751a14b992f2 -r bfbdded3763a lemon/lp_skeleton.cc --- a/lemon/lp_skeleton.cc Fri Feb 16 15:57:48 2007 +0000 +++ b/lemon/lp_skeleton.cc Fri Feb 16 19:11:31 2007 +0000 @@ -50,31 +50,33 @@ void LpSkeleton::_eraseRow(int) { } - void LpSkeleton::_getColName(int, std::string &) { + void LpSkeleton::_getColName(int, std::string &) const { } void LpSkeleton::_setColName(int, const std::string &) { } + + int LpSkeleton::_colByName(const std::string&) const { return -1; } void LpSkeleton::_setRowCoeffs(int, ConstRowIterator, ConstRowIterator) { } - void LpSkeleton::_getRowCoeffs(int, RowIterator) { + void LpSkeleton::_getRowCoeffs(int, RowIterator) const { } void LpSkeleton::_setColCoeffs(int, ConstColIterator, ConstColIterator) { } - void LpSkeleton::_getColCoeffs(int, ColIterator) { + void LpSkeleton::_getColCoeffs(int, ColIterator) const { } void LpSkeleton::_setCoeff(int, int, Value ) { } - LpSkeleton::Value LpSkeleton::_getCoeff(int, int) + LpSkeleton::Value LpSkeleton::_getCoeff(int, int) const { return 0; } @@ -84,7 +86,7 @@ { } - LpSkeleton::Value LpSkeleton::_getColLowerBound(int) + LpSkeleton::Value LpSkeleton::_getColLowerBound(int) const { return 0; } @@ -93,7 +95,7 @@ { } - LpSkeleton::Value LpSkeleton::_getColUpperBound(int) + LpSkeleton::Value LpSkeleton::_getColUpperBound(int) const { return 0; } @@ -110,7 +112,7 @@ { } - void LpSkeleton::_getRowBounds(int, Value&, Value&) + void LpSkeleton::_getRowBounds(int, Value&, Value&) const { } @@ -118,7 +120,8 @@ { } - LpSkeleton::Value LpSkeleton::_getObjCoeff(int){ + LpSkeleton::Value LpSkeleton::_getObjCoeff(int) const + { return 0; } @@ -130,7 +133,7 @@ { } - bool LpSkeleton::_isMax() + bool LpSkeleton::_isMax() const { return true; } @@ -145,37 +148,37 @@ return SOLVED; } - LpSkeleton::Value LpSkeleton::_getPrimal(int) + LpSkeleton::Value LpSkeleton::_getPrimal(int) const { return 0; } - LpSkeleton::Value LpSkeleton::_getDual(int) + LpSkeleton::Value LpSkeleton::_getDual(int) const { return 0; } - LpSkeleton::Value LpSkeleton::_getPrimalValue() + LpSkeleton::Value LpSkeleton::_getPrimalValue() const { return 0; } - LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus() + LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus() const { return UNDEFINED; } - LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus() + LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus() const { return UNDEFINED; } - LpSkeleton::ProblemTypes LpSkeleton::_getProblemType() + LpSkeleton::ProblemTypes LpSkeleton::_getProblemType() const { return UNKNOWN; } - bool LpSkeleton::_isBasicCol(int) + bool LpSkeleton::_isBasicCol(int) const { return true; }