AMPL C++ API#
Contents#
- Introduction
- Initial Setup
- Quick Start
- Complete listing
- Needed headers 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
- Delete the AMPL object to free the resources
- Class structure
- C++ API Reference
- C++ API Examples