Test problem LP

버전 1.0.0.1 (10.5 KB) 작성자: Per Bergström
A program that creates a LP test problem with a sparse matrix.
다운로드 수: 2.4K
업데이트 2025/6/23

라이선스 보기

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 (2026). Test problem LP (https://kr.mathworks.com/matlabcentral/fileexchange/8845-test-problem-lp), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2025a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Optimization Toolbox에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.1

These scripts were originally published over 20 years ago. I've now updated it to work with modern Matlab versions. Minor changes were made to improve compatibility and maintain original behavior.

1.0.0.0

A small bug in simsys_sparse2 is now fixed.