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

Class snoptProblemABC

include/snoptProblem.hpp:68–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
67
68class snoptProblemABC : public snoptProblem {
69protected:
70 // default constructor
71 snoptProblemABC(const char*name, int *iw, int aleniw, double *rw, int alenrw);
72
73 // delegated constructors
74 snoptProblemABC() :
75 snoptProblemABC(" ", 0, 0, 0, 0) {};
76 snoptProblemABC(const char*name) :
77 snoptProblemABC(name, 0, 0, 0, 0) {};
78 snoptProblemABC(int aleniw, int alenrw) :
79 snoptProblemABC(" ", 0, aleniw, 0, alenrw) {};
80 snoptProblemABC(int *aiw, int aleniw, double *arw, int alenrw) :
81 snoptProblemABC(" ", aiw, aleniw, arw, alenrw) {};
82 snoptProblemABC(const char*name, int aleniw, int alenrw) :
83 snoptProblemABC(name, 0, aleniw, 0, alenrw) {};
84
85 ~snoptProblemABC();
86
87 void init2zero();
88
89 isnLog snLog;
90 isnLog2 snLog2;
91 isqLog sqLog;
92 isnSTOP snSTOP;
93
94public:
95 void initialize (const char *prtfile, int summOn);
96 void initialize (const char *prtfile, int iprint, const char *sumfile, int isumm);
97
98 int setSpecsFile (const char *specname);
99 int setSpecsFile (const char *specname, int ispecs);
100
101 void setLog (isnLog snLog, isnLog2 snLog2, isqLog sqLog);
102 void setSTOP (isnSTOP snSTOP);
103};
104
105/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
106

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected