AMPL Interface to MATLAB
This package (AMPL interface to Optimization Toolbox) connects MATLAB – Optimization Toolbox™ to the AMPL API for MATLAB (version 1.3 or higher).
It provides an interface to Optimization Toolbox solvers that enables
• Solving problems using the AMPL API for MATLAB
• Solving problems saved in NL-format files
• Querying characteristics including function values, gradients and Hessians of either AMPL problems or problems saved in NL-format files.
Linear, quadratic, mixed-integer linear and nonlinear optimization problems are solved with automatic selection of the appropriate Optimization Toolbox solver.
The problem characteristic query functionality is useful for those developing their own solvers or performing pre- and post-solution analysis.
The AMPL interface must be built for each platform where it will be used. Building the interface requires MATLAB, a C/C++ compiler, and a make utility. Instructions are in the readme_build_ampl_interface file.
To solve or query AMPL models, both AMPL (64-bit) and the AMPL API for MATLAB must be installed.
This package was developed by Aykut Bulut and Steve Grikschat from the development group at MathWorks.
Citation pour cette source
Steve Grikschat (2024). AMPL Interface to MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/64634-ampl-interface-to-matlab), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
ampl_interface
ampl_interface/private
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1.0 | Added GCC 5.x and greater compatible library for Linux. This extends compatibility to MATLAB R2018a. |
||
1.0.0.0 |