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

wrong status when stop on dual objective limit #108

Closed
svigerske opened this issue Feb 21, 2019 · 1 comment
Closed

wrong status when stop on dual objective limit #108

svigerske opened this issue Feb 21, 2019 · 1 comment
Assignees

Comments

@svigerske
Copy link
Collaborator

svigerske commented Feb 21, 2019

HiGHS run ends with status OK when reaching a dual objective limit, while I would have expected to get HighsStatus::ReachedDualObjectiveUpperBound.

To reproduce, run bb4773c with

echo "dual_objective_value_upper_bound=-1e1" > opt && ./bin/highs --options-file opt check/instances/agg.mps 

This gives me

Running HiGHS 1.0.0 [date: 2019-02-21, git hash: 0830f20]
Copyright (c) 2019 ERGO-Code under MIT licence terms.
Called replaceWithLogicalBasis
Iter          0:    -1.5218680585e+05  0
Iter         22:     0.0000000000e+00  0
Iter         22:    -1.8057658688e+09  3
HiGHS run ended with status OK after    0.0131412 seconds
@mckib2
Copy link
Contributor

mckib2 commented Apr 13, 2020

pwd
# .../HiGHS/build/bin
echo "dual_objective_value_upper_bound=-1e1" > opt && ./highs --options_file opt ../../check/instances/25fv47.mps 

Gives correct output:

Model   status      : Reached dual objective upper bound
Simplex   iterations: 84

@jajhall This issue looks like it can be closed.

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

No branches or pull requests

3 participants