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

Method setSpecsFile

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

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

Source from the content-addressed store, hash-verified

259
260/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
261int snoptProblemABC::setSpecsFile(const char *specname) {
262 assert(initCalled == 1);
263
264 int inform, len = strlen(specname);
265 f_snspecf(specname, len, &inform, iw, leniw, rw, lenrw);
266 if (inform != 101){
267 std::cerr << "Warning: unable to find specs file " <<
268 specname << std::endl;
269 }
270 return inform;
271}
272
273/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
274int snoptProblemABC::setSpecsFile(const char *specname, int ispecs) {

Callers 5

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected