Osi icon indicating copy to clipboard operation
Osi copied to clipboard

writeMps() won't write problem name

Open svigerske opened this issue 5 years ago • 0 comments

Issue created by migration from Trac.

Original creator: michaelchen

Original creation time: 2009-07-19 01:26:53

Assignee: @mjsaltzman

Version: 0.100.0

Dear there,

Though I set the problem name explicitly, the writeMps still won't write it into the MPS file.

string problem = "myproblem";
osiModel->setStrParam(OsiProbName,myproblem); osiModel->writeMps(file.c_str(), extension, osiModel->getObjSense()); (osiModel is actually a OsiCbcSolverInterface *).

It seems that there is no method: osiModel->getProbName() neither.

svigerske avatar Mar 02 '19 20:03 svigerske