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

Fix unwanted behavior of CLP when we expect to do dual simplex #202

Merged
merged 3 commits into from
Apr 13, 2024

Conversation

febattista
Copy link
Contributor

CLP is hinted to go for dual simplex but it may still go for primal, giving wrong results when in strong branching iteration limit is hit and primal has been done. Moreover, when doing dual simplex, dual solutions may be inaccure at iteration limit. To fix that, some options are set through Osi to make CLP behave as we expect.

CLP is hinted to go for dual simplex but it may still go for primal, giving wrong
results when in strong branching iteration limit is hit and primal has been done.
Moreover, when doing dual simplex, dual solutions may be inaccure at iteration limit.
To fix that, some options are set through Osi to make CLP behave as we expect.
cstat and rstat were initialized with tmp arrays in LPData and were
occasionally overwritten during strong branching. Two fields
have been added to LPData struct so that they are resized/freed similarly
to other structures.
dual_simplex()

Back in the years Ted changed this call to initial_lp_solve() and there must
have been a reason for that, but it really seems that dual_simplex() is the
correct call here, so we changed it back.
@tkralphs tkralphs merged commit a9b69cd into coin-or:master Apr 13, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants