Test problem LP

版本 1.0.0.0 (8.8 KB) 作者: Per Bergström
A program that creates a LP test problem with a sparse matrix.
2.4K 次下载
更新时间 2005/12/1

查看许可证

This is a program that generates a test problem for linear optimization with a sparse matrix. The test problem is of the kind

min c'*x
s.t. Aeq*x=beq
lb<=x<=ub

where lb is a zero vector and ub is greater then a zero vector so that the problem has a solution.

The problem that generates is a minimum cost flow network problem. When the problem is generated the program will (if you want) show the graph of the problem.

You call the program with the command

[Aeq,beq,lb,ub,c]=simsys_sparse(m)

where m is the number of rows you want Aeq to have. Before you change some variable in the program you have to choose m>=11.

See the help-notes of each m-file.

引用格式

Per Bergström (2024). Test problem LP (https://www.mathworks.com/matlabcentral/fileexchange/8845-test-problem-lp), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Optimization Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

A small bug in simsys_sparse2 is now fixed.