Model files produced by lp_solve may be written in a format that Gurobi does not expect.
- LP files (.lp) created by lp_solve: These files have many differences to the LP format supported by Gurobi and most other solvers. As such, using LP files from lp_solve with Gurobi should be avoided.
- MPS files (.mps) produced by lp_solve: Binary variables may be interpreted by Gurobi as unbounded general integer variables. To avoid this issue, explicitly set an upper bound of 1 on all binary variables before writing an MPS file with lp_solve.