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

Method setRealParameter

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

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

Source from the content-addressed store, hash-verified

171
172/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
173int snoptProblem::setRealParameter(const char *stropt, double opt) {
174 assert(initCalled == 1);
175
176 int errors, stropt_len = strlen(stropt);
177 f_snsetr(stropt, stropt_len, opt, &errors,
178 iw, leniw, rw, lenrw);
179 return errors;
180}
181
182/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
183int snoptProblem::getRealParameter(const char *stropt, double &opt) {

Callers 1

NLP_interfaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected