2928
|
1 /* |
|
2 |
|
3 Copyright (C) 1996, 1997 John W. Eaton |
|
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 |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
2928
|
21 |
|
22 */ |
|
23 |
|
24 #ifdef HAVE_CONFIG_H |
|
25 #include <config.h> |
|
26 #endif |
|
27 |
|
28 #include "LPsolve.h" |
|
29 |
|
30 #include "defun-dld.h" |
|
31 #include "error.h" |
|
32 #include "oct-obj.h" |
|
33 |
4246
|
34 DEFUN_DLD (lpsolve, , , |
3458
|
35 "-*- texinfo -*-\n\ |
4246
|
36 @deftypefn {Loadable Function} {} lpsolve ()\n\ |
3458
|
37 Not implemented yet...\n\ |
|
38 @end deftypefn") |
2928
|
39 { |
|
40 octave_value_list retval; |
|
41 |
|
42 // Force a bad value of inform, and empty matrices for x and phi. |
|
43 |
|
44 Matrix m; |
|
45 retval(2) = -1.0; |
|
46 retval(1) = m; |
|
47 retval(0) = m; |
|
48 |
4246
|
49 error ("lpsolve: not implemented yet"); |
2928
|
50 |
|
51 return retval; |
|
52 } |
|
53 |
4246
|
54 DEFUN_DLD (lpsolve_options, , , |
3458
|
55 "-*- texinfo -*-\n\ |
4246
|
56 @deftypefn {Loadable Function} {} lpsolve_options ()\n\ |
3458
|
57 Not implemented yet...\n\ |
|
58 @end deftypefn") |
2928
|
59 { |
|
60 octave_value_list retval; |
|
61 |
4246
|
62 error ("lpsolve_options: not implemented yet"); |
2928
|
63 |
|
64 return retval; |
|
65 } |
|
66 |
|
67 /* |
|
68 ;;; Local Variables: *** |
|
69 ;;; mode: C++ *** |
|
70 ;;; End: *** |
|
71 */ |