Osi icon indicating copy to clipboard operation
Osi copied to clipboard

getBasics without enableSimplexInterface

Open svigerske opened this issue 5 years ago • 0 comments

Issue created by migration from Trac.

Original creator: @mgalati13

Original creation time: 2009-09-09 20:26:18

Assignee: @mjsaltzman

Version: 0.100.0

CC: @mgalati13

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.

svigerske avatar Mar 02 '19 20:03 svigerske