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

Method setParameter

snopt-interface/src/snoptProblem.cpp:143–149  ·  view source on GitHub ↗

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

Source from the content-addressed store, hash-verified

141
142/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
143int snoptProblem::setParameter(const char *stropt) {
144 assert(initCalled == 1);
145
146 int errors, stropt_len = strlen(stropt);
147 f_snset(stropt, stropt_len, &errors, iw, leniw, rw, lenrw);
148 return errors;
149}
150
151/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
152int snoptProblem::setIntParameter(const char *stropt, int opt) {

Callers 2

mainFunction · 0.80
NLP_interfaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected