-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple .lp file no longer readable #1449
Comments
Another example is
|
Arguably, this is actually completely fine since, according to the specification,
|
Fair cop, we didn't have a file of this kind in the test cases. |
I think it's fine; append the "End" line and both cases work as expected. |
Yes, not requiring an "End" line is |
Reopening per discussion here: lovasoa/highs-js#35 (comment) |
Having looked at these two files, Gurobi reads
but not
so they are clearly on the margins of what's readable. In both cases, if Looking again at the statement in (CPLEX-format)[https://web.mit.edu/lpsolve/doc/CPLEX-format.htm],
rather than allow HiGHS to interpret EOF as a missing |
And while we're at it, the specification also requires that
which clearly wasn't the case here, so even though it's parsable once the "End" line is added, it's really still invalid according to the specification. |
This came up while debugging lovasoa/highs-js#34: A one-line
.lp
file with contentsused to be readable by HiGHS which would detect infeasibility, but now it just gives a "parser error".
The text was updated successfully, but these errors were encountered: