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

Class snoptProblemB

include/snoptProblem.hpp:184–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
183
184class snoptProblemB : public snoptProblemC {
185public:
186 // default constructor
187 snoptProblemB(const char*name, int *aiw, int aleniw, double *arw, int alenrw);
188
189 // delegated constructors
190 snoptProblemB() :
191 snoptProblemB(" ", 0, 0, 0, 0) {};
192 snoptProblemB(const char*name) :
193 snoptProblemB(name, 0, 0, 0, 0) {};
194 snoptProblemB(int aleniw, int alenrw) :
195 snoptProblemB(" ", 0, aleniw, 0, alenrw) {};
196 snoptProblemB(int *aiw, int aleniw, double *arw, int alenrw) :
197 snoptProblemB(" ", aiw, aleniw, arw, alenrw) {};
198 snoptProblemB(const char*name, int aleniw, int alenrw) :
199 snoptProblemB(name, 0, aleniw, 0, alenrw) {};
200
201 ~snoptProblemB();
202
203 int solve(int starttype, int m, int n, int ne, int negCon,
204 int nnCon, int nnObj, int nnJac,
205 int iObj, double ObjAdd,
206 snConB funcon, snObjB funobj,
207 double *Jval, int *indJ, int *locJ,
208 double *bl, double *bu, int *hs,
209 double *x, double *pi, double *rc,
210 int &nS, int &nInf, double &sInf, double &objective);
211};
212
213/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
214

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected