2 * src/lemon/lp_solver_skeleton.h
3 * - Part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
6 * (Egervary Combinatorial Optimization Research Group, EGRES).
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.
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
18 #ifndef LEMON_LP_SOLVER_SKELETON
19 #define LEMON_LP_SOLVER_SKELETON
24 ///\brief A skeleton file to implement LP solver interfaces
27 ///A skeleton class to implement LP solver interfaces
28 class LpSolverSkeleton :public LpSolverBase {
31 virtual int _addCol();
32 virtual int _addRow();
33 virtual void _setRowCoeffs(int i,
36 Value const * values );
37 virtual void _setColCoeffs(int i,
40 Value const * values);
41 virtual void _setColLowerBound(int i, Value value);
42 virtual void _setColUpperBound(int i, Value value);
43 virtual void _setRowLowerBound(int i, Value value);
44 virtual void _setRowUpperBound(int i, Value value);
45 virtual void _setObjCoeff(int i, Value obj_coef);
50 #endif // LEMON_LP_SOLVER_SKELETON