C# API reference

All functions and classes provided by the AMPL API reside in the namespaces ampl and ampl.Entities.

AMPL classes

ampl.AMPL

ampl.DataFrame

ampl.Environment

Entities classes

ampl.Entities.Entity

ampl.Entities.Constraint

ampl.Entities.Objective

ampl.Entities.Parameter

ampl.Entities.Set

ampl.Entities.Variable

Instance classes

ampl.Instance

ampl.ConstraintInstance

ampl.ObjectiveInstance

ampl.VariableInstance

ampl.SetInstance