,,,
1.
1.1
1.2
2. -
2.1 -
2.2
3.
4. . .
4.1
4.2
4.3
. .
, , , .
, , , .
( )
(1.1)
D Ì Rn , x Î D
(1.2)
, ,
(1.3)
He , , (1.2) , l-. , . , . , (-1) , . (1.3), , , ( ).
, ( ) . ,
(1.4)
(1.5)
(1.1) - (1.3), ,
(1.6)
x Rn, b Rm, a m ´ .
, (1.1) - (1.3), ().
xj , , (). :
(1.7)
f D, (), (D, f).
, .
Rn.
, (1.2)-(1.3), . . D. D . * , ( ) , . . ,
max f(x) = f(x*).
f* = f(x*) .
(*, f*), , .
. .
:
Ø , 0, . . ;
Ø, , :
Ø, , -1:
, , , , , .
, , , , . , , .
-, ( ), 1947 . .
(2.1)
, (2.2)
Xj³ 0, j=1,,n (2.3)
, X0, , , m :
X0=(X10,X20,,Xm0, 0, , 0), (2.4)
=(A1,A2,,Am).
, k- (k>m) Q >0:
X(Q) = (X1(Q), X2(Q),,Xm(Q), 0, ,Q, 0) (2.5)
(2.4) (2.2),
(2.6)
(2.5) (2.2),
(2.7)
Ak
(8)
m m , , . , , ( ), ; .
(2.6) (2.8) (2.7),
, (2.9)
(2.10)
(2.10) , m
(2.11)
. (2.11) Zjk>0, Q Zjk.
, () m, m ()
(2.12)
(2.11) (2.1),
(2.13)
, (2.14)
, (2.15)
(2.13)
(16)
.
1 ( ). Dk ³ 0, .
2. Dk < 0 Zjk >0, .
(2.16); (2.12) k- Q () (2.11).
3. Dk < 0, Zjk£0, .
, (2.11) Q>0 ( ) (2.16) .
, m , , j 1 m (2.11)-(2.15) jÎ.
( m), Q (2.16) , . . . ( ), .
. Zjk Xk .
.. :
C |
|
C1 |
C2 |
Cm |
Cm+1 |
Ck |
Cn |
||||
|
|
X |
X1 |
X2 |
Xm |
Xm+1 |
Xk |
Xn |
|||
1 |
X1 |
B1 |
1 | 0 | 0 |
Z1m+1 |
Z1k |
Z1n |
|||
2 |
X2 |
B2 |
0 | 1 | 0 |
Z2m+1 |
Z2k |
Z2n |
|||
Cm |
Xm |
Bm |
0 | 0 | 1 |
Zmm+1 |
Zmk |
Zmn |
|||
Zk |
L(X) |
Z1 |
Z2 |
Zm |
Zm+1 |
Zk |
Zn |
||||
Dk |
D1 |
D2 |
D m |
D m+1 |
Dk |
Dn |
, X - ( ), - , , . - . , ( X ( Bi≥0) L(X); Xk Zk). .
.. ( ) , / .
. . ( ) , , .
, m m , .
, .. , , - , >0 - .
- .
- , .
- , ( ).
, Z , .
( , , "-" ..) . , . , ( , 1 0) .
, , , .
B : , , , , .
, . . , :
(3.1)
( ; ). , , .
, . . . , , k- , ,
, (3.2)
fk - ( ) fkj - Xj ( , ; ), S* - .
, :
1) , ;
2) , D j fk j ;
3) , ( , ).
. , , , Q ( ) , ( ).
, ( ).
, ( ).
. MatLAB, .
, MatLAB Optimization Toolbox linprog , - , .
.
.
MatLAB . MatLAB Toolbox.
( 1), , .
, , / MatLAB.
1.
MatLAB . ( 1) MatLAB guide ( 2) GUI GUI- MainSimplexForm.fig ʻ.
2. GUIDE - GUI- MatLAB
( 3) Ctrl+T . ( 1).
3. GUI-
( 4), , .
4.
. matex , .
Windows , .
MatLAB.
, , ( 5).
5.
( 6).
6.
. , ! .
( 7).
7.
, .
:
1. parser_input 2x1+5x2-7x3 ;
2. parser_allogr , , , ;
3. load_example ;
4. save_example ;
5. simple_simplex , -;
6. gomory_simplex , ;
7. MainSimplexForm , .
MatLAB : help _
MatLAB, .. .
, .
, - .
, , , , , .. .
1. .. - ( ), 2-, , , 2007.
2. .. , .: , 2008.
3. .. , .: , 2009 .
4. .., .., .. MATLAB 7, .: -, 2005.
5. . MATLAB 6: , .: , 2010.
1. 1.1 1.2 2. - 2.1 - 2.2
Copyright (c) 2024 Stud-Baza.ru , , , .