AMPL API is a set of APIs designed for embedding optimization models into applications. Linear programming in matlab, R, Java, Python, .NET, C++ is possible using the API. The supported host languages are,
Using AMPL API, the modelling facilities of AMPL (language features, connectivity to database and solvers) can be easily exploited from applications written in any supported language, allowing for rapid optimization based applications development. The resulting separation between optimization model and application code allows a developer to embed optimization technologies without having expertise in the field, and a modeller/analyst to be confident of the correctness of the embedded model.