[Osi-tickets] [COIN-OR Open Solver Interface] #109: OsiSolverInterface::addRow() throws unhelpful exception

COIN-OR Open Solver Interface coin-trac at coin-or.org
Fri Feb 7 11:22:39 EST 2014


#109: OsiSolverInterface::addRow() throws unhelpful exception
----------------------------+-------------------
 Reporter:  gidden          |      Owner:  mjs
     Type:  defect          |     Status:  new
 Priority:  major           |  Milestone:
Component:  Osi Base Class  |    Version:  0.104
 Keywords:                  |
----------------------------+-------------------
 Code snippet:
 Code snippet:
 {{{#!c++
   OsiSolverInterface* si = new OsiClpSolverInterface();
   CoinPackedVector row1;
   row1.setElement(0, 1.0); // x
   row1.setElement(1, 1.0); // y
   si->addRow(row1, 'G', 1.0, 0.0);
   delete si;
 }}}

 Results in the following:
 unknown file: Failure
 Unknown C++ exception thrown in the test body.

--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/109>
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