Python API
Explore the AMPL Python API Documentation for detailed guidance, examples, and references to integrate AMPL with Python.
R API
Explore the AMPL R API Documentation for detailed guidance, examples, and references to integrate AMPL with R.
Python#
Installation:
$ python -m pip install amplpy
Documentation: https://amplpy.ampl.com/
GitHub: ampl/amplpy
R#
Installation:
install.packages("Rcpp", type="source") install.packages("https://ampl.com/dl/API/rAMPL.tar.gz", repos=NULL)
Documentation: https://rAMPL.ampl.com/
GitHub: ampl/rAMPL
Java#
Installation:
Documentation: https://ampl.com/api/latest/java/
C##
Installation:
Documentation: https://ampl.com/api/latest/dotnet/
C++#
Installation:
Documentation: https://ampl.com/api/latest/cpp/
MATLAB#
Installation:
Documentation: https://ampl.com/api/latest/matlab/
Solver Callbacks#
AMPL solver libraries with callbacks.
Documentation: https://ampls.ampl.com/
GitHub: ampl/ampls-api