mpsread - fixed variables
1 ビュー (過去 30 日間)
表示 古いコメント
Is there a way to retrieve the list of fixed variables of a MILP problem from its ".mps" file using the "mpsread" function?
0 件のコメント
回答 (1 件)
Divija Aleti
2021 年 4 月 30 日
Hi Lucrezia,
The following syntax will read data for LP and MILP problems from the MPS file 'file.mps' and return the data in a structure. One of the fields of the structure is 'variableNames', which is a string array containing variable names from the MPS file.
problem = mpsread('file.mps','ReturnNames',true)
Hope this helps!
Regards,
Divija
0 件のコメント
参考
カテゴリ
Find more on Deployable Archive Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!