Model files from lp_solve can be problematic. LP files from lp_solve have many differences from the LP format supported by Gurobi and most other solvers, and using their LP files with Gurobi Optimizer should be avoided. In MPS files, lp_solve may write binary variables as unbounded general integers. Thus, before writing an MPS file from lp_solve, explicitly set an upper bound of 1 for all binary variables.
Articles in this section
- What is the model fingerprint in 9.0 log files?
- Generate Recording File for Support
- Export Model from Gurobi
- Upload Files for Testing, Tuning, and Benchmarking
- Managing Infeasibility
- Where can I learn more about building optimization models?
- How do I model piecewise-linear functions?
- How do I model logical expressions?
- Can I add locally valid constraints in Gurobi MIP?
- How do I manage multiple models in a program?