AMPL data file toolbox

Writing Matlab data to AMPL data files
668 Downloads
Updated Thu, 10 Jan 2013 20:36:57 +0000

View License

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
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Get Started with Optimization Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0