Testing Toolboxes (MATLAB Optimization Toolbox)

f = [-9; -5; -6; -4];
A = [6 3 5 2; 0 0 1 1; -1 0 1 0; 0 -1 0 1];
b = [9; 1; 0; 0];
x = bintprog(f,A,b)
< Enter>

1 件のコメント

Oleg Komarov
Oleg Komarov 2012 年 5 月 23 日
You can request a trial copy of MATLAB: http://www.mathworks.co.uk/products/matlab/tryit.html

サインインしてコメントする。

回答 (1 件)

Alan Weiss
Alan Weiss 2012 年 5 月 23 日

0 投票

f = [-9; -5; -6; -4];
A = [6 3 5 2; 0 0 1 1; -1 0 1 0; 0 -1 0 1];
b = [9; 1; 0; 0];
x = bintprog(f,A,b)
Optimization terminated.
x =
1
1
0
0
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

ヘルプ センター および File ExchangeGet Started with Optimization Toolbox についてさらに検索

質問済み:

2012 年 5 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by