Skip to content

[BUG] Wrong handling of integer variables with non-integer bounds #148

@rg20

Description

@rg20

Describe the bug
When fractional value is specified as a bound for integer variable on trivial problem, the resulting solution is not integer

Steps/Code to reproduce bug

echo "NAME
ROWS
 N  OBJ
COLUMNS
    MARKER    'MARKER'                 'INTORG'
    x1        OBJ       2
    MARKER    'MARKER'                 'INTEND'
RHS
RANGES
BOUNDS
 LO bounds    x1        1.5
 PL bounds    x1
ENDATA" > integer.mps

cuopt_cli integer.mps

Expected behavior
The objective value should be 4. But cuopt returns 3

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