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
  • Generic Examples
  • Reference
  • AMPLS-API changelog
AMPL Python Ecosystem AMPL Python Ecosystem AMPL Model Colaboratory
Hands-On Mathematical Optimization with AMPL in Python

Follow us on LinkedIn!

  • C++ solver libraries

C++ solver libraries#

Welcome to the AMPL solver libraries (ampls) documentation. This section provides an overview of the main classes and methods. See this section for a comprehensive documentation of the available functionalities.

Contents#

  • Quickstart
    • Prerequisites
    • Installation
    • Executing an example
  • Architecture
  • Core Concepts
    • Generic vs specific
    • AMPLS vs AMPL
  • Generic Examples
    • Example: load
    • Example: driver error detection
    • Example: information callback
    • Example: add cuts in callback
    • Example (requires AMPLAPI): add variables and constraints
  • Reference
    • Generic
    • Gurobi
    • CPLEX
    • XPRESS
  • AMPLS-API changelog
    • 20260526
    • 20260408
    • 20241115
    • 20240731
    • 20240327
    • 20240319
    • 20240316
    • 20240113
    • 20231219
    • 20231120
    • 20230809
    • 20230627
    • 20230602

Indices#

  • Index

  • Search Page

previous

Usage

next

Quickstart

On this page
  • Contents
  • Indices

© Copyright 2020-2026, AMPL Optimization Inc.