Skip to content

[BUG] Invalid bounds need to return infeasible solution rather than erroring invalid bound #260

@rgsl888prabhu

Description

@rgsl888prabhu

Describe the bug
Consider a scenario where lower bound is > upper bound, in this case when you try to set value, you get error invalid bounds.

{"CUOPT_ERROR_TYPE": "ValidationError", "msg": "Variable bounds are invalid"}

Steps/Code to reproduce bug
Test file

test.zip

This can't be reproduced through cli or with mps

Expected behavior
Should return infeasible

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions