| 149 | /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ |
| 150 | |
| 151 | class snoptProblemC : public snoptProblemABC { |
| 152 | public: |
| 153 | // default constructor |
| 154 | snoptProblemC(const char*name, int *iw, int aleniw, double *rw, int alenrw); |
| 155 | |
| 156 | // delegated constructors |
| 157 | snoptProblemC() : |
| 158 | snoptProblemC(" ", 0, 0, 0, 0) {}; |
| 159 | snoptProblemC(const char*name) : |
| 160 | snoptProblemC(name, 0, 0, 0, 0) {}; |
| 161 | snoptProblemC(int aleniw, int alenrw) : |
| 162 | snoptProblemC(" ", 0, aleniw, 0, alenrw) {}; |
| 163 | snoptProblemC(int *aiw, int aleniw, double *arw, int alenrw) : |
| 164 | snoptProblemC(" ", aiw, aleniw, arw, alenrw) {}; |
| 165 | snoptProblemC(const char*name, int aleniw, int alenrw) : |
| 166 | snoptProblemC(name, 0, aleniw, 0, alenrw) {}; |
| 167 | |
| 168 | ~snoptProblemC(); |
| 169 | |
| 170 | void setWorkspace(int m, int n, int ne, int negCon, |
| 171 | int nnCon, int nnObj, int nnJac); |
| 172 | |
| 173 | int solve(int starttype, int m, int n, int ne, int negCon, |
| 174 | int nnCon, int nnObj, int nnJac, |
| 175 | int iObj, double ObjAdd, snFunC usrfunC, |
| 176 | double *Jval, int *indJ, int *locJ, |
| 177 | double *bl, double *bu, int *hs, |
| 178 | double *x, double *pi, double *rc, |
| 179 | int &nS, int &nInf, double &sInf, double &objective); |
| 180 | }; |
| 181 | |
| 182 | /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ |
| 183 |
nothing calls this directly
no outgoing calls
no test coverage detected