Opened 11 years ago

Closed 20 months ago

#84 closed defect (migrated)

getBasics without enableSimplexInterface

Reported by: mgalati Owned by: mjs
Priority: major Milestone:
Component: OsiClp Version: 0.100.0
Keywords: Cc: magh@…

Description

Hi - it seems that enableSimplexInterface must be set to use getBasics(). The user should get some kind of error message telling them to do this in order to use getBasics.

Alternatively, Laci told me that one can also get the basis header from getWarmStart - which does not need enableSimplexInterface. This worked for me. Can we change the OsiClp? API so that getBasics does this for the user when enableSimplexInterface is not set? i.e., getWarmStart and then get header information from that?


I am using OsiClp? in a normal manner. Load problem, solve, add some columns, resolve, etc... Periodically, I want to get the basis header. I get the following assertion failure. Do I need to do something special to get basics? There is no error message, just a failed assertion.

decomp_gap: ../../../../Osi/src/OsiClp/OsiClpSolverInterface.cpp:6071: virtual void OsiClpSolverInterface::getBasics(int*) const: Assertion `modelPtr_->pivotVariable()' failed.

Change History (1)

comment:1 Changed 20 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Osi/issues/84

Note: See TracTickets for help on using tickets.