00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined (octave_LPsolve_h)
00024 #define octave_LPsolve_h 1
00025
00026 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)
00027 #pragma interface
00028 #endif
00029
00030 class ColumnVector;
00031
00032 #include "LP.h"
00033
00034 class
00035 LPsolve : public octave_LP
00036 {
00037 public:
00038
00039 LPsolve (void)
00040 : octave_LP () { }
00041
00042 LPsolve (const ColumnVector& c)
00043 : octave_LP (c) { }
00044
00045 LPsolve (const ColumnVector& c, const Bounds& b)
00046 : octave_LP (c, b) { }
00047
00048 LPsolve (const ColumnVector& c, const Bounds& b, const LinConst& lc)
00049 : octave_LP (c, b, lc) { }
00050
00051 LPsolve (const ColumnVector& c, const LinConst& lc)
00052 : octave_LP (c, lc) { }
00053
00054 LPsolve (const LPsolve& a)
00055 : octave_LP (a) { }
00056
00057 LPsolve& operator = (const LPsolve& a)
00058 {
00059 if (this != &a)
00060 octave_LP::operator = (a);
00061
00062 return *this;
00063 }
00064
00065 ~LPsolve (void) { }
00066
00067 ColumnVector do_minimize (double& objf, int& inform, ColumnVector& lambda);
00068 };
00069
00070 #endif
00071
00072
00073
00074
00075
00076