LINDO lp filesThe LINDO LP file format provides a facility for entering a problem in a natural, algebraic LP formulation from the keyboard. The problem can be modified and saved from within lpsolve. This procedure is one way to create a file in a format that lpsolve can read. An alternative technique is to create a similar file using a standard text editor and to read it into lpsolve. The LINDO FILE format is provided as an input alternative to the MPS file format. An LP format file may be easier to generate than an MPS file if your problem already exists in an algebraic format or if you have an application that generates the problem file more readily in algebraic format (such as a C application). Note that the LINDO FILE format is not the same as the lpsolve LP format. See LP file format for a description about the native lpsolve lp format. To read/write this format from lpsolve, you need an XLI (see External Language Interfaces). The XLI for the LINDO format is called xli_LINDO. OptionsThe XLI accepts no options at this time. Examplelp_solve -rxli xli_LINDO input.lpt lp_solve -mps input.mps -wxli xli_LINDO output.lpt Syntax Rules of the LINDO FILE Formatlpsolve will accept any problem saved in an ASCII file provided that it adheres to the following syntax rules. |