1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/lemon/lp_skeleton.cc Thu Apr 07 06:38:56 2005 +0000
1.3 @@ -0,0 +1,96 @@
1.4 +/* -*- C++ -*-
1.5 + * src/lemon/lp_skeleton.cc
1.6 + * - Part of LEMON, a generic C++ optimization library
1.7 + *
1.8 + * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.9 + * (Egervary Combinatorial Optimization Research Group, EGRES).
1.10 + *
1.11 + * Permission to use, modify and distribute this software is granted
1.12 + * provided that this copyright notice appears in all copies. For
1.13 + * precise terms see the accompanying LICENSE file.
1.14 + *
1.15 + * This software is provided "AS IS" with no warranty of any kind,
1.16 + * express or implied, and with no claim as to its suitability for any
1.17 + * purpose.
1.18 + *
1.19 + */
1.20 +
1.21 +#include <lemon/lp_skeleton.h>
1.22 +
1.23 +///\file
1.24 +///\brief A skeleton file to implement LP solver interfaces
1.25 +namespace lemon {
1.26 +
1.27 + int LpSkeleton::_addCol()
1.28 + {
1.29 + return ++col_num;
1.30 + }
1.31 +
1.32 + int LpSkeleton::_addRow()
1.33 + {
1.34 + return ++row_num;
1.35 + }
1.36 +
1.37 + void LpSkeleton::_setRowCoeffs(int i,
1.38 + int length,
1.39 + int const * indices,
1.40 + Value const * values )
1.41 + {
1.42 + }
1.43 +
1.44 + void LpSkeleton::_setColCoeffs(int i,
1.45 + int length,
1.46 + int const * indices,
1.47 + Value const * values)
1.48 + {
1.49 + }
1.50 +
1.51 + void LpSkeleton::_setColLowerBound(int i, Value value)
1.52 + {
1.53 + }
1.54 +
1.55 + void LpSkeleton::_setColUpperBound(int i, Value value)
1.56 + {
1.57 + }
1.58 +
1.59 + void LpSkeleton::_setRowLowerBound(int i, Value value)
1.60 + {
1.61 + }
1.62 +
1.63 + void LpSkeleton::_setRowUpperBound(int i, Value value)
1.64 + {
1.65 + }
1.66 +
1.67 + void LpSkeleton::_setObjCoeff(int i, Value obj_coef)
1.68 + {
1.69 + }
1.70 +
1.71 + void LpSkeleton::_setMax()
1.72 + {
1.73 + }
1.74 + void LpSkeleton::_setMin()
1.75 + {
1.76 + }
1.77 +
1.78 + LpSkeleton::SolveExitStatus LpSkeleton::_solve()
1.79 + {
1.80 + return SOLVED;
1.81 + }
1.82 +
1.83 + LpSkeleton::Value LpSkeleton::_getPrimal(int i)
1.84 + {
1.85 + return 0;
1.86 + }
1.87 +
1.88 + LpSkeleton::Value LpSkeleton::_getPrimalValue()
1.89 + {
1.90 + return 0;
1.91 + }
1.92 +
1.93 + LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
1.94 + {
1.95 + return OPTIMAL;
1.96 + }
1.97 +
1.98 +} //namespace lemon
1.99 +