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

Method getIntParameter

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

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

Source from the content-addressed store, hash-verified

161
162/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
163int snoptProblem::getIntParameter(const char *stropt, int &opt) {
164 assert(initCalled == 1);
165
166 int errors, stropt_len = strlen(stropt);
167 f_sngeti(stropt, stropt_len, &opt, &errors,
168 iw, leniw, rw, lenrw);
169 return errors;
170}
171
172/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
173int snoptProblem::setRealParameter(const char *stropt, double opt) {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected