[ library(eplex) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

# lp_write(+Handle, ++Format, +File)

Write a solver problem to a file.

Handle
  Handle to an existing solver state
Format
  lp or mps
File
  File name

## Description

Write the problem which corresponds to Handle to a file. The set of supported formats depends on the actual external solver which is used. All solvers support the mps format. Some solvers on some operating system platforms may change or append a suffix to the filename. Note that the mps format does not specify the sense (min or max) of the objective function. Note also that any active cutpool constraints in the problem will be included in the dump, even though they could be left out of the problem that the external solver actually solves.

## See Also

lp_read / 3, lp_setup / 4