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 Exchange에서 Get 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