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

Method setIntParameter

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

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

Source from the content-addressed store, hash-verified

150
151/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
152int snoptProblem::setIntParameter(const char *stropt, int opt) {
153 assert(initCalled == 1);
154
155 int errors, stropt_len = strlen(stropt);
156
157 f_snseti(stropt, stropt_len, opt, &errors,
158 iw, leniw, rw, lenrw);
159 return errors;
160}
161
162/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
163int snoptProblem::getIntParameter(const char *stropt, int &opt) {

Callers 8

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
NLP_interfaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected