AMPL C# API¶
Contents¶
- Introduction
 - Getting started
 - Class structure
 - C# quick start
- Complete listing
 - Namespaces and AMPL environment creation
 - Load a model from file
 - Solve a problem
 - Get an AMPL entity in the programming environment (get objective value)
 - Modify model data (assign values to parameters)
 - Get numeric values from variables
 - Get arbitrary values via ampl expressions
 - Close the AMPL object to free the resources
 
 - C# API examples
- Example 1: First steps
 - Example 2: Get and set AMPL options
 - Example 3: Use AMPL asynchronously
 - Example 4: Get and set data through DataFrames
 - Example 5: Operate with multidimensional data
 - Example 6: Assign all data to a model and solve it
 - Example 7: Build an efficient frontier
 - Example 8: Simple heuristic
 - Example 9: Simple heuristic
 - Example 10: Redirecting output and error messages
 
 - C# API reference
 - Sphinx AutoAPI Index