Model files produced by lp_solve may require special care to use with Gurobi:

- LP files (.lp) created by lp_solve have many differences from the LP format supported by Gurobi and most other solvers. Thus, using LP files from lp_solve with Gurobi should be avoided.
- In MPS files (.mps) produced by lp_solve, binary variables may be written in such a way that Gurobi interprets them as unbounded general integer variables. Therefore, before writing an MPS file with lp_solve, explicitly set an upper bound of 1 for all binary variables.

## Comments

0 comments

Article is closed for comments.