3
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
3
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
3
|
20 |
|
21 */ |
|
22 |
382
|
23 #if !defined (octave_LPsolve_h) |
|
24 #define octave_LPsolve_h 1 |
|
25 |
465
|
26 class ColumnVector; |
|
27 |
3
|
28 #include "LP.h" |
|
29 |
1867
|
30 class |
4062
|
31 LPsolve : public octave_LP |
3
|
32 { |
1867
|
33 public: |
3
|
34 |
1836
|
35 LPsolve (void) |
4062
|
36 : octave_LP () { } |
3
|
37 |
1836
|
38 LPsolve (const ColumnVector& c) |
4062
|
39 : octave_LP (c) { } |
3
|
40 |
1836
|
41 LPsolve (const ColumnVector& c, const Bounds& b) |
4062
|
42 : octave_LP (c, b) { } |
3
|
43 |
1528
|
44 LPsolve (const ColumnVector& c, const Bounds& b, const LinConst& lc) |
4062
|
45 : octave_LP (c, b, lc) { } |
1836
|
46 |
|
47 LPsolve (const ColumnVector& c, const LinConst& lc) |
4062
|
48 : octave_LP (c, lc) { } |
1836
|
49 |
|
50 LPsolve (const LPsolve& a) |
4062
|
51 : octave_LP (a) { } |
3
|
52 |
1836
|
53 LPsolve& operator = (const LPsolve& a) |
|
54 { |
|
55 if (this != &a) |
4062
|
56 octave_LP::operator = (a); |
1867
|
57 |
1836
|
58 return *this; |
|
59 } |
|
60 |
|
61 ~LPsolve (void) { } |
3
|
62 |
1528
|
63 ColumnVector do_minimize (double& objf, int& inform, ColumnVector& lambda); |
3
|
64 }; |
|
65 |
|
66 #endif |
|
67 |
|
68 /* |
|
69 ;;; Local Variables: *** |
|
70 ;;; mode: C++ *** |
|
71 ;;; End: *** |
|
72 */ |