Skip to main content
Ctrl+K
    AMPL Resources
  • AMPL.com
  • AMPL Support Forum
  • AMPL Download Portal
  • AMPL Development Resources
  • 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 API 3.0.0 documentation - Home AMPL API 3.0.0 documentation - Home C# API
  • Introduction
  • Initial Setup
  • Quick Start
  • Deployment Methods
  • C# API Reference
  • C# API Examples
  • AMPL APIs
  • AMPL Support Forum
  • AMPL Portal
  • AMPL Homepage
  • AMPL Resources
  • Introduction
  • Initial Setup
  • Quick Start
  • Deployment Methods
  • C# API Reference
  • C# API Examples
  • AMPL APIs
  • AMPL Support Forum
  • AMPL Portal
  • AMPL Homepage
  • AMPL Resources
Ctrl+K

Section Navigation

  • AMPL
  • DataFrame
  • Environment
  • Tuple
  • Variant
  • EntityBase
  • EntityMap
  • Instance
  • Constraint
  • ConstraintInstance
  • Objective
  • ObjectiveInstance
  • Parameter
  • Set
  • SetInstance
  • Variable
  • VariableInstance
  • AMPLException
AMPL Python Ecosystem AMPL Python Ecosystem AMPL Model Colaboratory
Hands-On Mathematical Optimization with AMPL in Python

Follow us on LinkedIn!

  • C# API Reference

C# API Reference#

AMPL classes#

All functions and classes provided by the AMPL API reside in namespace ampl. For brevity the namespace will be omitted.

  • AMPL
  • DataFrame
  • Environment
  • Tuple
  • Variant

Algebraic entities classes#

  • EntityBase
  • EntityMap
  • Instance
  • Constraint
  • ConstraintMap
  • ConstraintInstance
  • Objective
  • ObjectiveMap
  • ObjectiveInstance
  • Parameter
  • ParameterMap
  • Set
  • SetMap
  • SetInstance
  • Variable
  • VariableMap
  • VariableInstance

Exceptions#

  • AMPLException

previous

Deployment Methods

next

AMPL

On this page
  • AMPL classes
  • Algebraic entities classes
  • Exceptions

© Copyright 2013-2026, AMPL Optimization Inc.