src/lemon/lp_skeleton.cc
author alpar
Fri, 15 Apr 2005 21:15:30 +0000
changeset 1362 b4330c52caeb
parent 1359 1581f961cfaa
child 1364 ee5959aa4410
permissions -rw-r--r--
- Adding new lp_demo.cc finished
- Several 'unused variable' warnings fixed in 'lp_skeleton.cc'
     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   int LpSkeleton::_addCol()
    25   {
    26     return ++col_num;
    27   }
    28   
    29   int LpSkeleton::_addRow() 
    30   {
    31     return ++row_num;
    32   }
    33   
    34   void LpSkeleton::_setRowCoeffs(int, 
    35 				 int,
    36 				 int  const *, 
    37 				 Value  const *)
    38   {
    39   }
    40   
    41   void LpSkeleton::_setColCoeffs(int, 
    42 				 int,
    43 				 int  const *, 
    44 				 Value  const *)
    45   {
    46   }
    47   
    48   void LpSkeleton::_setColLowerBound(int, Value)
    49   {
    50   }
    51   
    52   void LpSkeleton::_setColUpperBound(int, Value)
    53   {
    54   }
    55   
    56   void LpSkeleton::_setRowLowerBound(int, Value)
    57   {
    58   }
    59   
    60   void LpSkeleton::_setRowUpperBound(int, Value)
    61   {
    62   }
    63   
    64   void LpSkeleton::_setObjCoeff(int, Value)
    65   {
    66   }
    67 
    68   void LpSkeleton::_setMax()
    69   {
    70   }
    71   void LpSkeleton::_setMin()
    72   {
    73   }
    74 
    75   LpSkeleton::SolveExitStatus LpSkeleton::_solve()
    76   {
    77     return SOLVED;
    78   }
    79 
    80   LpSkeleton::Value LpSkeleton::_getPrimal(int)
    81   {
    82     return 0;
    83   }
    84   
    85   LpSkeleton::Value LpSkeleton::_getPrimalValue()
    86   {
    87     return 0;
    88   }
    89   
    90   LpSkeleton::SolutionStatus LpSkeleton::_getPrimalStatus()
    91   {
    92     return OPTIMAL;
    93   }
    94   
    95 } //namespace lemon
    96