AMPL Java API#
Contents#
- Introduction
- Initial Setup
- Quick Start
- Complete listing
- Create a project and add references
- Java imports 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
- Class structure
- Java API Reference
- Java API Examples