1
|
1 /* |
|
2 |
1884
|
3 Copyright (C) 1996 John W. Eaton |
1
|
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. |
1
|
20 |
|
21 */ |
|
22 |
240
|
23 #ifdef HAVE_CONFIG_H |
1192
|
24 #include <config.h> |
1
|
25 #endif |
|
26 |
|
27 #include "LPsolve.h" |
|
28 |
1352
|
29 #include "defun-dld.h" |
1
|
30 #include "error.h" |
544
|
31 #include "help.h" |
1740
|
32 #include "oct-obj.h" |
1
|
33 |
1957
|
34 DEFUN_DLD_BUILTIN (lp_solve, , , |
519
|
35 "lp_solve (): solve linear programs using lp_solve.") |
272
|
36 { |
2086
|
37 octave_value_list retval; |
1
|
38 |
1357
|
39 // Force a bad value of inform, and empty matrices for x and phi. |
|
40 |
519
|
41 Matrix m; |
|
42 retval(2) = -1.0; |
|
43 retval(1) = m; |
|
44 retval(0) = m; |
1
|
45 |
913
|
46 error ("lp_solve: not implemented yet"); |
519
|
47 |
1
|
48 return retval; |
|
49 } |
|
50 |
1957
|
51 DEFUN_DLD_BUILTIN (lp_solve_options, , , |
519
|
52 "lp_solve_options (KEYWORD, VALUE)\n\ |
|
53 \n\ |
|
54 Set or show options for lp_solve. Keywords may be abbreviated\n\ |
|
55 to the shortest match.") |
272
|
56 { |
2086
|
57 octave_value_list retval; |
272
|
58 |
913
|
59 error ("lp_solve_options: not implemented yet"); |
519
|
60 |
272
|
61 return retval; |
|
62 } |
|
63 |
1
|
64 /* |
|
65 ;;; Local Variables: *** |
|
66 ;;; mode: C++ *** |
|
67 ;;; End: *** |
|
68 */ |