Testing Toolboxes (MATLAB Optimization Toolbox)
Show older comments
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 Comment
Oleg Komarov
on 23 May 2012
You can request a trial copy of MATLAB: http://www.mathworks.co.uk/products/matlab/tryit.html
Answers (1)
Alan Weiss
on 23 May 2012
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
Categories
Find more on Get Started with Optimization Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!