An additional simplier interface for static size graphs.
Node operator()(int) for getting node by index
int index(Node node) for getting index by node
3 * This file is a part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
19 #include <lemon/lp_skeleton.h>
22 ///\brief A skeleton file to implement LP solver interfaces
25 LpSolverBase &LpSkeleton::_newLp()
31 LpSolverBase &LpSkeleton::_copyLp()
37 int LpSkeleton::_addCol()
42 int LpSkeleton::_addRow()
47 void LpSkeleton::_eraseCol(int ) {
50 void LpSkeleton::_eraseRow(int) {
53 void LpSkeleton::_getColName(int, std::string &) {
57 void LpSkeleton::_setColName(int, const std::string &) {
61 void LpSkeleton::_setRowCoeffs(int,
68 void LpSkeleton::_setColCoeffs(int,
75 void LpSkeleton::_setCoeff(int, int, Value )
80 void LpSkeleton::_setColLowerBound(int, Value)
84 void LpSkeleton::_setColUpperBound(int, Value)
88 // void LpSkeleton::_setRowLowerBound(int, Value)
92 // void LpSkeleton::_setRowUpperBound(int, Value)
96 void LpSkeleton::_setRowBounds(int, Value, Value)
100 void LpSkeleton::_setObjCoeff(int, Value)
104 void LpSkeleton::_setMax()
108 void LpSkeleton::_setMin()
112 void LpSkeleton::_clearObj()
116 LpSkeleton::SolveExitStatus LpSkeleton::_solve()
121 LpSkeleton::Value LpSkeleton::_getPrimal(int)
126 LpSkeleton::Value LpSkeleton::_getDual(int)
131 LpSkeleton::Value LpSkeleton::_getPrimalValue()
136 LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
141 LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus()
146 LpSkeleton::ProblemTypes LpSkeleton::_getProblemType()
151 bool LpSkeleton::_isBasicCol(int)