Applied the changes which somehow vanished during my last merge. Thanks goes
to Marci for noticing this. In detail:
- added amsmath and amssymb latex packages for latex documentation
- src/demo is also scanned for doxygen input files
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 {
33 virtual int _addCol();
35 virtual int _addRow();
38 /// \warning Arrays are indexed from 1 (datum at index 0 is ignored)
40 virtual void _setRowCoeffs(int i,
43 Value const * values );
46 /// \warning Arrays are indexed from 1 (datum at index 0 is ignored)
48 virtual void _setColCoeffs(int i,
51 Value const * values );
55 /// The lower bound of a variable (column) have to be given by an
56 /// extended number of type Value, i.e. a finite number of type
57 /// Value or -\ref INF.
58 virtual void _setColLowerBound(int i, Value value);
61 /// The upper bound of a variable (column) have to be given by an
62 /// extended number of type Value, i.e. a finite number of type
63 /// Value or \ref INF.
64 virtual void _setColUpperBound(int i, Value value);
67 /// The lower bound of a linear expression (row) have to be given by an
68 /// extended number of type Value, i.e. a finite number of type
69 /// Value or -\ref INF.
70 virtual void _setRowLowerBound(int i, Value value);
73 /// The upper bound of a linear expression (row) have to be given by an
74 /// extended number of type Value, i.e. a finite number of type
75 /// Value or \ref INF.
76 virtual void _setRowUpperBound(int i, Value value);
79 virtual void _setObjCoeff(int i, Value obj_coef);
83 ///\bug Wrong interface
85 virtual SolveExitStatus _solve();
89 ///\bug Wrong interface
91 virtual Value _getPrimal(int i);
94 ///\bug Wrong interface
96 virtual SolutionStatus _getPrimalType();
99 LpSolverSkeleton() : LpSolverBase(), col_num(0), row_num(0) {}
104 #endif // LEMON_LP_SOLVER_SKELETON