Osi
Osi copied to clipboard
writeMps() won't write problem name
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.