Skip to main content
Ctrl+K
    AMPL Resources
  • AMPL.com
  • AMPL Support Forum
  • AMPL Download Portal
  • AMPL Development Resources
  • AMPL + Python 🐍
  • Hands-On Optimization in Python
  • AMPL Model Colaboratory
  • AMPL on Streamlit Cloud
  • amplpy: Python API
  • Open Source Projects
  • rAMPL: R API
  • AMPL Plugins
  • AMPL GSL
  • amplpyfinance
  • Solver Callbacks
  • MP: Solver Interface Framework
  • Licenses & Pricing
  • AMPL & Solvers pricing
  • Free AMPL For Teaching
  • Free AMPL Community Edition
  • Social Media
  • LinkedIn
  • Twitter / X
AMPL API 2.3.13 documentation - Home AMPL API 2.3.13 documentation - Home C# API
  • Introduction
  • Initial Setup
  • Quick Start
  • Deployment Methods
  • Class structure
  • C# API Reference
    • C# API Examples
  • AMPL APIs
  • AMPL Support Forum
  • AMPL Portal
  • AMPL Homepage
  • AMPL Resources
  • Introduction
  • Initial Setup
  • Quick Start
  • Deployment Methods
  • Class structure
  • 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 Twitter and 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
  • Kind
  • DataFrame
  • Environment
  • Tuple
  • Variant
  • VariantRef

Algebraic entities classes#

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

Exceptions#

  • AMPLException

previous

Class structure

next

AMPL

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

© Copyright 2013-2025, AMPL Optimization Inc.