The LP file format is not standardized. For example, some solvers, including Gurobi Optimizer, require spaces between variables, coefficients and operators in an LP file, so you must use x + y + 2 z <= 2 to represent the constraint x + y + 2z ≤ 2 in an LP file. If Gurobi Optimizer is unable to read an LP file written by another solver, try the MPS format instead.

## Comments

0 comments

Article is closed for comments.