Skip to content

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

@rg20

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.

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