COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon/lp_skeleton.cc @ 1795:ed3c253b9c29

Last change on this file since 1795:ed3c253b9c29 was 1460:7c58aabb9eea, checked in by athos, 19 years ago

I could not check, because: aclocal-1.7: command not found

File size: 2.3 KB
RevLine 
[1254]1/* -*- C++ -*-
[1435]2 * lemon/lp_skeleton.cc - Part of LEMON, a generic C++ optimization library
[1254]3 *
4 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
[1359]5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
[1254]6 *
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.
10 *
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
13 * purpose.
14 *
15 */
16
[1313]17#include <lemon/lp_skeleton.h>
[1254]18
19///\file
20///\brief A skeleton file to implement LP solver interfaces
21namespace lemon {
22 
[1364]23  LpSolverBase &LpSkeleton::_newLp()
24  {
[1368]25    LpSolverBase *tmp=0;
26    return *tmp;
[1364]27  }
28 
29  LpSolverBase &LpSkeleton::_copyLp()
30  {
[1368]31    LpSolverBase *tmp=0;
32    return *tmp;
[1364]33  }
34
[1313]35  int LpSkeleton::_addCol()
[1254]36  {
[1273]37    return ++col_num;
[1254]38  }
39 
[1313]40  int LpSkeleton::_addRow()
[1254]41  {
[1273]42    return ++row_num;
[1254]43  }
44 
[1432]45  void LpSkeleton::_eraseCol(int ) {
46  }
47 
48  void LpSkeleton::_eraseRow(int) {
49  }
50
[1362]51  void LpSkeleton::_setRowCoeffs(int,
52                                 int,
53                                 int  const *,
54                                 Value  const *)
[1254]55  {
56  }
57 
[1362]58  void LpSkeleton::_setColCoeffs(int,
59                                 int,
60                                 int  const *,
61                                 Value  const *)
[1254]62  {
63  }
[1431]64
65  void LpSkeleton::_setCoeff(int, int, Value )
66  {
67  }
68
69
[1362]70  void LpSkeleton::_setColLowerBound(int, Value)
[1254]71  {
72  }
73 
[1362]74  void LpSkeleton::_setColUpperBound(int, Value)
[1254]75  {
76  }
77 
[1405]78//   void LpSkeleton::_setRowLowerBound(int, Value)
79//   {
80//   }
[1254]81 
[1405]82//   void LpSkeleton::_setRowUpperBound(int, Value)
83//   {
84//   }
[1389]85
[1390]86  void LpSkeleton::_setRowBounds(int, Value, Value)
[1389]87  {
88  }
[1254]89 
[1362]90  void LpSkeleton::_setObjCoeff(int, Value)
[1254]91  {
92  }
[1263]93
[1313]94  void LpSkeleton::_setMax()
[1312]95  {
96  }
[1390]97
[1313]98  void LpSkeleton::_setMin()
[1312]99  {
100  }
101
[1390]102  void LpSkeleton::_clearObj()
103  {
104  }
105 
[1313]106  LpSkeleton::SolveExitStatus LpSkeleton::_solve()
[1263]107  {
[1293]108    return SOLVED;
[1263]109  }
110
[1362]111  LpSkeleton::Value LpSkeleton::_getPrimal(int)
[1263]112  {
113    return 0;
114  }
[1254]115 
[1313]116  LpSkeleton::Value LpSkeleton::_getPrimalValue()
[1312]117  {
118    return 0;
119  }
120 
[1313]121  LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
[1294]122  {
[1460]123    return UNDEFINED;
124  }
125
126  LpSkeleton::SolutionStatus LpSkeleton::_getDualStatus()
127  {
128    return UNDEFINED;
129  }
130
131  LpSkeleton::ProblemTypes LpSkeleton::_getProblemType()
132  {
133    return UNKNOWN;
[1294]134  }
135 
[1254]136} //namespace lemon
137
Note: See TracBrowser for help on using the repository browser.