| 1 | /* -*- C++ -*- |
|---|
| 2 | * src/lemon/lp_skeleton.cc |
|---|
| 3 | * - Part of LEMON, a generic C++ optimization library |
|---|
| 4 | * |
|---|
| 5 | * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
|---|
| 6 | * (Egervary Research Group on Combinatorial Optimization, EGRES). |
|---|
| 7 | * |
|---|
| 8 | * Permission to use, modify and distribute this software is granted |
|---|
| 9 | * provided that this copyright notice appears in all copies. For |
|---|
| 10 | * precise terms see the accompanying LICENSE file. |
|---|
| 11 | * |
|---|
| 12 | * This software is provided "AS IS" with no warranty of any kind, |
|---|
| 13 | * express or implied, and with no claim as to its suitability for any |
|---|
| 14 | * purpose. |
|---|
| 15 | * |
|---|
| 16 | */ |
|---|
| 17 | |
|---|
| 18 | #include <lemon/lp_skeleton.h> |
|---|
| 19 | |
|---|
| 20 | ///\file |
|---|
| 21 | ///\brief A skeleton file to implement LP solver interfaces |
|---|
| 22 | namespace lemon { |
|---|
| 23 | |
|---|
| 24 | LpSolverBase &LpSkeleton::_newLp() |
|---|
| 25 | { |
|---|
| 26 | return *((LpSolverBase *)0); |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | LpSolverBase &LpSkeleton::_copyLp() |
|---|
| 30 | { |
|---|
| 31 | return *((LpSolverBase *)0); |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | int LpSkeleton::_addCol() |
|---|
| 35 | { |
|---|
| 36 | return ++col_num; |
|---|
| 37 | } |
|---|
| 38 | |
|---|
| 39 | int LpSkeleton::_addRow() |
|---|
| 40 | { |
|---|
| 41 | return ++row_num; |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | void LpSkeleton::_setRowCoeffs(int, |
|---|
| 45 | int, |
|---|
| 46 | int const *, |
|---|
| 47 | Value const *) |
|---|
| 48 | { |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| 51 | void LpSkeleton::_setColCoeffs(int, |
|---|
| 52 | int, |
|---|
| 53 | int const *, |
|---|
| 54 | Value const *) |
|---|
| 55 | { |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | void LpSkeleton::_setColLowerBound(int, Value) |
|---|
| 59 | { |
|---|
| 60 | } |
|---|
| 61 | |
|---|
| 62 | void LpSkeleton::_setColUpperBound(int, Value) |
|---|
| 63 | { |
|---|
| 64 | } |
|---|
| 65 | |
|---|
| 66 | void LpSkeleton::_setRowLowerBound(int, Value) |
|---|
| 67 | { |
|---|
| 68 | } |
|---|
| 69 | |
|---|
| 70 | void LpSkeleton::_setRowUpperBound(int, Value) |
|---|
| 71 | { |
|---|
| 72 | } |
|---|
| 73 | |
|---|
| 74 | void LpSkeleton::_setObjCoeff(int, Value) |
|---|
| 75 | { |
|---|
| 76 | } |
|---|
| 77 | |
|---|
| 78 | void LpSkeleton::_setMax() |
|---|
| 79 | { |
|---|
| 80 | } |
|---|
| 81 | void LpSkeleton::_setMin() |
|---|
| 82 | { |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | LpSkeleton::SolveExitStatus LpSkeleton::_solve() |
|---|
| 86 | { |
|---|
| 87 | return SOLVED; |
|---|
| 88 | } |
|---|
| 89 | |
|---|
| 90 | LpSkeleton::Value LpSkeleton::_getPrimal(int) |
|---|
| 91 | { |
|---|
| 92 | return 0; |
|---|
| 93 | } |
|---|
| 94 | |
|---|
| 95 | LpSkeleton::Value LpSkeleton::_getPrimalValue() |
|---|
| 96 | { |
|---|
| 97 | return 0; |
|---|
| 98 | } |
|---|
| 99 | |
|---|
| 100 | LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus() |
|---|
| 101 | { |
|---|
| 102 | return OPTIMAL; |
|---|
| 103 | } |
|---|
| 104 | |
|---|
| 105 | } //namespace lemon |
|---|
| 106 | |
|---|