simplex tableau and Matlab

バージョン 1.0.0.0 (1.65 KB) 作成者: Chun Zheng
Solving the simplex tableau using matlab
ダウンロード: 2K
更新 2007/4/11

ライセンスがありません

Simplex tableau is used to find the best strategy for a linear system.

There are various subfunctions but the
functions in the zip file, but the main function is called simplexTab.

given the simplex tableau 'a' and specifying the number of free variables.
just a sample run:
a=[7 3 9 1 0 0 0 1;8 5 4 0 1 0 0 1;6 9 5 0 0 1 0 1; -1 -1 -1 0 0 0 1 0];
numFreeVar=3;
c=optiDual(a,numFreeVar);

c =

Columns 1 through 4

0 0 1 42/253
1 0 0 -1/23
0 1 0 -16/253
0 0 0 15/253

Columns 5 through 8

-45/253 1/23 0 8/253
6/23 -3/23 0 2/23
-19/253 4/23 0 9/253
2/253 2/23 1 39/253

v=1/(39/253)
X=[8/253 2/23 9/253];

col strategy=vX;

v=1/(39/253)
Y=[15/253 2/253 2/23];
row strategy=vY;

引用

Chun Zheng (2024). simplex tableau and Matlab (https://www.mathworks.com/matlabcentral/fileexchange/14617-simplex-tableau-and-matlab), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLinear Prediction についてさらに検索
謝辞

ヒントを与えたファイル: Linear Programming Simplex Algorithm

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0