Skip to content

HiGHS LP file reader should return an error when it encounters constraints that are not linear #2953

@LocatedInSpace

Description

@LocatedInSpace

The attached model arrives at an optimal value of 7 for HiGHS with default options (I've tried changing various options blindly, to no avail in terms of changing result), whereas the expected optimal value of 14 is achieved by CPLEX with no issue.

If you add another constraint akin to test: t10178p0 = 1 then HiGHS now reports the model as Infeasible whereas CPLEX still gives the expected correct outcome with t10178p0 = 1 & t9717p0 = 1. It has no effect whether you run HiGHS with parallel off or on, nor presolve on or off - they all arrive at either 7 or Infeasible.

If, in the infeasible case, run with write_iis_model_file it just results in the below file - so not much help.

\ File written by HiGHS .lp file handler
min
 obj: 
st
bounds
end

This problem is present in both 1.13.1 and 1.13.0 on Windows.

lpmodelandlogs.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions