You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). MPS format exporting tool (https://www.mathworks.com/matlabcentral/fileexchange/19618-mps-format-exporting-tool), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Extract solution from CPLEX .sol file
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and MATLAB Answers
General Information
- Version 1.4.0.0 (10.3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
