MCPcopy Create free account
hub / github.com/PSOPT/psopt / sqoptProblem

Class sqoptProblem

include/snoptProblem.hpp:215–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
214
215class sqoptProblem : public snoptProblem {
216private:
217 isqLog sqLog;
218 void init2zero();
219
220public:
221 // default constructor
222 sqoptProblem(const char*name, int *iw, int aleniw, double *rw, int alenrw);
223
224 // delegated constructors
225 sqoptProblem() :
226 sqoptProblem(" ", 0, 0, 0, 0) {};
227 sqoptProblem(const char*name) :
228 sqoptProblem(name, 0, 0, 0, 0) {};
229 sqoptProblem(int aleniw, int alenrw) :
230 sqoptProblem(" ", 0, aleniw, 0, alenrw) {};
231 sqoptProblem(int *aiw, int aleniw, double *arw, int alenrw) :
232 sqoptProblem(" ", aiw, aleniw, arw, alenrw) {};
233 sqoptProblem(const char*name, int aleniw, int alenrw) :
234 sqoptProblem(name, 0, aleniw, 0, alenrw) {};
235
236 ~sqoptProblem();
237
238 void initialize (const char *prtfile, int summOn);
239 void initialize (const char *prtfile, int iprint, const char *sumfile, int isumm);
240
241 int setSpecsFile(const char *specname);
242 int setSpecsFile(const char *specname, int ispecs);
243
244 void setLog (isqLog sqLog);
245 void setWorkspace(int m, int n, int neA, int ncObj, int nnH);
246
247 int solve(int starttype, sqFunHx qpHx,
248 int m, int n, int neA, int ncObj, int nnH,
249 int iObj, double ObjAdd,
250 double *A, int *indA, int *locA,
251 double *bl, double *bu, double *cObj,
252 int *eType, int *hs, double *x, double *pi, double *rc,
253 int &nS, int &nInf, double &sInf, double &objective);
254};
255
256#endif /* SNOPTPROBLEM_H */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected