MPS format exporting tool
Build MPS matrix string that contains linear programming problem:
Minimizing (for x in R^n): f(x) = cost'*x, subject to
A*x <= b (LE)
Aeq*x = beq (EQ)
L <= x <= U (BD).
Only single rhs (b and beq) is supported.
The MPS file format was introduced for an IBM program, but has also been
accepted by most subsequent linear programming codes.
To learn about MPS format, please see:
http://lpsolve.sourceforge.net/5.5/mps-format.htm
http://www-fp.mcs.anl.gov/OTC/Guide/OptWeb/continuous/constrained/linearprog/mps.html
Cite As
Bruno Luong (2024). MPS format exporting tool (https://www.mathworks.com/matlabcentral/fileexchange/19618-mps-format-exporting-tool), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Optimization Toolbox > Linear Programming and Mixed-Integer Linear Programming >
Tags
Acknowledgements
Inspired: Extract solution from CPLEX .sol 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.