Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

hockfcns.h

00001 #ifndef hockfcns_h
00002 #define hockfcns_h
00003 
00004 #include "CompoundConstraint.h"
00005 
00006 /*
00007  *
00008  * Declarations for Hock and Schittkowski's functions
00009  */
00010 
00011 /* Initializer for Problem 1 */
00012 void init_hs1(int n, ColumnVector& x);
00013 
00014 /* Hock and Schittkowski with analytic derivative */
00015 void hs1(int mode, int n, const ColumnVector& x, double& fx, 
00016                 ColumnVector& g, int& result);
00017 
00018 CompoundConstraint* init_constraint_hs1(int n);
00019 
00020 /* Initializer for Problem 2 */
00021 void init_hs2(int n, ColumnVector& x);
00022 
00023 /* Hock and Schittkowski with analytic derivative */
00024 void hs2(int mode, int n, const ColumnVector& x, double& fx, 
00025                 ColumnVector& g, int& result);
00026 
00027 CompoundConstraint* init_constraint_hs2(int n);
00028 
00029 /* Initializer for Problem 5 */
00030 void init_hs5(int n, ColumnVector& x);
00031 
00032 /* Hock and Schittkowski with analytic derivative */
00033 void hs5(int mode, int n, const ColumnVector& x, double& fx, 
00034                 ColumnVector& g, int& result);
00035 
00036 CompoundConstraint* init_constraint_hs5(int n);
00037 
00038 /* Initializer for Problem 6 - as appears on Vanderbei's website */
00039 void init_hs6(int n, ColumnVector& x);
00040 
00041 /* Hock and Schittkowski with analytic derivative */
00042 void hs6(int mode, int n, const ColumnVector& x, double& fx, 
00043                 ColumnVector& g, int& result);
00044 
00045 void eqn_hs6(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00046                 Matrix& g, int& result);
00047 
00048 CompoundConstraint* init_constraint_hs6(int n);
00049 
00050 /* Initializer for Problem 7 */
00051 void init_hs7(int n, ColumnVector& x);
00052 
00053 /* Hock and Schittkowski with analytic derivative */
00054 void hs7(int mode, int n, const ColumnVector& x, double& fx, 
00055                 ColumnVector& g, int& result);
00056 
00057 void eqn_hs7(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00058                 Matrix& g, int& result);
00059 
00060 CompoundConstraint* init_constraint_hs7(int n);
00061 
00062 /* Initializer for Problem 10 */
00063 void init_hs10(int n, ColumnVector& x);
00064 
00065 /* Hock and Schittkowski with analytic derivative */
00066 void hs10(int mode, int n, const ColumnVector& x, double& fx, 
00067                 ColumnVector& g, int& result);
00068 
00069 void ineq_hs10(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00070                 Matrix& g, int& result);
00071 
00072 CompoundConstraint* init_constraint_hs10(int n);
00073 
00074 /* Initializer for Problem 13 */
00075 void init_hs13(int n, ColumnVector& x);
00076 
00077 /* Hock and Schittkowski with analytic derivative */
00078 void hs13(int mode, int n, const ColumnVector& x, double& fx, 
00079                 ColumnVector& g, int& result);
00080 
00081 void ineq_hs13(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00082                 Matrix& g, int& result);
00083 
00084 CompoundConstraint* init_constraint_hs13(int n);
00085 
00086 /* Initializer for Problem 14 */
00087 void init_hs14(int n, ColumnVector& x);
00088 
00089 /* Hock and Schittkowski with analytic derivative */
00090 void hs14(int mode, int n, const ColumnVector& x, double& fx, 
00091                 ColumnVector& g, int& result);
00092 
00093 void ineq_hs14(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00094                 Matrix& g, int& result);
00095 
00096 CompoundConstraint* init_constraint_hs14(int n);
00097 
00098 /* Initializer for Problem 26 */
00099 void init_hs26(int n, ColumnVector& x);
00100 
00101 /* Hock and Schittkowski with analytic derivative */
00102 void hs26(int mode, int n, const ColumnVector& x, double& fx, 
00103                 ColumnVector& g, int& result);
00104 
00105 void eqn_hs26(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00106                 Matrix& g, int& result);
00107 
00108 CompoundConstraint* init_constraint_hs26(int n);
00109 
00110 /* Initializer for Problem 28 */
00111 void init_hs28(int n, ColumnVector& x);
00112 
00113 /* Hock and Schittkowski with analytic derivative */
00114 void hs28(int mode, int n, const ColumnVector& x, double& fx, 
00115                 ColumnVector& g, int& result);
00116 
00117 CompoundConstraint* init_constraint_hs28(int n);
00118 
00119 /* Initializer for Problem 35 */
00120 void init_hs35(int n, ColumnVector& x);
00121 
00122 /* Hock and Schittkowski with analytic derivative */
00123 void hs35(int mode, int n, const ColumnVector& x, double& fx, 
00124                 ColumnVector& g, int& result);
00125 
00126 void ineq_hs35(int mode, int n, const ColumnVector& x, double& fx, 
00127                 ColumnVector& g, int& result);
00128 
00129 CompoundConstraint* init_constraint_hs35(int n);
00130 
00131 /* Initializer for Problem 65 */
00132 void init_hs65(int n, ColumnVector& x);
00133 
00134 /* Hock and Schittkowski with analytic derivative */
00135 void hs65(int mode, int n, const ColumnVector& x, double& fx, 
00136                 ColumnVector& g, int& result);
00137 
00138 void hs65_2(int mode, int n, const ColumnVector& x, double& fx, 
00139                 ColumnVector& g, SymmetricMatrix& H, int& result);
00140 
00141 void ineq_hs65(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00142                 Matrix& g, int& result);
00143 
00144 void ineq_hs65_2(int mode, int n, const ColumnVector& x, ColumnVector& fx,
00145                 Matrix& g, OptppArray<SymmetricMatrix>& H, int& result);
00146 
00147 CompoundConstraint* init_constraint_hs65(int n);
00148 CompoundConstraint* init_constraint_hs65_2(int n);
00149 
00150 /* Initializer for Problem 77 */
00151 void init_hs77(int n, ColumnVector& x);
00152 
00153 /* Hock and Schittkowski with analytic derivative */
00154 void hs77(int mode, int n, const ColumnVector& x, double& fx, 
00155                 ColumnVector& g, int& result);
00156 
00157 void ineq_hs77(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00158                 Matrix& g, int& result);
00159 
00160 CompoundConstraint* init_constraint_hs77(int n);
00161 
00162 /* Initializer for Problem 78 */
00163 void init_hs78(int n, ColumnVector& x);
00164 
00165 /* Hock and Schittkowski with finite difference derivative */
00166 void hs78(int mode, int n, const ColumnVector& x, double& fx, 
00167                 ColumnVector& g, int& result);
00168 
00169 void ineq_hs78(int mode, int n, const ColumnVector& x, ColumnVector& fx, 
00170                 Matrix& g, int& result);
00171 
00172 CompoundConstraint* init_constraint_hs78(int n);
00173 
00174 
00175 /* Hock and Schittkowski with analytic derivative */
00176 
00177 void hs78_2(int mode, int n, const ColumnVector& x, double& fx, 
00178                 ColumnVector& g, SymmetricMatrix& H, int& result);
00179 
00180 void ineq_hs78_2(int mode, int n, const ColumnVector& x, ColumnVector& fx,
00181                 Matrix& g, OptppArray<SymmetricMatrix>& H, int& result);
00182 
00183 CompoundConstraint* init_constraint_hs78_2(int n);
00184 
00185 /* Initializer for Unconstrained Problem */
00186 void init_hsuncon(int n, ColumnVector& x);
00187 
00188 /* Hock and Schittkowski with analytic derivative */
00189 void hsuncon(int mode, int n, const ColumnVector& x, double& fx, 
00190                 ColumnVector& g, int& result);
00191 void hsuncon2(int mode, int n, const ColumnVector& x, double& fx, 
00192                 ColumnVector& g, SymmetricMatrix& H, int& result);
00193 
00194 #endif

Copyright Information
GNU Lesser General Public License

Contact:
Juan Meza meza@ca.sandia.gov



Documentation generated by