nl (format)

From HandWiki
Revision as of 14:13, 6 February 2024 by JTerm (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: File format for presenting and archiving mathematical programming problems

Nl (format)
Filename extension.nl
Developed byRobert Fourer
David Gay
Brian Kernighan
Bell Labs
Type of formatMathematical programming

nl is a file format for presenting and archiving mathematical programming problems.[1] Initially, this format has been invented for connecting solvers to AMPL.[2] It has also been adopted by other systems such as COIN-OR (as one of the input formats), FortSP (for interacting with external solvers), and Coopr (as one of its output formats).

The nl format supports a wide range of problem types, among them:

The nl format is low-level and is designed for compactness, not for readability. It has both binary and textual representation. Most commercial and academic solvers accept this format either directly or through special driver programs.

The open-source AMPL Solver Library distributed via Netlib[4] and AMPL/MP library[5] provide nl parsers that are used in many solvers.

AMPL/MP library[5] contains an NL writer and SOL reader.

See also

  • sol (format) - a file format for presenting solutions of mathematical programming problems

References