dandxy89 / lp_parser_rs

Rust LP file Parser
Apache License 2.0
3 stars 1 forks source link

Empty Bounds sections should be allowed #27

Closed ahenshaw closed 6 months ago

ahenshaw commented 6 months ago

With binary-variable problems, Gurobi will insert a Bounds section that only has the line "Bounds". Like so:

\ LP format example

Minimize
obj:  x + 10 y
Subject To
r01:  x + y  >= 1
Bounds
Binaries
 x y
End

This seems to cause the parser to miss the "Binaries" line.

dandxy89 commented 6 months ago

Thanks for raising. I'll fix this in the morning.