AMPL data file toolbox
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 (2024). AMPL data file toolbox (https://www.mathworks.com/matlabcentral/fileexchange/39795-ampl-data-file-toolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Script to export MATLAB variables to ILOG CPLEX .dat file
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |