Skip to content

OsiSolverInterface::addRow() throws unhelpful exception #109

@svigerske

Description

@svigerske

Issue created by migration from Trac.

Original creator: gidden

Original creation time: 2014-02-07 16:22:39

Assignee: @mjsaltzman

Version: 0.104

Code snippet:
Code snippet:

  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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions