AMPL - Features

Features

AMPL features a mixture of declarative and imperative programming styles. Formulation of optimization models takes place through declarative language elements such as sets, scalar and multidimensional parameters, decision variables, objectives and constraints, which allow for a concise description of most problems in the domain of mathematical optimization.

Procedures and control flow statements are available in AMPL for

  • the exchange of data with external data sources such as spreadsheets, databases, XML and text files
  • data pre- and post-processing tasks around optimization models
  • the construction of hybrid algorithms for problem types for which no direct efficient solvers are available.

To support re-use and simplify construction of large-scale optimization problems, AMPL allows separation of model and data.

AMPL supports a wide range of problem types, among them:

  • Linear programming
  • Quadratic programming
  • Nonlinear programming
  • Mixed-integer programming
  • Mixed-integer quadratic programming with or without convex quadratic constraints
  • Mixed-integer nonlinear programming
  • Second-order cone programming
  • Global optimization
  • Semidefinite programming problems with bilinear matrix inequalities
  • Complementarity problems (MPECs) in discrete or continuous variables
  • Constraint programming

AMPL invokes a solver in a separate process which has the following advantages:

  • Solver crashes do not affect the interpreter
  • 32-bit version of AMPL can be used with a 64-bit solver and vice versa

Interaction with the solver is done through a well-defined nl interface.

Read more about this topic:  AMPL

Famous quotes containing the word features:

    Art is the child of Nature; yes,
    Her darling child, in whom we trace
    The features of the mother’s face,
    Her aspect and her attitude.
    Henry Wadsworth Longfellow (1807–1882)

    The features of our face are hardly more than gestures which force of habit made permanent. Nature, like the destruction of Pompeii, like the metamorphosis of a nymph into a tree, has arrested us in an accustomed movement.
    Marcel Proust (1871–1922)

    It is a tribute to the peculiar horror of contemporary life that it makes the worst features of earlier times—the stupefaction of the masses, the obsessed and driven lives of the bourgeoisie—seem attractive by comparison.
    Christopher Lasch (b. 1932)