Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getBasics without enableSimplexInterface #84

Open
svigerske opened this issue Mar 2, 2019 · 0 comments
Open

getBasics without enableSimplexInterface #84

svigerske opened this issue Mar 2, 2019 · 0 comments
Labels
enhancement New feature or request Osi Base Class

Comments

@svigerske
Copy link
Member

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 svigerske added bug Something isn't working major OsiClp labels Mar 2, 2019
@svigerske svigerske added enhancement New feature or request Osi Base Class and removed OsiClp bug Something isn't working major labels Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Osi Base Class
Projects
None yet
Development

No branches or pull requests

1 participant