Testing Toolboxes (MATLAB Optimization Toolbox)
Mostrar comentarios más antiguos
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 comentario
Oleg Komarov
el 23 de Mayo de 2012
You can request a trial copy of MATLAB: http://www.mathworks.co.uk/products/matlab/tryit.html
Respuestas (1)
Alan Weiss
el 23 de Mayo de 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
Categorías
Más información sobre Get Started with Optimization Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!