Skip to main content
Ctrl+K
    AMPL Resources
  • AMPL.com
  • AMPL Support Forum
  • AMPL Download Portal
  • AMPL Development Resources
  • Amplbot
  • AMPL + Python 🐍
  • AMPL on Streamlit Cloud
  • Hands-On Optimization in Python
  • AMPL Model Colaboratory
  • amplpy: Python API
  • More Resources
  • AMPL Books
  • MP: Solver Interface Framework
  • AMPL’s Open-Source Projects
  • Licenses & Pricing
  • AMPL & Solvers pricing
  • Free Academic Licenses
  • Free AMPL Community Edition
  • Social Media
  • LinkedIn
ampl::ampls-api 0.1 documentation - Home ampl::ampls-api 0.1 documentation - Home Solver API
  • Introduction
  • Structure
  • Usage
  • C++ solver libraries
  • Python solver libraries
  • GitHub
  • AMPL Support Forum
  • AMPL Portal
  • AMPL Homepage
  • AMPL Resources
  • Amplbot
  • Introduction
  • Structure
  • Usage
  • C++ solver libraries
  • Python solver libraries
  • GitHub
  • AMPL Support Forum
  • AMPL Portal
  • AMPL Homepage
  • AMPL Resources
  • Amplbot
Ctrl+K

Section Navigation

  • Quickstart
  • Architecture
  • Example: callbacks_first
  • Reference
    • AMPLModel
    • AMPL
    • GurobiModel
    • CPLEXModel
AMPL Python Ecosystem AMPL Python Ecosystem AMPL Model Colaboratory
Hands-On Mathematical Optimization with AMPL in Python

Follow us on LinkedIn!

  • Python solver libraries

Python solver libraries#

Welcome to the Python AMPL solver apis (ampls in short) documentation. See this section for a comprehensive documentation of the available functionalities.

Contents#

  • Quickstart
    • Installation via Python package manager
    • Running the examples
  • Architecture
    • amplpy
  • Example: callbacks_first
  • Example: callbacks_stopping
  • Example: load_model
  • Example: multiple_models
  • Example: options
  • Example: pattern_generation
  • Example: tsp_callback
  • Reference
    • ampls
    • amplpy_gurobi
    • amplpy_cplex

Indices#

  • Index

  • Module Index

  • Search Page

previous

AMPLS-API changelog

next

Quickstart

On this page
  • Contents
  • Indices

© Copyright 2020-2026, AMPL Optimization Inc.