[Osi-tickets] [COIN-OR Open Solver Interface] #80: writeMps() won't write problem name
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Sat Jul 18 21:26:53 EDT 2009
#80: writeMps() won't write problem name
----------------------------+-----------------------------------------------
Reporter: michaelchen | Owner: mjs
Type: defect | Status: new
Priority: major | Milestone:
Component: Osi Base Class | Version: 0.100.0
Keywords: |
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/80>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).
More information about the Osi-tickets
mailing list