Skip to content

[BUG] Wrong objective on trivial LP problem without constraints #147

Description

@rg20

Describe the bug
The objective value is being reported wrong

Steps/Code to reproduce bug

echo "NAME
OBJSENSE
 MAX
ROWS
 N  OBJ
COLUMNS
    x1        OBJ       1
RHS
RANGES
BOUNDS
 MI bounds    x1
 UP bounds    x1        1
ENDATA" >trivial.mps 

cuopt_cli trivial.mps

Expected behavior
The objective should be 1. But dual simplex returns -1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions