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
2012년 5월 23일
You can request a trial copy of MATLAB: http://www.mathworks.co.uk/products/matlab/tryit.html
답변 (1개)
Alan Weiss
2012년 5월 23일
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 Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!