2 * lemon/lp_skeleton.cc - Part of LEMON, a generic C++ optimization library
4 * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
7 * Permission to use, modify and distribute this software is granted
8 * provided that this copyright notice appears in all copies. For
9 * precise terms see the accompanying LICENSE file.
11 * This software is provided "AS IS" with no warranty of any kind,
12 * express or implied, and with no claim as to its suitability for any
17 #include <lemon/lp_skeleton.h>
20 ///\brief A skeleton file to implement LP solver interfaces
23 LpSolverBase &LpSkeleton::_newLp()
29 LpSolverBase &LpSkeleton::_copyLp()
35 int LpSkeleton::_addCol()
40 int LpSkeleton::_addRow()
45 void LpSkeleton::_eraseCol(int ) {
48 void LpSkeleton::_eraseRow(int) {
51 void LpSkeleton::_getColName(int, std::string &) {
55 void LpSkeleton::_setColName(int, const std::string &) {
59 void LpSkeleton::_setRowCoeffs(int,
66 void LpSkeleton::_setColCoeffs(int,
73 void LpSkeleton::_setCoeff(int, int, Value )
78 void LpSkeleton::_setColLowerBound(int, Value)
82 void LpSkeleton::_setColUpperBound(int, Value)
86 // void LpSkeleton::_setRowLowerBound(int, Value)
90 // void LpSkeleton::_setRowUpperBound(int, Value)
94 void LpSkeleton::_setRowBounds(int, Value, Value)
98 void LpSkeleton::_setObjCoeff(int, Value)
102 void LpSkeleton::_setMax()
106 void LpSkeleton::_setMin()
110 void LpSkeleton::_clearObj()
114 LpSkeleton::SolveExitStatus LpSkeleton::_solve()
119 LpSkeleton::Value LpSkeleton::_getPrimal(int)
124 LpSkeleton::Value LpSkeleton::_getDual(int)
129 LpSkeleton::Value LpSkeleton::_getPrimalValue()
134 LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
139 LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus()
144 LpSkeleton::ProblemTypes LpSkeleton::_getProblemType()
149 bool LpSkeleton::_isBasicCol(int)