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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Alan Weiss
Alan Weiss am 23 Mai 2012

0 Stimmen

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

Kategorien

Gefragt:

am 23 Mai 2012

Community Treasure Hunt

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

Start Hunting!

Translated by