You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This toolbox contains a collection of functions for writing to AMPL (http://www.ampl.com/) data files. AMPL is A Mathematical Programming Language for modelling optimization problems. AMPL combines a (typically hand-coded) model file, containing the symbolic structure of the problem, with a data file containing parameter values and invokes a solver. Generating the data file from Matlab eases the process of problem generation. AMPL can also write results to text files that can be directly loaded into Matlab using the 'load' command. Thus, combining the data file utilities, invoking AMPL from Matlab by '!', and loading results back into Matlab, optimizing via AMPL can be embedded in a Matlab analysis process. See http://seis.bris.ac.uk/~aeagr/software.html for examples involving model predictive control of vehicles.
Cite As
Arthur Richards (2026). AMPL data file toolbox (https://www.mathworks.com/matlabcentral/fileexchange/39795-ampl-data-file-toolbox), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Script to export MATLAB variables to ILOG CPLEX .dat file
General Information
- Version 1.0.0.0 (5.33 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
