Optimization Exercise Book
Optimization Exercise Book
Optimization Exercise Book
R.nxbat
D.Nmsrn
M.Mnd-Amar
Ulaanbaatar xot
2005 on
1
1.1
Funkcin ggdsn olonlog drx xamgin ix swl xamgin baga utgaa awdag cgig olox
bodlogyg optimizacin bodlogo gn. f (x) funkcig X olonlog dr minimumqlax bodlogyg
f (x) min, x X
(1.1)
f (x ) f (x), x X
(1.2)
nxcl bielj bawal tnig f (x) funkcin X olonlog drx global minimumyn cg swl
(1.1) bodlogyn global id gn. Xrw x X Rn cgin xuwd
f (x ) f (x), x X O (x )
(1.3)
nxcl bielj baxaar too oldoj bawal tnig f (x) funkcin X olonlog drx lokal
minimumyn cg swl (1.1) bodlogyn lokal id gn. nd O (x ) = {x Rn | ||xx || }
n x dr twt radiusta bmblg m. Xrw (1.2), (1.3) nxcld n x 6= x xuwd
rs bielj bawal x -g xargalzan rs global, rs lokal minimumyn cg gj rdag. f (x)
funkcig X olonlog dr maksimumqlax bodlogo n
f (x) max, x X
(1.4)
f (x) min, x X
1
1.2
f funkcin X olonlog drx dood torgon zaag rr xlbl f = inf f (x) = inf f (x)
xX
1.3
Kwadratlag funkc
f (x) =< Ax, x > + < b, x > +c =
n X
n
X
i=1 j=1
aij xi xj +
n
X
bj xj + c,
(1.5)
j=1
Teorem 1.3 (1.5) kwadratlag funkc n swl Rn dr dooroosoo zaaglagdaag bana swl
Rn dr global minimumyn cgt bana. Xrw xor dax nxcl n bielgdj
2
Teorem 1.4 Xrw A matric n erg todorxologdson .x. < Ax, x >> 0, x Rn , x 6= 0
bawal kwadratlag funkc (1.5) n Rn dr tgsglg sdg bgd X Rn dr
global minimumyn cgt bana.
1.4
Dasgal
1.1.
f (x) = (k a)x + e(kb)(kc)x funkc R tnxlg dr global minimumyn cgt bax k
parametrin bx utgyg ol. Mn f = inf f (x) utga tgslg bolowq n utgand xrgdg cg
R
R s olddogg bax k parametrin bx utgyg ol.
3
a
4
1
9
5
2
1
2
3
4
5
b
2
3
1
3
3
c
7
5
3
8
4
Xsngt 1.1.
a b c
a
6
7
8
9
10
7
3
8
5
7
5
5
2
2
3
9
6
7
6
5
11
12
13
14
15
8
4
3
9
5
b
6
7
1
4
6
c
9
8
9
7
7
16
17
18
19
20
a
8
6
7
9
6
b
5
8
5
6
2
c
7
9
8
7
5
1.2.
f (x, y) = kx2 + 2axy + b2 y 2 + cx + my kwadratlag funkc R2 dr global minimumyn cgt
bax k, m parametrdin bx utguudyg ol.
1
2
3
4
5
a
2
1
3
4
5
b
c
3 6
8 -1
4 6
5 -8
2 10
6
7
8
9
10
a
1
3
5
2
4
Xsngt 1.2.
b
c
a
4
2
3
5
3
-2
9
5
-4
-12
11
12
13
14
15
5
1
4
2
3
b
c
2 15
4 -3
5 -4
3 8
7 6
16
17
18
19
20
a
4
5
3
1
2
b
c
3 16
6 -10
4 -15
3
4
5 -2
1.3.
Doorx f (x, y) funkcuudyn R2 xawtga drx L = {(x, y)|f (x, y) = } twni ugamuudyg
= 0, 1, 2 ed tus tus drsl. a. ax + by
b. ax2 + by 2
w. ax2 by 2
d. a|x| + b|y|
e. a|x| b|y|
g. ax2 + by
3
3
3
j. ax + by
z. axy bx :
1
2
3
4
5
a
b
2 3
3 4
5 6
7 3
9 10
Xsngt 1.3.
a b
a
6
7
8
9
10
4
5
3
4
8
5
3
1
2
6
11
12
13
14
15
3
6
7
1
8
b
6
4
5
4
9
16
17
18
19
20
a
1
8
5
6
5
b
2
7
2
9
8
1.4.
R2 dr koordinatyn xin X = {(x, y)| ax + by c} xagas xawtga drx proekcig ol.
1
2
3
4
5
a b c
2 1 3
1 -3 1
3 2 4
-5 1 3
4 -5 2
Xsngt 1.4.
b c
a
6
7
8
9
10
a
1 -5
4 1
-2 3
-4 2
2 5
4
5
1
2
3
11
12
13
14
15
4
1
2
-3
1
4
b
-2
4
1
4
3
c
1
2
5
3
4
16
17
18
19
20
a
5
-3
-5
5
-3
b
-2
5
4
3
4
c
5
3
2
4
1
1.5.
(a, b) R2 cgin X = {(x, y)| x2 + y 2 c2 } dugu drx proekcig ol.
1
2
3
4
5
a b c
3 5 3
4 -1 4
5 1 5
1 2 1
2 -3 2
Xsngt 1.5.
b c
a
6
7
8
9
10
a
-1 3
6 -1
-4 1
2 7
5 2
2
5
4
1
3
11
12
13
14
15
1
1
-5
1
3
b
-4
3
4
-2
-2
c
3
1
5
2
3
a
-1
-2
-3
7
1
16
17
18
19
20
b
5
5
2
-3
4
c
4
2
1
2
4
1.6.
f (x, y) = x2 + ay 2 funkcin X = {(x, y)| |x| + b|y| c} olonlog drx global maksimumyn
cgig ol.
a
3
1
5
2
1
1
2
3
4
5
b
2
2
2
3
3
c
4
3
2
4
3
6
7
8
9
10
a
5
10
1
3
20
Xsngt 1.6.
b c
a
3 2
3 4
4 1
4 2
4 3
11
12
13
14
15
b
2 1
1/2 1
4/5 1
12 3
8 3
c
3
2
1
6
4
16
17
18
19
20
a
6
1
5
20
30
b
c
2 9
2 4
2 5
5 10
5 20
1.7.
f (x, y) = ax2 by 2 funkcin X = {(x, y)| |x + 1| + |y c| 1} olonlog drx global
kstremumyn cgdig ol.
1
2
3
4
5
a
5
3
10
5
4
b
c
2 3/4
1
1
3 7/6
1
2
1 3/2
6
7
8
9
10
a
5
2
7
8
11
Xsngt 1.7.
b
c
a
3 1/3
1 1/2
5 1/5
3 5/6
3 4/3
11
12
13
14
15
6
7
13
9
9
b
1
1
5
2
7
c
5/2
3
4/5
7/4
1/7
16
17
18
19
20
a
7
3
5
7
8
b
3
2
4
2
1
c
2/3
1/4
1/8
5/4
7/2
1.8.
f (x, y) = ax y funkc X = {(x, y)| x y kx + b|x| + c} olonlog dr global minimumyn
cgt bax k parametrin bx utguud todorxolj, dgr cgdig ol.
1
2
3
4
5
a
6
7
8
3
5
b
3
2
4
1
2
c
5
2
3
1
4
Xsngt 1.8.
b c
a
6
7
8
9
10
a
4 2
7 3
9 4
10 3
2 1
2
3
5
4
1
11
12
13
14
15
5
8
10
4
6
8
b
2
4
1
2
3
c
4
1
5
3
2
16
17
18
19
20
a
6
9
5
9
10
b
1
2
1
3
2
c
3
1
2
5
4
Bodlogo
1.1.
X duryn olonlog, f n X olonlog drx duryn toon funkc, n U R dr sdg funkc
bgd f (x) U, x X bag. Tgwl (1.1) bodlogo n
(f (x)) min, x X
bodlogoto kwiwalent boloxyg batal. rr xlbl dgr bodloguudyn rs bolon rs
bi global swl lokal minimumyn cgdin olonloguud n xargalzan dawxcdag bgd
inf (f (x)) = (inf f (x)) boloxyg batal.
X
1.2.
X n duryn olonlog bag. X olonlog dr todorxologdson duryn f funkcin xuwd
f = inf f (x) ge. Tgwl daraax tnctgl bolon tnctgl bidig batal.
a.
b.
w.
g.
d.
e.
(f + ) = f + , , R, > 0
(f + g) f + g
xrw f 0, g 0 bol (f g) f g
(min{f, g}) = min{f , g }
(max{f, g}) max{f , g }
xrw f > , g > bol f (x)g(x) + f g f (x)g + g(x)f , x X.
1.3.
f (x, y) funkc n X Y dekartyn rjwr dr todorxologdson bag.
a. inf f (x, y) = inf inf f (x, y) = inf inf f (x, y)
XY
1.4.
X Rn olonlog dr todorxologdson f funkcin xuwd {k k } X, lim xk = x nxk
cls f (x) lim f (xk ), (f (x)) lim f (xk ) nxcl mrdj bawal tnig x cg dr
k
dooroosoo
( (drs) xagas tasraltg gj rdag.
1, xrw x > 0
f (x) =
funkc dooroosoo(drs) xagas tasraltg bolj baxaar 0
1, xrw x < 0
cg dr todorxol.
1.5.
f funkc x cg dr tasraltg bax zalg bgd xrlct nxcl n trr n
cg dr drs bolon dooroosoo xagas tasraltg bax wdal boloxyg batal.
6
1.6.
f funkc dooroosoo xagas tasraltg bax kzalg bgd xrlct nxcl n f
funkc n drs xagas tasraltg bax wdal boloxyg batal.
1.7.
Xor dooroosoo xagas tasraltg funkcuudyg nmxd, dooroosoo xagas tasraltg funkcig
srg bi toogoor rjixd dooroosoo xagas tasraltg funkc garna gdgig tus tus batal.
1.8.
X Rn bolon Y Rn duryn olonloguud, (x, y) funkc n X Y dr todorxologdson
bgd bxlgdsn y Y brin xuwd X dr dooroosoo xagas tasraltg, bxlgdsn
x X brin xuwd Y dr drs zaaglagdsan bag. Tgwl f (x) = sup (x, y) funkc n
Y
1.10.
X n Rn drx duryn olonlog, Y n Rm drx kompakt, (x, y) n X Y dr tasraltg(dooroosoo xagas tasraltg) funkc bag. f (x) = min (x, y) funkc n X dr tasraltg
(dooroosoo xagas tasraltg) bana gj batal.
1.11.
X n Rn drx duryn olonlog, Y n Rm drx kompakt, (x, y) n X Y dr tasraltg
funkc bag. Bxlgdsn x X xuwd (x, y) funkc n Y dr global minimumdaa coryn
ganc y(x) cg dr xrdg gj ze. y(x) funkc n X dr tasraltg gj batal.
1.12.
Toon daraalal {ak } n l buurax, .x. k xuwd ak ak+1 bag. lim ak = sup ak boloxyg
k
batal.
1.13.
X n Rn drx duryn olonlog, fk (k = 1, 2, . . . ) d n X dr x X-in xuwd fk (x)
daraalal n l buurax gsn nxclig xangadag funkcuud bag. Tgwl
a. lim sup fk (x) = sup lim fk (x)
k X
X k
1.14.
X n Rn drx kompakt, fk (k = 1, 2, . . . ) d n x X xuwd {fk (x)} daraalal n l
buurax, drs zaaglagdsan nxclig xangax X dr dooroosoo xagas tasraltg funkcuud
bag. Tnqln xk n fk (x) funkcin X drx global minimumyn cg, x
n {xk } daraallyn
duryn xzgaaryn cg bag.
a. lim min fk (x) = min lim fk (x);
k X
b. x
n f (x) = lim fk (x) funkcin X olonlog drx global minimumyn cg
k
boloxyg tus tus batal.
1.15.
X = {x X| f (x) }, R olonlogig f funkcin X Rn olonlog drx Lebegin
olonlog gn. Daraax glbrdig batal.
a. xrw X bitbgd f n X dr dooroosoo xagas tasraltg bol bx X olonloguud n
bit.
b. xrw bx X olonloguud n bit bol f n X dr dooroosoo xagas tasraltg bana.
1.16.
Daraax Wertrassyn rgtgsn teoremyg batal.
X n Rn drx bit olonlog, f n X dr dooroosoo xagas tasraltg funkc bgd tni
mar ngn Lebegin olonlog X n xooson bi, zaaglagdsan bag. Tgwl f yn X drx
global minimumyn cg n orin bana.
1.17.
Tgsglg sdg funkcin bx Lebegin olonloguud n zaaglagdsan bana gdgig batal.
1.18.
Teorem 1.2. yn daraax rgtglig batal.
X n Rn drx duryn olonlog, f n X dr tgsglg sdg, dooroosoo xagas tasraltg
funkc bag. Tgwl f funkcin X drx global minimumyn cg orin bana.
1.19.
Teorem 1.3. yg batal.
1.20.
Teorem 1.4. yg batal.
1.21.
gclt dr tasraltg bgd
X n Rn drx zaaglagdsan olonlog, f funkc n X
1.22.
f1 (), f2 (), . . . , fn () n toon argumentt funkcuud bgd 0 ed tasraltg, >
0 ed tasraltg differencialqlagddag bgd lim fj0 () = , (j = 1, 2, . . . , n) bag.
0+
n
n
P
P
n
Tgwl f (x) =
fj (xj ) funkcin X = {x R |
xj = 1, xj > 0, j = 1, 2, . . . , n} olonlog
j=1
j=1
1.23.
Tasraltg funkc f n Rn dr global minimumyn cgt bag. nds f n duryn
bit X Rn gsn olonlog dr f global minimumdaa xrn gj mrdj garax uu?
1.24.
Tasraltg funkcuud f bolon g-d n X Rn bit olonlog dr global minimumyn
cgdt bag. nds f + g n X dr mn global minimumdaa xrn gj mrdj garax
uu?
1.25.
f (x) = (a + 1)x + a ln x 2 sin x funkc erg toonuudyn olonlog dr global minimumyn
cgt bax a parametrin bx utguudyg ol.
1.26.
f (x, y) = (a 2)(a 3) expx + |y+10|
funkc X = {(x, y)|(a 4)x2 + y 2 1} olonlog dr
y 2 +1
global minimumyn cgt bax a parametrin bx utguudyg ol. Tnqln f = inf f (x, y)
X
utga tgslg bolowq n utgand xrgx cg olddogg bax a parametrin bx utguudyg ol.
1.27.
f (x, y) = x + ay funkc X = {(x, y)|bx2 2xy + y 2 1} olonlog dr global minimumyn
cgt bax a bolon b parametrdin bx utguudyg ol.
1.28.
f (x, y) = 4x2 + (a 4)xy 2 funkc X = {(x, y)|(a 1)x + y 2 1} olonlog dr global
minimumyn cgt bax a parametrin bx utguudyg ol.
1.29.
(1, 3, 8) cgin X = {(x, y, z)|0 x 2, 4 y 5, 6 z 7} parallelepiped drx
proekcig ol.
1.30.
(x0 , y0 ) cgin X = {(x, y)|ax + by = 1, x 0, y 0}, a > 0, b > 0 olonlog drx
proekcig ol.
9
1.31.
(x0 , y0 ) cgin X = {(x, y)|x2 + y 2 1, y 0 olonlog drx bx proekcig ol. Daraax
bodloguudyn global iddig ol. (ggdsn tgitgl, tnctgl bid n bolomjit
idin mujig drsln.)
1.32.
f (x, y) = xy max, ax + by = 1, nd a > 0, b > 0.
1.33.
f (x, y) = ln x + y min, x y 2, x + y 2 4, x > 0.
1.34.
f (x, y) = 2x y max, x2 + y 2 1, x y 0, x + y 1.
1.35.
f (x, y) = x +
y min, x + y 1, x2 + y 2 = 1.
1.36.
f (x, y) = max{|x 2|, |y|} min, 2|x| |y| 2.
1.37.
f (x, y) = (x 1)2 + y 2 min, x2 + y 2 = 2axy, nd a R.
1.38.
f (x, y) = 4x2 + y 2 max(min), |x 3| + |y a| 1, nd a 0.
1.39.
x3 + y 3 max, x2 + 4y 2 4 bodlogyn lokal idig ol.
1.40.
a parametrin mar utgand daraax bodlogo global idt, mar utgand lokal idt
bax w? x + ay max, x3 + y 3 = 3xy
1.41.
2x + y max, x2 y 2 1, 0 y ax + 1 bodlogo global idt bax a parametrin
bx utguudyg ol. nx blgin slqin 3 bodlogo n maksimumyn aksiomatik todorxololtyn tuxa Kukukiny teoremd zoriulagdsan bolno.
1.42.
10
1.43.
mnx bodlogyn xuwd F funkcionalin xuwd daraax olonloguudyg xargalzuulan oruul.
Ef = {x X|f (x) F (f )}, f C(X)
T
E=
Ef .
f C(X)
Tgwl
a. Duryn Y X, Y E = gsn bit olonlogin xuwd min f (x) > F (f ) tnctgl
biig xangax f C(X) funkc oldono;
b. E xooson bi, bit olonlog;
w. max f (x) F (f ), f C(X) boloxyg tus tus batal.
2
2.1
(2.1)
f
f
(x), . . . , x
(x)) n f funkcin
gsn nxclt bi kstremumyn bodlogo gsn bag. f 0 (x) = ( x
n
1
2f
00
ngdgr rmbin tuxan ulamjlaluudaas zoxioson wektor(gradient), f (x) = ( xi x
(x))i,j=1,...,n
j
f funkcin xordugaar rmbin tuxan ulamjlaluudaas zoxioson matric(gessian).
Teorem 2.1(ngdgr rmbin zalg nxcl) f funkc n x Rn cg dr differencialqlagddag bag. Tgwl xrw x n (2.1.) bodlogyn lokal id bol
f 0 (x ) = 0
(2.2)
bana. (2.2) nxclig xangaj bagaa x Rn cgdig (2.1) bodlogo bolon f funkcyn
stacionar cgd gn.
(2.3)
bana.
(2.4)
2.2
Differencialqlagddag buulgalt.
Fi
(x))i=1,...,m,
xj
j=1,...,n
12
Dasgal
2.1.
f (x, y) = ax2 + 2xy + by 2 2x 3y funkcin global minimumyg R2 xawtga dr ol.
a
1
1
1
1
1
1
2
3
4
5
Xsngt 2.1.
a b
a
b
2
3
4
5
6
6
7
8
9
10
2
2
2
2
2
1
2
3
4
5
11
12
13
14
15
3
3
3
3
3
b
1
2
3
4
5
16
17
18
19
20
a
4
4
4
4
4
b
1
2
3
4
5
2.2.
f (x, y) = axy +
b
x
c
y
1
2
3
4
5
b
1
2
2
1
3
c
3
4
3
2
1
Xsngt 2.2.
a b c
a
6
7
8
9
10
3
2
4
4
4
4
1
1
1
2
1
4
2
3
3
11
12
13
14
15
4
1
2
3
1
b
1
4
4
4
3
c
1
1
3
2
4
16
17
18
19
20
a
2
1
1
3
3
b
3
1
1
1
1
c
3
4
1
3
4
2.3.
f (x, y) = x2 + xy + ay 2 b ln x c ln y min, x > 0, y > 0 bodlogyn global idig ol.
1
2
3
4
5
a
3/2
1/2
5/2
1/6
7
b
2
3
2
6
2
c
1
2
1
5
1
a
7/3
2/3
2
3/4
2/5
6
7
8
9
10
Xsngt 2.3.
b c
a
3
3
3
4
5
2
1
1
2
3
11
12
13
14
15
b
1/8 8
4 3
3/2 4
4/5 5
1/2 6
c
6
1
2
3
4
a
7/4
5/2
1
3/5
2/3
16
17
18
19
20
b
4
4
5
5
6
c
1
1
2
1
2
2.4.
f (x, y) = exp (x2 + y 2 )(ax2 + by 2 ) funkcin R2 drx kstremumyn cgdig ol.
1
2
3
4
5
a
1
7
1
8
1
b
2
3
4
5
6
Xsngt 2.4.
a b
a
6
7
8
9
10
8
2
2
7
2
3
4
5
6
7
11
12
13
14
15
13
9
3
3
7
3
b
1
5
1
2
6
16
17
18
19
20
a
4
6
4
1
5
b
1
7
3
5
6
2.5.
f (x, y) = ax+by+c
funkcin R2 drx kstremumyn cgdig ol.
2
2
x +y +1
1
2
3
4
5
a b c
4 -1 2
4 2 -1
1 2 4
3 1 2
3 -1 -2
Xsngt 2.5.
b c
a
6
7
8
9
10
a
1 3 -4
-1 3 4
2 5 2
1 3 -3
2 1 3
11
12
13
14
15
-2
4
6
6
4
b c
4 1
-2 -1
1 6
1 -6
6 -1
a b
2 3
3 1
6 -1
1 5
1 -1
16
17
18
19
20
c
3
4
-2
4
-4
2.6.
f (x, y) = ax3 + ax2 y + bx + 31 y 3 + cy funkcin R2 drx kstremumyn cgdig ol.
Xsngt 2.6.
b
c
a
-5/4 -5/2 -11/2
-5/4
5/2
1/2
-5/4
-10
-22
-5/4
10
2
-5/4
-5
-11
-5/4
5
1
-5/4 -5/2 -19/2
-5/4
5/2 -1/3
-5/4 -15/2
-19
-5/4 15/2
-1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
a
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
b
c
-2 -17/8
2
7/8
-8 -17/2
8
7/2
-4 -17/4
4
7/4
-2 -7/3
2
2/3
-6
-7
6
2
2.7.
f (x, y) = x3 y 2 (ax + by + c) funkcin R2 drx kstremumyn cgdig ol.
1
2
3
4
5
a
-4
-3
-1
-5
-1
b
-1
-1
1
-1
-1
c
1
9
3
4
7
Xsngt 2.7.
b c
a
6
7
8
9
10
a
-2 -1 3
-4 1 2
-2 -1 8
-4 -1 4
-2 1 6
11
12
13
14
15
-5
-1
-1
-3
-4
b c
-1 5
1 2
-1 9
1 8
1 5
16
17
18
19
20
a
-3
-2
-9
-2
-2
b
-1
-1
1
-1
1
c
7
2
3
1
9
2.8.
(0, 1) cg n f (x, y) = k 3 x exp y k 2 a ln(x + a3
y) + ((a + b 1)k b)x + kcy + 2bxy funkcin
a
kstremal bolj bax k parametrin bx utgyg todorxolj, kstremalin inj qanaryg
talbarla.
14
Xsngt 2.8.
b
c
a
1
2
3
4
5
6
7
8
9
10
a
5/2 1/2 -5/2
3/2 -1/2 -3/2
-1/2 1/2 7/2
-2
2
8
-5/2 5/2 19/2
-3
3
11
-4
4
14
-5
5
17
-6
6
20
5/2
-1
-4
11
12
13
14
15
16
17
18
19
20
2
3/2
1
-7/2
-4
7/2
3
2
5/2
1
b
c
-2
-4
-3
-4
-4
-4
5
14
6
16
-3/2 -13/2
-3
-7
-6
-8
-9/2 -15/2
-9
-9
Bodlogo
2.1.
(2.1)-(2.3) teoremuudyg batal.
2.2.
y2
4x
2.13. f (x, y) = x2 + y +
z2
y
1
x+y
2
z
min, x + y > 0.
2.14.
x n differencialqlagddag funkc f -in R drx coryn ganc stacionar cg bgd
lokal minimumyn cg boldog bag. Tgwl nx cg mn global minimumyn cg bolno
gj batal.
2.15.
R2 dr g ng stacionar cgt bgd tr n lokal minimumyn cg bolood global
minimumyn cg boldogg differencialqlagddag funkcin ji baguul.
2.16.
R2 dr g m irxg stacionar cgt bgd tdgr n bgdr lokal minimumyn
cg badag differencialqlagddag funkcin ji baguul.
2.17.
R2 dr tg toony stacionar cgt bgd tdgr n bgdr lokal minimumyn
cg badag differencialqlagddag funkcin ji baguul.
3
3.1
(3.1)
gsn xlbrr biqe. Xuwsagqig zaluulax argaar idig xaj bolno. Bolomjit
idin olonlog n n l mdgdgqt, m tgitgldin sistems togtoj bagaa bgd
n drmr m < n bana. x = (u, v) Rm Rnm bolon v Rnm yn xuwd
gi (u, v) = 0, i = 1, . . . , m
gsn m xuwsagqta m tgitgldin sistem n u = u(v) gsn coryn ganc idt
bag. Tgwl (3.1) bodlogo n nxclt bi minimumqlalyn daraax bodlogo ruu iljin.
(3.2)
L(x, 0 , ) = 0 f (x) +
m
X
gi (x),
i=1
m
X
gi0 (x)
i=1
m
X
gi00 (x)
i=1
m
X
gi (x),
i=1
(3.4)
(3.5)
bana.
(3.6)
Dasgal
3.1.
Daraax bodlogyg xld xuwsagqig zaluulax argaar, daraa n Lagranjin argaar bod.
xy 3 max, ax + by = c
1
2
3
4
5
a
2
1
3
2
4
b
3
5
1
4
1
c
7
8
6
9
6
6
7
8
9
10
a
2
1
3
4
1
Xsngt 3.1.
b c
a b
5
4
5
3
6
6
8
7
6
9
11
12
13
14
15
3
1
2
4
4
1
5
7
4
2
c
10
10
10
8
12
16
17
18
19
20
a
6
6
8
8
8
b
c
2 4
2 8
2 5
2 10
3 11
3.2.
x2 + y 2 = c2 gsn nxcld f (x, y) = ax + by funkcin kstremumyn cgdig ol.
1
2
3
4
5
a b c
2 -3 5
4 1 3
-3 4 2
-2 1 1
2 3 4
Xsngt 3.2.
b c
a
6
7
8
9
10
a
7 2 4
-2 6 2
-1 7 5
-4 -1 3
-2 -3 1
11
12
13
14
15
-2
5
-5
-7
1
b
-5
-3
-1
-1
-7
c
5
1
2
4
3
16
17
18
19
20
a b
5 1
-1 5
2 5
-5 3
1 7
c
3
1
2
5
4
3.3.
4x2 + cy 2 = 9 gsn nxcld f (x, y) = ax2 + 2xy + by 2 funkcin kstremumyn cgdig ol.
18
a
1
3
1
1
1
1
2
3
4
5
b
1
4
1
2
1
c
3
5
2
6
1
Xsngt 3.3.
b c
a b
a
3
5
3
7
5
6
7
8
9
10
2
4
5
9
2
2
3
6
5
1
11
12
13
14
15
5
5
9
9
3
c
6
2
1
3
7
8
3
3
7
6
a
b c
7 4 2
13 4 1
7 11 6
9 5 2
7 13 7
16
17
18
19
20
3.4.
x2 + y 2 = c2 gsn nxcld f (x, y) = ax3 + by 3 funkcin kstremumyn cgdig ol.
1
2
3
4
5
a
3
7
1
7
3
b
2
3
2
2
4
Xsngt 3.4.
a b c
a
c
2
3
5
1
2
6
7
8
9
10
3
4
1
5
3
1
3
4
2
5
3
4
5
2
1
11
12
13
14
15
1
4
5
2
2
b
8
1
3
5
1
c
1
5
4
3
2
16
17
18
19
20
a
2
2
8
1
3
b
3
7
1
3
7
c
4
1
2
5
3
3.5.
ax3 + by 3 3cxy = d gsn nxcld f (x, y) = y 2 funkcin kstremumyn cgdig ol.
1
2
3
4
5
a b c
9 2 9
-36 1 9
-9 2 9
7 2 7
3 2 3
d
-16
8
16
16
-4
6
7
8
9
10
a
12
1
4
-7
36
Xsngt 3.5.
c
d
a
b
1 6 -16
2 1
4
1 2 16
2 7 -16
1 9 -8
11
12
13
14
15
b
-1 2
-4 1
-18 4
9 16
14 4
c
d
1 -4
2 -16
9
4
9 -2
7
4
16
17
18
19
20
a
b c d
-7 16 7 -2
28 1 7 8
1 2 1 12
1 16 2 12
1 1 1 3
3.6.
ax + by + c2 z 2 = 32 gsn nxcld f (x, y, z) = a2 x2 + b2 y 2 + cz + 2(abxy + bcyz + acxz) funkcin
kstremumyn cgdig ol.
1
2
3
4
5
a b c
-5 1 -2
1 -4 5
-6 5 4
1 2 -3
3 -4 2
Xsngt 3.6.
b c
a
6
7
8
9
10
a
6 -1 1
1 5 -2
-3 2 4
-5 2 -5
3 -6 3
3.7.
19
11
12
13
14
15
5
-4
1
-3
6
b
-4
2
6
-5
4
c
1
3
-3
4
-5
16
17
18
19
20
a
6
-1
5
-3
5
b
3
7
2
7
3
c
-5
1
-4
5
-2
1
2
3
4
5
a b c
2 9 6
2 9 -6
2 -9 6
2 -9 -6
2 9 9
Xsngt 3.7.
b
c
a
6
7
8
9
10
a
2 9 -9
2 -9
9
2 -9 -9
2 9 18
2 9 -18
11
12
13
14
15
1
1
1
1
1
b c
6 6
6 -6
-6 6
-6 -6
6 9
16
17
18
19
20
a b
c
1 6 -9
1 -6
9
1 -6 -9
1 6 12
1 6 -12
3.8.
x4 ey + y 2 ex = 1 nxcld (0, 1) cg n
b
f (x, y) = ln(ax + 2k 2 y) kbxy + x + cy
k
funkcin kstremumyn cg bolj bax k parametrin bx utgyg olj, kstremumyn inj
qanaryg todorxol.
1
2
3
4
5
a
b c
4
4 3
4
-4 3
4
-1 3
4
1 3
4 -2/3 3
Xsngt 3.8.
b c
a
6
7
8
9
10
a
3
3 2
3
-3 2
3 -3/4 2
3 3/4 2
3 -1/2 2
11
12
13
14
15
2
2
2
2
2
b c
2 1
-2 1
-1/2 1
1/2 1
-1/3 1
16
17
18
19
20
a
b c
1
1 0
1
-1 0
1 -1/3 0
1 1/3 0
1 -1/6 0
Bodlogo
Daraax funkcuudyn ggdsn xzgaarlalt dax kstremumyn cgdig ol.
20
3.8.
n
Q
j=1
3.9.
n
P
j=1
xj j max,
n
P
j=1
n
Q
cj xj j min,
j=1
3.10.
n c
n
Q
P
j
xj j = b, xj > 0, j = 1, ..., n nd cj > 0, j > 0, j > 0, b > 0.
j min,
j=1
j=1 xj
3.11.
n
n c
P
P
j
max,
aj xj = b, xj 0, j = 1, ..., n nd cj > 0, > 0, aj > 0, b > 0.
j=1
j=1 xj
3.12.
n
P
j=1
3.13.
n
P
j=1
3.14.
n
P
cj xj max,
cj xj min,
too.
3.16.
n
P
n
P
j=1
n
P
j=1
cj xj max(min),
n
P
n
P
j=1
cj xj max(min),
n
P
j=1
j=1
3.17.
j=1
cj |xj | min,
j=1
3.15.
n
P
|xj + cj | max(min),
n
P
j=1
j=1
3.18.
n
P
1X 2
aij xj = bi , i = 1, 2, nd aij , bi -ggdsn toonuud, ai = (ai1 , ..., aij , ..., ain )
xj min,
2 j=1
j=1
4
4.1
+
Hab = {x Rn | < a, x >= b}, a Rn , a 6= 0, b R olonlogig giper xawtga, Hab
=
n
n
{x R | < a, x > b}, Hab = {x R | < a, x > b}, olonloguudyg giperxawtganuudaar
trgdsn xagas ogtorgunuud gj nrln.
Xrw X Rn olonlogig tgslg toony xagas ogtorgunuudyn ogtlolcol mtr tawj
boldog bol tnig polidr gn.
(4.1)
(4.2)
Terem 4.2 (4.1) xlbrt X poliedr n daj ng oron cgt bax zalg bgd
xrlct nxcl n rang(A) = n m. Tnqln drx nxcl bielj baxad x X
xuwd I(x) I (x) bax x oro oldono. < a, x >= b tnctgl n < a, x > b, <
a, x > b tnctgl bidt tnc qanarta. Imd
(4.3)
Dasgal
4.1.
Daraax tnctgl biin sistemr todorxologdox polidrig xawtga dr baguulj,
oron cgdig ol.
3x1 + x2 18, 4x1 ax2 24,
bx1 12x2 36, cx1 + 3x2 27,
1
2
3
4
5
a
2
3
4
6
8
b
2
3
4
2
3
c
1
1
1
1
1
Xsngt 4.1.
a b c
a
6
7
8
9
10
2
3
4
6
8
3
4
2
3
4
2
2
2
2
2
11
12
13
14
15
2
3
4
6
8
b
4
2
3
4
2
c
3
3
3
3
3
16
17
18
19
20
a
2
3
4
6
8
b
2
3
4
2
3
c
4
4
4
4
4
4.2.
Daraax sistemr R2 dr todorxologdox polidrin oronuud dund bxsn oro bax k
parametrin bx utguudyg ol.
x1 + ax2 8,
2x1 + cx2 k,
bx1 + x2 12,
x1 0, x2 0,
22
1
2
3
4
5
a
1
4
4
4
4
b
6
3
4
2
3
Xsngt 4.2.
a b c
a
c
1
1
1
3
3
6
7
8
9
10
2
4
4
4
4
6
6
2
3
6
2
3
5
5
5
11
12
13
14
15
2
4
1
2
2
b
6
6
4
2
3
c
3
1
1
2
1
a
2
4
2
2
4
16
17
18
19
20
b
4
6
3
4
4
c
1
2
3
3
5
4.3.
Daraax sistemr todorxologdox polidr R4 d daj ng oron cgt bax k parametrin
bx utguudyg ol.
(k + a)x1 + x2 + 3x3 + 4x4 1,
bx1 + kx2 + 4x3 + 5x4 2,
(k + c)x1 x2 + 5x3 + 6x4 3,
x3 0, x4 0,
1
2
3
4
5
a
b
c
1
6 5
11 -18 7
13 -42 1
7 -10 3
9 10 11
Xsngt 4.3.
b
c
a
6
7
8
9
10
a
5
6 7
3 -2 1
3 40 13
1 30 11
9 -18 3
11
12
13
14
15
b
9 -8
11 -28
1 12
5 14
13 -36
c
7
3
7
9
5
16
17
18
19
20
a
b
5 24
9 -20
13 -22
3
4
7 30
c
11
1
9
5
13
4.4.
Daraax sistemr R3 dr todorxologdox polidrin oronuudyg ol.
ax1 + x2 + x3 = 0, x1 + bx2 + x3 = 0,
x1 + x2 + x3 (a 1)(b 1), x3 c(ab 1);
1
2
3
4
5
a
2
4
5
2
8
b
c
3
-1
8
2
7 1/2
4
3
2 1/5
6
7
8
9
10
a
7
5
4
3
2
Xsngt 4.4.
b c
a
3 -3 11 6
4 5 12 4
9 6 13 7
5 -2 14 5
5 3 15 6
b
c
2
8
2 1/3
4
7
6
-1
7 1/5
16
17
18
19
20
a
2
6
7
9
5
b
c
9
2
7
4
2
-3
7
9
8 1/4
4.5.
Daraax sistemr R4 dr todorxologdox polidrin bx oronuudyg olj, tdn dund
bxsn oro bax sxig injil.
ax1 + x2 + x3 + x4 = 1,
x1 + bx2 + cx3 + x4 = 1,
xj 0, j = 1, ..., 4,
23
1
2
3
4
5
a
3
2
5
6
5
b
6
3
4
2
3
c
-2
0
-1
-3
-4
6
7
8
9
10
a
2
3
3
2
6
Xsngt 4.5.
b c
a
4
5
4
5
3
-4
-2
-1
0
-3
11
12
13
14
15
3
4
5
4
6
b
2
5
2
3
4
c
0
-3
-1
-4
-2
16
17
18
19
20
a
6
2
4
5
4
b
5
6
2
6
6
c
-3
-1
-4
0
-2
4.6.
Geometr baguulaltyn tuslamjtagaar daraax sistem nict bax k parametrin bx
utgyg ol.
ax1 + b2 + x3 + (c + 1)x4 = k,
(a + 3)x1 + (b + 2)x2 + x3 + cx4 = 2 k,
xj 0, j = 1, ..., 4,
1
2
3
4
5
a
5
12
8
9
7
b
1
4
1
3
1
c
2
3
5
2
4
Xsngt 4.6.
b c
a
6
7
8
9
10
a
11 4 2
6 2 1
13 4 4
7 2 2
8 3 1
11
12
13
14
15
10
10
6
12
9
b
3
2
1
3
2
c
3
5
3
5
4
16
17
18
19
20
a
10
11
4
14
8
b
4
3
1
4
2
c
1
4
1
5
3
4.7.
Geometr baguulaltyn tuslamjtagaar daraax implikaci nn bax k parametrin bx
utgyg ol.
x1 + x2 12,
cx1 + 5x2 k :
0 x1 a,
0 x2 b
1
2
3
4
5
a
b c
8 7 2
7 8 7
10 11 4
11 9 1
9 7 6
Xsngt 4.7.
b c
a
6
7
8
9
10
a
10 8 1
11 7 6
8 9 8
7 10 2
9 8 7
11
12
13
14
15
8
9
7
10
11
b c
10 7
11 2
9 6
9 8
7 3
16
17
18
19
20
a
10
11
7
8
9
b
7
10
11
11
10
Bodlogo
4.1. R4 dr daraax sistemr ggdx affin olonlogin xmjsig ol.
a) x1 + x2 + 2x4 = 4,
b) x1 2x2 x3 + 3x4 = 1,
2x1 + 3x2 x3 + x4 = 1,
x1 + 4x2 + 3x3 = 3,
x1 + 4x2 x3 + 3x4 = 3;
2x1 + 2x2 + 2x3 + x4 = 2;
24
c
1
8
3
6
4
w) x1 2x2 + x3 + 2x4 = 2,
x1 + 3x2 + x4 = 3,
x2 + x3 + 3x4 = 1;
4.2. a parametrin bx bolomjit utgand daraax sistemr ggdx affin olonlogin
xmjsig ol.
x1 + 2x2 + ax3 + x4 + 3x5 = 10, 2x1 3x2 + 5x3 2x4 + x5 = 7
3x1 x2 + 8x3 x4 + 4x5 = 3, 4x1 + x2 + 11x3 + 7x5 = 13.
4.3. Daraax sistemr ggdx X R4 polidr xooson bi boloxyg xaruulj, I(X) ig ol.
I(x) = {i, 1 i m |< ai , x >= bi , x X}.
x1 + 2x2 5x3 + 2x4 0, 4x1 7x2 + x3 7x4 9,
2x1 + 3x2 x3 + x4 1, x1 x2 + x3 + 2x4 3,
4.4. Daraax sistemr ggdx X R4 polidr affin olonlog boloxyg xaruulj, xmjsig
ol.
x1 5x2 + 2x3 + 3x4 1, 2x1 + x2 + 4x3 x4 3,
3x1 3x2 + 10x3 + x4 1, x1 + 4x2 6x3 2x4 2,
4.5. Daraax sistemr ggdsn X polidr xooson bi bax a parametrin bx utgyg olj
I(x)-g ol.
3x1 + 2x2 x3 5x4 11, 3x1 + 5x2 7x3 x4 1,
3x1 5x2 2x3 + 2x4 a, 2x1 + x2 + x3 + x4 8,
4.6. Daraax polidrdin xmjsig ol. nd: dimX = n rangAI(x) .
a) 2x1 + x2 x3 + x4 5,
b) 2x1 3x2 + x3 + 2x4 3,
x1 4x2 + 2x3 3x4 2,
4x1 + x2 + 5x3 33,
x2 0, x3 0;
x1 5x2 + x3 + x4 10,
x1 + x2 3x3 x4 15,
x1 x2 1,
x1 + 2x2 4.
25
4.8. Daraax ggdsn polidr n bxsn oroto bax a parametrin utgyg ol.
ax1 + x2 1,
x1 + x2 6,
2x1 + x2 6,
x1 + 2x2 6,
4.9. ggdsn polidr n daj ganc oroto bax a parametrin bx utgyg ol.
ax1 + 2x2 x3 + 5x4 x5 4,
x1 + 3x2 + x3 8x4 + 2x5 0,
4x2 + 7x3 + 3x4 4x5 1,
2x4 + x5 3,
x4 + x5 1,
4.10. Doorx polidrdig bx orog ol.
a) x1 2x2 + 5x3 4,
b) x1 + 3x2 + 4x3 8,
4x1 x2 + 6x3 9,
2x1 2x2 5x3 5,
2x1 4x2 + 3x3 1,
4x1 + 7x2 + x3 12,
x1 + 5x2 2x3 3;
w) x1 + x2 + x3 15,
g) x1 + 2x2 2x3 2,
x1 + 4x2 + 2x3 4,
x1 x2 + x3 0,
x1 + 5x2 + x3 = 8.
w) x1 + x2 + x3 + x4 = 3,
2x1 x2 + x3 2x4 = 2,
3x1 + x2 4x3 x4 = 0,
xj 0, j = 1, ..., 4;
4.12. Geometr baguulaltyn argaar daraax polindrin orog ol.
2x1 + 4x2 + x3 x4 + 3x5 = 2,
2x1 + x2 + 4x3 + 3x4 + 3x5 = 1,
xj 0, j = 1, ..., 5;
4.13. Daraax polindr n bxsn oroto bax k parametrin bx orog ol.
kx1 x2 3x3 4x4 = 5,
2x1 + x2 2x3 + 3x4 = 1,
x1 + 3x2 + x3 + 3x4 = 2, xj 0, j = 1, ..., 4;
26
n
)
X
x Rn
xj 1, xj 0, j = 1, ..., n .
j=1
)
n
X
x Rn
xj = 1, xj 0, j = 1, ..., n .
(
X=
j=1
4.2
(4.4)
(4.6)
(4.4) xlbrin bodlogyg ndsn bodlogo gj nrldg. ugaman programmqlalyn maksimumqlax bodlogyg bolomjit idin mujaas n xamaaruulsan r rgtgsn biqlgdin
xlbrdig ze. ni tuld mn tmdglsn soor A A(m, n), b Rm , c Rn gj
zn. P-yn standart bodlogo:
< c, x > max, Ax b, x 0.
(4.7)
(4.8)
n
X
cj xj max,
j=1
n
X
aij xj bi , i = 1, . . . k,
j=1
n
X
aij xj = bi , i = k + 1, . . . m,
j=1
27
(4.9)
xj 0, j = 1, . . . , s.
Ernxid (4.4), (4.7) bolon (4.8) bodloguudyn al n q (4.9) ernxi bodlogyn tuxan
toxioldluud bana. Mn tnqln ernxi bodlogo n r ldsn gurawynxaa al q xlbrt n adilxan badlaar biqigdsn baj bolno.
Dasgal
4.8.
Daraax bodlogyg standart xlbrt iljl:
1
2
3
4
5
6
7
8
9
10
=
=
= =
=
11
12
13
14
15
=
=
=
=
=
=
16
17
18
19
20
=
=
4.9.
Daraax bodlogyg kanonik xlbrt iljl.
x1 + x2 x3 x4 min,
x1 + 3x2 x4 2,
x1 + x2 + x4 1,
x2 + x3 3,
x1 0, x2 0, x3 0 :
Xsngt 4.9.
1
2
3
4
5
=
=
6
7
8
9
= 10
11
12
13
14
15
=
=
16
17
18
19
20
= =
=
=
= =
=
x1 + ax2 max,
x1 + 2x2 10,
3x1 + 2x2 18,
x1 x2 b,
cx1 x2 8c + 3 ) :
Xsngt 4.10.
a
b
1
2
3
4
5
6
7
8
9
10
5 7
1 6
-1 6
5 9
3/4 7
-1/4 10
4 12
5/4 9
-1 6
5/6 7
c
2
3
1/8
1
1
2
1/2
1/3
1/2
1
11
12
13
14
15
16
17
18
19
20
a
b
c
-5/6
8 1/4
3 13/2
2
1
9
1
-1/3
10
2
7/4
6
3
-3/4 13/2 1/2
3/2
7
2
3
6
1
4
8 3/4
-1 15/2 1/3
4.11.
ax1 + x2 min,
x1 + (b 3)x2 b,
(c 4)x1 + x2 c,
x1 0, x2 0 :
Xsngt 4.11.
a b c
1
2
3
4
5
1/4
5/4
9/2
7/4
5/2
5
4
7
8
6
9
6
8
7
6
6
7
8
9
10
a
1/2
1/6
5/2
13/3
2/3
b c
7 6
8 8
4 7
5 8
6 7
11
12
13
14
15
a
7/2
9/2
1/5
7/2
1/3
b
5
6
7
4
8
c
7
9
7
8
9
16
17
18
19
20
a
1/2
5/3
3/4
1/4
11/2
4.12.
ax2 3x3 max,
2x1 + bx2 + x3 15,
2x1 + 5x2 2x3 0,
cx1 + 2x2 x3 = 3,
x2 0, x3 0 :
29
b
4
8
5
6
7
c
9
6
6
8
9
Xsngt 4.12.
a b c
1
2
3
4
5
10
-1
3
-3
12
2
1
5
4
3
3
2
4
2
3
6
7
8
9
10
a
-2
2
5
11
7
b c
2 2
3 4
5 3
1 4
7 2
11
12
13
14
15
a
-1
6
10
-3
7
b
5
6
1
3
3
c
3
4
2
3
4
16
17
18
19
20
a
-2
4
12
5
-1
b c
5 2
4 3
2 4
3 2
3 4
4.13.
x1 + x3 + ax4 + bx5 max,
x1 x2 + 6x4 2x5 = c 15,
x2 x3 4x4 + 6x5 = 24,
x1 + x2 x3 3x4 + 7x5 = c + 24,
xj 0, j = 1, ..., 5 :
Xsngt 4.13.
a b c
1
2
3
4
5
3
5
1
3
4
5
2
5
-1
3
6
7
8
6
7
6
7
8
9
10
a
1
6
2
3
5
b
1
3
1
0
7
c
7
8
6
7
8
11
12
13
14
15
a b
1 2
8 4
2 5
9 5
7 -1
c
8
6
7
8
6
16
17
18
19
20
a
2
1
7
6
3
b
2
3
4
2
3
c
6
7
8
6
7
4.14.
1
3a+2
3
Daraax bodlogyn id x1 = 0, 2b
, 0 , x2 = 5, 0, 5a
,
x
=
3, 2b , 0 cgd dr
3c
orix uu?
(4 5a)x1 + 10bx2 + 15cx3 max,
(2a + 1)x1 4bx2 6cx3 13,
(5 4a)x1 + 8bx2 + 12cx3 23,
(3a + 1)x1 + 6bx2 + 9cx3 3
Xsngt 4.14.
a b c
1
2
3
4
5
-1
-1
-1
3
3
1 3
1 6
1 8
-1 3
-1 6
6
7
8
9
10
a
3
-3
-3
-3
5
b c
-1 8
2 3
2 6
2 8
-2 3
11
12
13
14
15
a
b c
5 -2 6
5 -2 8
-3 1 3
-3 -1 6
-3 1 8
4.15.
30
16
17
18
19
20
a
1
1
1
3
3
b
-1
-1
-1
-2
-2
c
3
6
8
3
8
p, q-in mar utgand 1) bodlogyn bolomjit idin olonlog xooson bax w? 2) funkcin
utga bax 3) cor ganc idt bax 4) Too tomg olon idt bax.
ax1 + bx2 max,
x1 + px2 1,
x1 x2 q,
x1 0
Xsngt 4.15.
a b
1
2
3
4
5
3
3
2
8
3
5
7
3
3
4
6
7
8
9
10
a
2
6
3
5
4
b
1
5
7
8
7
11
12
13
14
15
a
7
7
3
5
5
b
3
4
2
3
6
16
17
18
19
20
a
2
5
2
7
3
b
5
2
7
2
1
4.16.
k-in mar utgand x = (b, 0) doorx bodlogyn id bolox w?
kx1 + (2 k)x2 max,
ax1 bx2 0,
2x1 + 3x2 c,
x1 + x2 a + b :
Xsngt 4.16.
a b
c
1
2
3
4
5
4
3
2
5
4
-3 7
2 14
-1 5
-2 13
4 25
6
7
8
9
10
a b
3 1
3 -1
4 -1
4 -2
4 1
c
13
9
12
10
15
11
12
13
14
15
a b
c
3 -1 8
3 -2 7
4 2 16
4 3 19
5 -1 14
16
17
18
19
20
a b
c
5 1 20
5 2 20
5 -3 11
6 -5 10
6 -4 11
4.17.
PB-yn idig twrin argaar ol.
1
2
3
4
5
4/3
3/2
7/3
6/5
5/4
4
6
2
3
2
5
4
3
6
7
6
7
8
9
10
a
4/3
16/5
6/5
9/5
7/2
b c
4 6
3 2
2 6
3 4
4 2
11
12
13
14
15
a
7/3
19/5
3/2
5/3
7/2
b
4
6
2
6
5
31
c
3
2
4
5
2
16
17
18
19
20
a
3/2
7/4
15/4
4/3
7/3
b
2
5
7
5
6
c
5
4
2
6
3
4.18.
PB-yn idig twrin argaar ol.
x1 + 3x2 x3 x4 max,
ax1 x2 + x3 + bx4 = 120,
x1 + x2 x3 + x4 = 0,
x1 + x2 + x3 + cx4 = 120,
xj 0, j = 1, ..., 4 :
Xsngt 4.18.
a
b c
1
2
3
4
5
1
3
5
7
9
2 2
5 2
8 2
11 2
14 2
6
7
8
9
10
a
b c
1 5 5
2 8 5
3 11 5
4 14 5
5 17 5
11
12
13
14
15
a
1
3
5
7
9
b
0
1
2
3
4
c
0
0
0
0
0
16
17
18
19
20
a
b
1 3
2 5
3 7
4 9
5 11
c
3
3
3
3
3
4.19.
Daraax bodloguudyn xosmog bodlogyg baguul.
x1 + 2x2 max,
3x1 4x2 1,
5x1 + 6x2 2,
7x1 + 8x2 3,
x2 0 :
Xsngt 4.19.
1
2
3
4
5
=
=
6
7
8
9
= 10
11
12
13
14
15
=
=
16
17
18
19
20
= =
=
=
= =
=
4.20.
2 4a+c a+2c ca
2a+c
Daraax bodlogyn bolomjit id x1 = a+4c
,
,
0
, x = 7 , 7 , 2 ba xargalzax
7
7
5
6
1 1 1
2
1
xosmog bodlogyn bolomjit cg y = ( 2 , 2 , 2 ), y = ( 7 , 0, 7 ) bol dgr cgd dotor xargalzax
bodlogyn idd orix sxig todorxol.
x1 + 2x2 x3 max,
x1 + 4x2 2x3 a,
x1 + x2 + 2x3 b,
2x1 x2 + 2x3 c,
x1 0, x2 0, x3 0,
32
Xsngt 4.20.
a
b
c
1
2
3
4
5
5
5
5
5
5
8
9
10
12
13
6
7
8
9
10
a
6
6
6
6
6
6
7
8
9
10
b
c
9 7
10 8
12 9
13 10
14 11
11
12
13
14
15
a
7
7
7
7
7
b
10
11
13
14
16
c
8
9
10
11
12
16
17
18
19
20
a
8
8
8
8
8
b
11
12
14
15
17
c
9
10
11
12
13
4.21.
Daraax bodlogyn xosmog bodlogyg grafik argaar bodox zamaar ndsn bodlogyn idig
ol.
Xsngt 4.21
a b c
1
2
3
4
5
1
1
1
1
1
1
2
3
4
5
4
1
3
2
4
6
7
8
9
10
a
2
2
2
2
2
b
1
2
3
4
5
c
1
3
2
4
1
a
3
3
3
3
3
11
12
13
14
15
b
1
2
3
4
5
c
3
2
4
1
3
16
17
18
19
20
a
4
4
4
4
4
b
1
2
3
4
5
c
2
4
1
3
2
4.22.
Xosmogin onol ba grafik arga aiglan daraax bodlogyn idig ol.
1
2
3
4
5
4
5
6
7
8
3
4
5
6
7
6
7
8
9
10
a
5
6
7
8
9
b
3
4
5
6
7
11
12
13
14
15
a
6
7
8
9
10
b
3
4
5
6
7
16
17
18
19
20
a
7
8
9
10
11
b
3
4
5
6
7
4.23.
33
1
2
3
4
5
3
3
2
2
2
5
5
5
5
5
1
2
1
2
3
6
7
8
9
10
a
3
3
3
2
2
b
6
6
6
6
6
c
1
2
3
1
2
11
12
13
14
15
a
2
1
1
1
1
b
6
5
5
5
6
c
3
1
2
3
1
16
17
18
19
20
a
1
1
1
1
1
b
6
7
7
7
7
c
2
1
2
3
4
4.24.
rmlin ldwr 2 trlin rx utas ldwrlxd 3 trlin d bolox noos, kapron,
akrilyg aiglana. 4.24 xsngtnd jilin tur xrglgdx txi din zarcuulaltyn
norm, nit too xmj bolon 1tn rml tus brs olox aig ggdsn bol nit aig
xamgin ix bax ldwrllin onowqto tlwlg zoxio.
Xsngt 4.24a
Txi d
erst
Kapron
Akril
1
2
3
4
5
0,1
0,1
0,1
0,1
0,1
620
730
840
650
760
500
500
500
510
510
6
7
8
9
10
1100
a
0,1
0,1
0,2
0,2
0,2
b
870
790
920
850
780
c
510
520
400
400
400
600
b
c
900
11
12
13
14
15
a
0,2
0,2
0,2
0,2
0,3
b
710
880
810
740
660
c
400
410
410
410
300
16
17
18
19
20
a
0,3
0,3
0,3
0,3
0,3
b
690
720
750
780
800
c
300
300
300
300
300
4.25.
Neftin ldwr benzin, kerosin ba ldwrin tos gargan awaxyn tuld neft gargax
xor trlin texnologi aiglana. 4.25 xsngtnd btgdxni too xmj, zardal ba
1tn neft ldwrlxd texnologig aqaalax cag bolon 1tn btgdxni rtg, ulsyn zaxialgyn xonogin too xmj ggdw. Texnologig aqaalax nit too xmj 75ma/cag.
34
1
2
3
4
5
13
15
17
19
21
37
37
37
37
37
130
135
140
145
130
6
7
8
9
10
0,6
0,1
0,3
0,3
0,3
0,3
0,1
0,2
0,05
a
21
23
25
29
31
b
39
39
39
41
41
c
135
140
145
130
135
11
12
13
14
15
100
50
20
a
37
39
37
35
33
b
43
45
45
45
45
c
140
145
130
135
140
117
54
16
17
18
19
20
a
39
31
37
35
33
b
45
45
45
45
45
c
145
130
135
140
145
4.26.
Cex n 3 trlin detalig 2 suur main dr bldn. 4.26 zurgand detal tus brig
bldxd aardagdax xugacaag xaruulsan texnologin sxem xaruulaw. Suur main tus
brin ajillax cagin drin too xmj 1-r mainy xuwd b minut, 2-r mainy xuwd
s minut bolno. 1,2 ba 3-r trlin 1 irxg detalin n xargalzan 3;1 ba 2$ tus tus bolno.
Suur main 1
Suur main 2
3 min
Bldml
6 min
9 min
a min
Detal 1
Detal 2
3 min
Xsngt 4.26.
35
Detal 3
a
3
3
3
4
5
1
2
3
4
5
b
600
960
510
690
660
c
900
600
750
450
900
6
7
8
9
10
a
5
3
3
4
4
b
840
660
960
600
780
c
450
900
510
900
450
11
12
13
14
15
a
5
5
3
3
4
b
870
930
720
960
660
c
900
450
900
420
900
16
17
18
19
20
a
4
5
3
4
4
b
870
630
600
720
750
c
450
270
750
900
360
4.27.
Gurwan trlin (A,B ba C) btgdxn ldwrlxd I,II ba III trlin txi d
aiglagdana. I ba II trlin txi din nc xzgaarlagdmal. Xsngt 4.27a -d txi
din zarcuulaltyn norm, txi d ba btgdxni n, txi din nc zrgig
xaruulaw. ldwr xamgin ix aigta baxaar btgdxn ldwrllin tlwlg
zoxio.
Xsngt 4.27a
Txi 1kg txi
d
din n($)
A
1
4
6
I
II
III
2
2
2
2
3
B
3
1
5
2
1
b
Ngj btgdx6b + 12
ni n
Xsngt 4.27b
a b
c
1
2
3
4
5
1
2
3
4
1
17
19
21
23
21
6
7
8
9
10
a
3
3
3
3
3
b
1
2
2
2
3
c
22
23
24
25
25
11
12
13
14
15
C
a
3
2
5b + 22
a
3
3
4
4
4
b
3
4
1
1
2
c
26
26
25
27
26
Txi
din
nc
3000
3320
16
17
18
19
20
a
4
4
4
4
4
b
2
3
3
4
4
c
27
28
30
30
32
4.28.
ldwr n 2 trlin daawuug 2 trlin suur main dr bldn. Xsngt 4.28-d 1 ba
2 trlin daawuug bldx suur mainuudyn xdlmrin btmj, doloo xonogt daawuu
bldx xqin qadal, 1cagt suur mainyg lqlx xdlmrin zardal, daawuu tus brin
nig xaruulaw. 7 xonogin xdlmrin zardlyn nit nc 6000cag bol aig xamgin ix
bax 7 xonogin ldwrllin tlwlg zoxio.
Xsngt 4.28a
36
Suur main
Xqin qadal
(mnga.cag)
1
2
30
b
Xsngt 4.28b
a
b
c
1
2
3
4
5
10
10
10
10
10
30
30
30
30
40
26
28
30
32
26
6
7
8
9
10
Daawuu 2
20
12
15
6
18
a
6
Daawuuny
n ($)
a
b
c
10 40 28
10 40 30
10 40 32
9 30 26
9 30 28
11
12
13
14
15
a
9
9
9
9
9
b
30
30
40
40
40
c
30
32
28
30
32
16
17
18
19
20
a
8
8
8
8
8
b
30
30
30
40
40
c
28
30
32
28
30
Bodlogo
4.16. PB-g ndsn, standart ba kanonik xlbrt iljl.
2x1 x2 5x3 max,
4x1 + 3x2 + x3 = 4,
x1 + 6x2 x3 2,
7x1 x2 + 2x3 5,
x1 0, x2 0.
4.17. PB-g kanonik xlbrt iljl.
x1 + 4x2 + x3 3x4 max,
3x1 + 2x2 + x3 + x4 5,
4x1 + 3x2 + 4x3 + 2x4 = 6,
x1 x2 + x3 + 4x4 = 3,
x3 0, x4 0.
4.18. Daraax bodloguudyg grafik argaar bod.
a) x1 + 2x2 max, b)
3x1 2x2 6,
x1 + 2x2 4,
3x1 + 2x2 12,
x1 0;
2x1 + x2 max
x1 + x2 2,
x1 + 2x2 7,
4x1 3x2 6,
x1 0, x2 0;
2x1 3x2 0,
x1 x2 3,
2x1 x2 = 4.
37
x1 + x3 7x4 + x5 max,
x1 x2 + 6x4 2x5 = 7,
x2 x3 4x4 + 6x5 = 24,
x1 + x2 x3 3x4 + 7x5 = 32,
xj 0, j = 1, ..., 5;
w) x1 + x2 + x4 + 3x5 min,
2x1 x2 + x3 4x4 6,
x1 + 2x2 x3 + 7x4 = 5,
5x1 + x2 3x4 = 11,
3x1 + 2x2 + x3 3x4 = 7,
xj 0, j = 1, ..., 4;
5x1 x2 + 2x3 x4 5,
x1 + x2 + x3 + 3x4 14,
x1 2x2 x3 + x4 3,
x = (1, 2, 2, 4);
x1 + x2 + x3 + 2x4 = 5,
x1 + x2 + 2x3 + 3x4 + x5 = 9,
x2 + x3 + 2x4 + x5 = 6, ,
xj 0, j = 1, ..., 5;
x = (3, 2, 0, 0, 4).
38
x1 = 0, 25 , 12 , 21 ,
x2 = (1, 0, 0, 2),
x3 = (0, 0, 0, 1);
w) x1 + x3 + 7x4 max,
5x1 + 3x2 x3 + x4 9,
x1 + 4x2 + 2x3 + x4 9,
2x1 x2 + 3x3 + 2x4 1,
xj 0, j = 1, ..., 4,
x1 = (1, 1, 0, 1),
x2 = (2, 0, 1, 0),
5
x3 = 12
, 2, 0, 11
;
12
x1 + 3x2 max,
ax1 + x2 4,
2x1 x2 2,
3ax1 + 2x2 8,
x = (0, 4);
5ax1 4x2 + x3 1,
4x1 3x2 + 2x3 3,
3ax1 2x2 + 3x3 7,
x1 0, x2 0, x3 0,
x = (0, 1, 3).
x1 + 2x2 + 2x3 1,
x1 + x2 x3 = 0,
x1 0, x2 0, x3 0;
x1 + 2x2 3x3 + x4 = 4,
3x1 x2 x3 + 2x4 3,
x1 + 5x2 + x3 + 3x4 4,
x2 0, x3 0.
4.24. PB-yn qanar bolon geometr baguulaltyn argyg aiglaj doorx bodloguudyn idig
ol.
a) 5x1 + 2x2 + x3 max,
b) 7x1 + 8x2 + 10x3 max,
x1 + 2x2 x3 1,
3x1 x2 + 2x3 2,
x1 + x2 + 3x3 6,
2x1 + x2 3x3 4,
x1 x2 + 2x3 4,
x1 + 2x2 + 6x3 5,
x1 0, x2 0, x3 0;
x1 0, x2 0, x3 0;
39
x1 + x3 x4 = 5,
2x1 + x2 2x3 + 2x4 7,
xj 0, j = 1, ..., 4;
4x1 + x2 x3 x4 + x5 9,
x1 + x2 x3 + x4 + 6x5 = 10,
x1 3x2 + 5x3 1,
xj 0, j = 1, ..., 4.
4.26. Xoslolyn onol bolon geometr argyg aiglan daraax bodloguudyn idig ol.
a) 7x1 + x3 4x4 max, b)
x1 x2 + 2x3 x4 6,
2x1 + x2 x3 1,
xj 0, j = 1, ..., 4.
x1 + x3 + x5 max,
x1 + 2x2 + 3x3 x4 x5 6,
x1 x2 2x3 + x4 + x5 5,
xj 0, j = 1, ..., 4.
4.27. Xosmogin onol, geometr arga ba xuwsagqig zaluulax argyg aiglan daraax PByn idig ol.
a) 2x1 + 4x2 x3 x4 max, b)
2x1 + 2x2 x3 x4 2,
x1 x2 + x3 1,
3x1 + x2 + x4 = 5,
x1 0, x2 0, x4 0;
4.28. Daraax bodloguudyn bx idig ol. (Mn oro bax qanaryg lga.)
2x1 x2 + x3 + 3x5 2,
7x1 + x2 2x3 + x4 x5 7,
5x1 + 3x2 + 6x3 2x4 + 2x5 = 5,
x1 0, x2 0, x4 0;
5.1
(5.1)
nd AA(m, n), bRm , cRn . A -matricyn rang n m-t tnc gj ze. (6.1) bodlogyn
bolomjit idin olonlogig X -r tmdgle:
X = {x Rn | Ax = b, x 0
Tgwl teorem 4.* soor x X cg n X olonlogig oron (ncgin) cg bax zalg
bgd xrlct nxcl n aj (j J(x)) bax wdal m. rr xlbl, x cgin erg
koordinatuudad xargalzax A matricyn baganuud n ugaman xamaaralg bana gsn g
m. Xrw x oro n l bxg bol |J(x)| = m bolox ba bxsn bol |J(x)| < m bana.
x X cgin erg koordinatad xargalzax A matricyn baganuud bolon A matricyn duryn
ugaman xamaaralg m baganyg aguulsan sistemig x oron suur gj nrln. rr
xlbl, {aj | j J}, J {1, ..., n} sistem wektoruud Rm ogtorgud suur sgx ba J(x) J
bol n n x oron suur bolno.
ggdsn suur aj | j J -d xargalzax xj (j J) xuwsagquudyg suur xuwsagquud gn. l
bxx oro x -t coryn ganc suur {aj | j J(x)} xargalzana. Bxsn orod xd xdn suur
xargalzaj bolox bolowq rang(A) = m nxcl n dor xaj ng suur orix batalgaa gn.
Simpleks arga n x0 , x1 , ..., xk zrg oron (ncgin) cgdin daraallyg tdgrt xargalzax suuriudyg xamt baguuldag toocon bodox algoritm m. ljit k-r iterac dr
daraax 2 nxclig al ngig algana:
1. xk n (6.1) bodlogyn id
41
2. (6.1) bodlogo n idg gdgig togtoono, swl daraagin xk+1 cgig baguulna.
Xrw xk oro l bxx bol
(5.2)
< c, xk+1 > > < c, xk >
nxcl bielgdn.
Xrw xk oro bxsn bol (6.2) nxcl swl xk+1 = xk gsn cikldx nxcl bielgdn.
Suuriudyn too tgsglg uqraas iteracig cikl dx nxcls rgljlln gctgwl
todorxo ldlin daraa (6.2) nxcl bieln. Drx ldl n tgsglg toony iteracin
daraa bodlogyn id gx swl idg gdgig togtoono.
5.2
(5.3)
jJ
nd jk (j J) zadargaany koefficientd.
k -nlgg bodo:
X
k =
cj jk ck ,
k = 1, ..., n
(5.4)
jJ
Duryn k J ed
(
jk =
1, xrw j = k
0, xrw j J | {k}
(5.5)
ba k = 0 bieln.
jk , k (j J, k
/ J) parametryn tmdgds xamaaran doorx nxcldin al ng n
rglj bieln.
(A) Duryn k
/ J ed k 0.
(B) s
/J:
s < 0 ba js 0, j J
(C) s
/ J, j J :
s < 0 ba js > 0,
Teorem 6.1 (Onowqto bax nxcl) Xrw A nxcl bielgdwl x-n (6.1) bodlogyn
id bolno. Xosmog bodlogyn id y-g
< y, aj >= cj , j J
nxcls olno.
42
Teorem 6.2 (id l orin bax) Xrw (B) nxcl bielgdwl (6.1) bodlogo idg.
Odoo (C) nxcl bielgdj bana gj ze. s nomer todorxolno.
xj
jJ,js >0 js
(5.6)
xr
, r J, rs > 0
rs
(5.7)
=
=
min
(5.8)
xj js , xrw j J | {r},
0
xj =
,
xrw j = s,
0,
xrw j
/ J 0.
(5.9)
x0 Rn cgig baguulna:
(5.10)
Teorem 6.4 (Cikls garax Blndin drm) (C) nxcl bielgdj bagaa ed s ba rx
g s = min{k
/ J | k < 0}, r = {j J | js > 0, jsj = } gj awbal cikldx process
bolomjg bolno.
A matricyn baganuudyg x0 = xk+1 oron {aj | j Jk+1 = J 0 } suuriar zadalna:
ak =
P
jJ
aj 0jk =
P
jJ|{r}
in nlgg bodwol:
0k =
P
jJ 0
cj 0jk ck , k = 1, ..., n.
jk
rk
,
rs
js
,
rs rk
0k = k
43
xrw j J | {r},
xrw j = s.
(5.11)
s
rk
rs
(5.12)
5.3
Simpleks xsngt
a
a1
..
.
Xsngt 6.1
a
. . . as . . .
an
..
.
jk
..
.
..
.
jn
..
.
..
.
xj
..
.
...
aj
..
.
..
.
j1
..
.
ar
..
.
r1
..
.
...
rk
..
.
...
rs
..
.
...
rn
..
.
xr
..
.
...
...
...
<c,x>
...
..
.
js
..
.
...
...
...
Xsngt 6.2
ak . . . as
b0
...
..
.
jn
..
.
..
.
x0j
..
.
aj
..
.
as as
..
.
0s1
..
.
...
0sk
..
.
...
1
..
.
...
0sn
..
.
x0s
..
.
01
...
0k
...
0s
...
0n
<c,x>
...
..
.
js
..
.
an
..
.
j1
..
.
...
..
.
jk
..
.
...
js
rs
-r rjlj,
(5.13)
Pn
j=1
a j xj +
Pm
i=1
ei ui = b},
Ui min,
(5.14)
i=1
Ax + u = b, x 0, u 0
(6.13) ba (6.14) bodlogyn bolomjit idin olonloguud dawxcana. (6.14) bodlogyn
xuwd Z = (0, b) oron cgs xln simpleks argyg xrgln. Tgwl
(a) (6.14) bodlogyn Z o = (xo , uo ) gsn id n Z olonlogin oron cg bax.
(b) Z o cgin suur {aj | j J} {ei | i I} bana.
|J| + |I| = m
(c) A matricyn baganuudyg suuriar zadalna:
ak =
aj jk +
jJ
X
iI
A) u0 6= 0. n ed X = bana.
45
ei ik ,
k = 1, ..., n
(5.15)
1) rang(A)
= b sistemt tnc qanarta ba (6.1) bodlogond <
2) Ax = b sistem n Ax
ai , x >= bi , i I zaaglal il bgd nig orxij bolno.
3) {
aj | j J} n xo X cgin suur bolno.
= b, x 0}.
nd X = {x Rn | Ax
(6.16) tnctglin zwxn i I koordinatuudyg awq zwl A matrican baganuudyg
n suur dax zadargaa garna. Imd zoxiomol suurin arga n (6.1) PB -g bodox
tdig Ax = b sistems ugaman xamaaralta il tgitgldig zaluulj
tnc qanarta PB -ruu iljlj bana.
6
6.1
Twrin bodlogo
Bodlogyn tawil
46
xij = bj , j = 1, ..., n
xij 0, i, j.
X = (xij ) n mxn xmjst matric bgd lementd n Ai -s Bj -r twrlx
btgdxni too xmjns togtono. Xrw X-n bodlogyn zaaglalyg xangaj bagaa bol nig bolomjit id (twrin tlwlg) gj nrln.
Twrin bodlogo idt bax zalg ba xrlct nxcl n:
Pm
Pn
i=1 ai =
j=1 bj
rlt nilllt tnc bax wdal m.
rmblgdsn olonlog {(ik , jk )}2l
k=1 -in xuwd
ik+1 = ik , k = 1, 3, ..., 2l 1 ed
jk+1 = jk , k = 2, 4, ..., 2l 2, j2l = j1 ed
nxcl bielgdj bawal nig cikl gj nrln.
Xrw J+ (X) = {(i, j) | xij > 0} indeksin olonlogig nmj gargaj awsan olonlog
Js (X) n ciklig aguulaag bgd m + n 1 lements togtson bol bolomjit id
X n suur id bolno.
Twrin bodlogo
Daraax bodloguudyg potencial argaar bod.
6.1.
A1
A2
A3
Xrgc
B1
1
2
3
30
B2
2
3
2
30
B3
4
1
4
10
B4
1
5
4
20
Nc
50
30
10
90
6.2.
48
A1
A2
A3
Xrgc
B1
1
4
3
130
B2
7
2
8
220
B3
9
6
1
60
A1
A2
A3
Xrgc
B1
2
5
2
70
B2
3
3
1
30
B3
4
1
4
20
B2
2
2
4
70
Nc
A1
A2
A3
Xrgc
B1
1
3
1
30
A1
A2
A3
Xrgc
B1
1
1
2
50
B2
2
3
2
60
B3
4
4
3
10
B2
2
4
15
Nc
A1
A2
Xrgc
B1
1
3
25
A1
A2
A3
Xrgc
B1
1
2
4
15
B2
3
5
2
25
B3
2
3
4
20
Nc
B4
5
8
2
70
120
280
160
6.3.
B4
3
2
2
40
Nc
90
30
40
6.4.
40
30
30
100
6.5.
Nc
90
30
40
120
6.6.
10
20
6.7.
B4
6
5
1
30
Nc
20
30
40
6.8.
49
A1
A2
A3
Xrgc
B1
4
3
2
20
B2
5
1
7
20
B3
2
3
6
35
B4
4
5
1
25
B5
3
2
6
40
B6
1
6
3
60
A1
A2
A3
Xrgc
B1
2
3
1
100
B2
4
3
4
50
B3
5
1
3
110
B1
3
1
2
9
100
B2
1
3
1
3
40
B3
5
5
3
8
90
B4
4
6
6
1
70
Nc
B1
3
2
4
9
100
B2
1
4
3
3
40
B3
5
6
5
8
90
B4
4
7
8
1
70
Nc
B1
5
3
1
2
130
B2
1
6
4
3
60
B3
3
1
7
2
95
B4
4
2
3
4
215
Nc
60
80
60
6.9.
B4
3
4
6
190
B5
7
2
4
150
Nc
100
200
300
6.10.
A1
A2
A3
A4
Xrgc
80
100
50
60
6.11.
A1
A2
A3
A4
Xrgc
80
110
50
60
6.12.
A1
A2
A3
A4
Xrgc
Nc
100
120
80
200
6.13.
A1
A2
A3
Xrgc
B1
2
5
4
60
B2
1
7
3
30
B3
4
6
2
20
B4
3
5
3
40
Nc
90
30
40
50
6.14.
A1
A2
A3
Xrgc
B1
1
2
3
20
B2
4
5
1
30
B3
2
4
3
40
B4
1
3
2
10
Nc
B1
2
3
4
50
B2
3
4
1
60
B3
1
1
2
90
B4
3
5
1
70
Nc
B1
4
5
1
80
B2
2
4
3
60
B3
1
3
2
100
B1
2
1
5
3
15
B2
1
2
3
6
20
B3
3
7
2
1
10
B4
5
3
4
4
35
B5
4
6
1
5
20
B1
1
4
2
1
10
B2
3
5
7
6
15
B3
2
3
1
2
18
B4
3
4
2
4
7
Nc
40
30
20
6.15.
A1
A2
A3
Xrgc
80
110
95
6.16.
A1
A2
A3
Xrgc
B4
1
2
3
70
Nc
100
50
150
6.17.
A1
A2
A3
A4
Xrgc
Nc
40
30
10
20
6.18.
A1
A2
A3
A4
Xrgc
12
7
23
8
6.19.
A1
A2
A3
A4
Xrgc
B1
3
5
2
6
100
B2
1
1
3
2
30
B3
2
3
4
5
70
B4
4
2
1
3
30
B5
3
6
1
2
50
Nc
50
90
65
75
51
6.20.
A1
A2
A3
A4
Xrgc
B1
1
3
5
1
10
B2
3
4
2
3
10
B3
5
3
1
2
20
B1
3
3
6
7
50
B2
5
4
4
6
40
B3
6
3
2
2
100
B4
6
7
8
5
12
Nc
B5
8
3
2
4
8
10
20
15
15
6.21.
A1
A2
A3
A4
Xrgc
B4
4
5
7
6
70
Nc
B5
3
4
9
7
30
50
40
100
100
6.22.
A1
A2
A3
A4
Xrgc
B1
2
7
10
9
150
B2
4
3
15
13
250
B3
1
9
14
12
200
B4
3
4
8
11
100
B5
5
1
4
7
90
Nc
100
290
250
150
6.23.
A1
A2
A3
A4
Xrgc
B1
16
30
13
3
70
B2
30
27
4
1
70
B3
17
26
22
5
70
B4
10
9
3
4
70
B5
16
23
1
24
20
Nc
40
60
100
100
6.24.
A1
A2
A3
A4
Xrgc
B1
15
21
26
21
190
B2
1
18
29
10
190
B3
22
11
23
3
190
B4
19
4
26
19
190
B5
1
3
24
27
40
Nc
200
200
200
200
6.25.
52
A1
A2
A3
A4
Xrgc
B1
30
5
16
13
60
B2
2
29
24
28
60
B3
5
9
14
4
130
B1
25
27
1
8
15
B2
28
5
25
6
20
B3
20
11
14
4
10
B4
6
5
6
25
120
Nc
B5
15
7
26
8
150
160
150
140
150
6.26.
A1
A2
A3
A4
Xrgc
B4
25
23
16
16
35
B5
7
10
16
18
20
Nc
160
120
140
180
Gradientin arguud
f (x) min, x Rn ,
(7.1)
f f
f
0
f (x) =
,
, ... ,
(7.2)
x1 x2
xn
7.1
Alxam 7. :=
53
Teorem 7.1 f : Rn R funkc Rn dr dooroosoo zaaglagdsan ba gradient n Li... nxclig xangadag bolog. rr xlbl,
kf 0 (x) f 0 (y)k Lkx yk, x, y Rn , L > 0.
Tgwl duryn anxny dxltin cg xo Rn -s xlj gradientin argaar baguulsan
xk daraallyn xuwd
limk kf 0 (xk )k bielgdn.
Teorem 7.2 Xrw "Teorem 7.1"-yn nxcl dr nmlt f (x) funkc gdgr bol gradientin
argaar baguulsan xk daraalal n (7.1) bodlogyn bagasgagq daraalal bolno. rr
xlbl,
limk f (xk ) = minxRn f (x)
Sanamj. Xrw gradientin argyn algoritmyn Alxam 6 -dr k -g
f (xk (k ) = min0<< f (xk ()))
nxcls songowol n algortm rs buuraltyn argyn algoritm bolno.
7.2
kf 0 (xk )k2
= 0 k1 2
kf (x )k
(7.3)
(7.4)
dk = f 0 (xk ) + k1 dk1
(7.5)
(7.6)
xk+1 = xk + k dk
(7.7)
>0
f (x) =
1
< Ax, x > < b, x >
2
(7.8)
4 2 1
2
1/3
1 1 8
1/10
4 1 1
2
0
7.12. A =
7.3
4
3
2
1
3
4
3
2
2
3
4
3
1
2
3
4
, b =
4
5
6
2
o
, x =
1
1
1
1
, = 0.001
f (x) min, x X Rn
(7.9)
7.3.1
55
P (x, rk ) = rk
Pm
1
j=1 gj (x)
Pn
j=1
ln[gj (x)]
Pm
j=1
Pm
1
j=1 gj (x)
(swl
ln[gj (x)])
rk
,
C
Teorem 7.3 f (x), gj (x), j = 1, ..., m funkcd gdgr bgd tgsglg bolog. (7.8) bodlogyn injdin olonlog X zaaglagdsan ba xooson bi, tnqln gj (xo ) < 0, j =
1, ..., m bax xo X cg orino. Tgwl torguulin funkcin argaar baguulsan
{x(rk )}
k=0 daraallyn bx xzgaaryn cgd n X -d xaralagdana. rr xlbl,
limi x(rki ) = x, x X
Torguulin funkcin argyg matematik programmqlalyn ernxi bodlogod xrglj
bolno.
f (x) min, x X Rn
(7.10)
X = {x | gj (x) = 0, j = 1, ..., m; gj (x) 0, j = m + 1, ..., p; m < n}
Tuslax qanaryn funkc F (x, rk )-g daraax xlbrt zoxiono.
P
Pp
1
2
k
F (x, rk ) = f (x) + 2r1k m
j=1 gj (x) r
j=m+1 gj (x)
swl
Pp
P
k
2
F (x, rk ) = f (x) + 2r1k m
j=m+1 ln[gj (x)]
j=1 gj (x) r
Daraax bodloguudyg ggdsn anxny cgs xln torguulin funkcin argaar bod.
7.13. f (x) = x21 + x22 min,
5x1 + 4x2 0,
x1 2x2 0,
x1 4x2 + 3 0,
xo = (2/5; 3/5).
56
Daraax bodloguudyg ggdsn anxny cgs xln torguulin funkcin argaar bod.
7.17. x1 2x22 + 4x2 max,
3x1 2x2 = 6
7.18. 4x21 8x1 + x2 + 3 max,
x1 x2 = 2
7.19. 13 (x1 + 1)3 + x2 min,
x1 1 0, x2 0
7.20. x41 + x92 + x1 + x2 min,
x1 + x2 6,
x1 0, x2 0
7.21. 4x21 + 4x1 + x22 8x2 + 5 min,
2x1 x2 = 6
7.22. 8x21 + 4x1 x22 + 12x2 7 max,
2x1 + 3x2 = 6
7.23. (x1 + 4)2 + (x2 4)2 min,
2x1 x2 2
x1 0, x2 0
7.24. ln x1 x2 min,
1 x1 0,
x21 + x22 4 = 0
57
7.3.2
f (x) min,
(7.11)
X = {x | gj (x) 0, j = 1, ..., m}
{xk } daraallyg daraax drmr baguulna.
xk+1 = xk + tk hk ,
k = 0, 1, ...,
xk X, Jk = {j | k < gj (xk ) 0}
(7.12)
(7.13)
(7.14)
j = 1, ..., m
(7.15)
tk 0, t
k 0
(7.16)
tk , t
k n daraax nxclig xangana:
f (xk + tk hk ) = mintk 0 f (xk + tk hk )
j
k
k
t
k = min{tk }, gj (x + tk h ) = 0, tk 0
hk wektor n ugaman programmqlalyn bodlogyn id bolno.
z min
< f 0 (xk ), hk > Z,
< gj0 (xk ), hk > Z, j Jk
khki k 1, i = 1, ..., n Bolomjit qigllin argaar daraax bodloguudyg ol.
7.25. 3x21 + 4x1 x2 + 5x22 min,
x1 0, x2 0, x1 + x2 4
7.26. (x1 4)2 + (x2 2)2 min,
x1 + x2 3, x1 0, x2 0, x1 + 2x2 4
7.27. x1 x2 min,
x21 + x22 25
7.28. 2x21 + x22 x1 x2 x1 min,
x1 + 2x2 1 0
x1 x2 + 1 0
7.29. x21 + x22 2x2 min,
2x1 x2 + 1 0, 2x1 x2 + 2 0
58
(7.17)
Dasgal
7.1.
Daraax bodlogyn xuwd xo cg n al nxclig xangaxyg alga. nd: A. xo id bolno.
B. Bodlogo idg. C. xo cgig bodwol ix utga olgodog oro orino.
a)
2x1 + 5x2 7x3 + ax4 + 3x5 max,
3x1 + x2 + 2x3 + bx4 + 4x5 = 15,
x1 + cx2 x3 + 2x4 x5 = 4,
xj 0, j = 1, ..., 5;
x0 = (1, 0, 0, 0, 3) :
Xsngt 4.28a
a b c
1
2
3
4
5
b)
1
0
2
1
1
-1
-7
-1
-1
-5
1
1
1
-1
-2
6
7
8
9
10
a
1
2
1
5
3
b c
-7 2
-1 -1
2 1
-6 1
-1 1
11
12
13
14
15
a
2
-1
1
6
2
b c
-5 -2
-6 -3
-5 2
-7 3
-5 2
16
17
18
19
20
a
b c
3 -1 -1
-2 -8 1
-1 -6 3
3 -5 -2
7 -6 2
x1 + x2 + x3 3x4 + x5 max,
x1 + ax2 + x3 3x4 + 4x5 = 3,
x1 bx2 x3 + cx4 = 1,
xj 0, j = 1, ..., 5;
x0 = (2, 0, 1, 0, 0) :
Xsngt 4.28b
a b c
1
2
3
4
5
-1 5 2
0 1 2
-1 0 -3
6 1 -2
4 2 3
6
7
8
9
10
a
b c
0 2 3
-2 -1 1
-6 2 3
2 -1 3
-4 1 -4
11
12
13
14
15
a
b c
2 1 -3
-3 -2 1
0 2 -3
-1 2 1
-5 3 -3
59
16
17
18
19
20
a
b c
-2 1 2
2 3 1
-1 3 -5
2 1 5
3 -4 1
w)
x1 3x2 + x3 + x4 + x5 max,
2x1 + 3x2 + ax3 + 7x4 + 9x5 = b,
x1 x2 + x4 + cx5 = 2,
xj 0, j = 1, ..., 5;
x0 = (0, 0, (b 14)/a, 2, 0) :
Xsngt 4.28w.
a
b c
1
2
3
4
5
-1 5 2
-6 12 3
2 18 3
-4 10 5
-3 8 4
6
7
8
9
10
a
b c
-7 12 6
-6 10 3
2 15 2
3 19 1
1 19 3
11
12
13
14
15
a
b c
-2 8 2
-8 12 3
-3 10 6
-7 8 2
3 15 4
16
17
18
19
20
a
b c
-6 8 2
4 19 1
-1 12 3
-2 5 2
5 16 2
7.2.
x = (1, 2, 0, 1, 0) cg n daraax bodlogyn id bax k parametrin bx utgyg ol.
3x1 + ax2 + kx3 5x4 2kx5 max,
x1 + x2 + 3x3 x4 + 2x5 = 0,
3x1 x3 + 2x4 x5 = 5,
bx1 + cx2 + x3 + x5 = b + 2c,
xj 0, j = 1, ..., 5 :
Xsngt 4.29
a b c
1
2
3
4
5
12 -1 -3
7 1 1
15 2 3
5 0 -1
3 -2 -5
6
7
8
9
10
a
b c
3 0 -1
17 2 3
8 1 1
0 -1 -3
21 2 3
11
12
13
14
15
a
b c
8 -1 -3
7 -2 -5
9 1 1
15 -3 -7
-1 0 -1
16
17
18
19
20
a
b c
10 1 1
1 -2 -5
9 0 -1
19 2 3
-5 -1 -3
7.3.
Daraax bodloguudyg ggdsn oron cgs xln simpleks argaar bod.
ax1 + x2 + x3 + x4 + x5 max,
2x1 + 3x2 + 5x3 + 7x4 + 9x5 = b,
x1 x2 + x4 + 2x5 = c,
xj 0, j = 1, ..., 5;
x0 = (0, 0, (b 7c)/5, c, 0) :
60
Xsngt 4.30a
a
b c
1
2
3
4
5
2
1
5
4
3
8 1
9 1
10 1
11 1
12 1
6
7
8
9
10
a
3
2
1
5
4
b
32
33
34
35
36
c
4
4
4
4
4
11
12
13
14
15
a
4
2
3
5
1
b
15
16
17
18
19
c
2
2
2
2
2
a
5
1
4
3
2
16
17
18
19
20
b
22
23
24
25
26
c
3
3
3
3
3
a
-5
-4
-1
-2
-3
b
4
3
2
1
5
c
1
2
3
4
5
11
12
13
14
15
a
-2
-3
-4
-1
-5
b
3
4
5
2
1
c
2
3
4
5
1
16
17
18
19
20
a
-4
-3
-2
-1
-6
b
4
3
2
1
5
c
4
3
2
1
5
b
3
5
6
4
7
c
3
3
2
1
5
11
12
13
14
15
a
-7
-5
-6
-4
-9
b
6
3
5
3
6
c
4
2
5
1
3
16
17
18
19
20
a
-6
-7
-5
-8
-7
b
4
2
4
5
3
c
2
2
3
1
1
7.4.
Daraax bodlogyg kanonik xlbrt iljlj simpleks argaar bod.
x1 x2 x3 + ax4 max,
x1 + 2x2 x3 + x4 2,
bx1 + x2 + x3 2x4 12,
2x1 + cx2 + 4x3 + 2x4 6,
xj 0, j = 1, ..., 4,
61
Xsngt 4.31
a b c
1
2
3
4
5
2
3
4
7
8
3
1
2
2
3
-1
1
-1
3
4
6
7
8
9
10
a
5
4
6
2
5
b
2
3
1
2
3
c
3
6
5
2
7
11
12
13
14
15
a
2
3
5
7
6
b c
1 2
3 4
2 -1
1 5
3 8
a
3
4
3
4
5
16
17
18
19
20
b
3
1
1
1
2
c
1
2
0
3
6
7.5.
Daraax sistemr ggdsn polidrin orog zoxiomol suurin argaar ol.
x1 + ax2 2x3 x4 = b,
x1 + 5x2 x3 x4 = c,
4x2 + x3 + x4 = 8,
xj 0, j = 1, ..., 4 :
Xsngt 4.32
a b c
1
2
3
4
5
2
3
4
5
6
1
2
3
4
5
2
3
4
5
6
6
7
8
9
10
a
7
8
2
3
4
b
1
2
3
4
5
c
3
4
5
6
7
11
12
13
14
15
a
5
6
7
8
2
b
1
2
3
4
5
c
4
5
6
7
8
16
17
18
19
20
a
3
4
5
6
7
b
1
2
3
4
5
c
5
6
7
8
9
7.6.
xld anxny orog zoxiomol suurin argaar olj, simpleks argaar bod.
x1 x2 + x3 3x5 max,
2x1 + x2 + x4 x5 = a,
b
2x1 x2 + x3 x4 b+1
x5 = 1,
c
x1 + x2 x3 + c+1 x4 + x5 = 8,
xj 0, j = 1, ..., 5 :
Xsngt 4.33
a b c
1
2
3
4
5
1
2
3
4
5
1
1
1
1
2
2
2
2
2
2
6
7
8
9
10
a
6
7
2
4
6
b
2
2
1
1
1
c
2
2
3
3
3
11
12
13
14
15
a
2
4
6
3
6
b
2
2
2
1
1
c
3
3
3
4
4
16
17
18
19
20
7.7.
62
a
3
6
3
6
3
b
2
2
3
3
4
c
4
4
4
4
4
1
2
3
4
5
1
3
5
7
9
1
1
1
1
1
4
4
4
4
4
6
7
8
9
10
a
1
3
5
7
9
b
1
2
2
1
2
c
3
3
3
3
3
11
12
13
14
15
a
9
7
5
3
1
b
1
2
3
4
1
c
2
2
2
2
2
16
17
18
19
20
a
1
1
1
1
1
b
5
4
3
2
1
c
1
1
1
1
1
7.8.
Daraax polidrin xo = (0, 1, 0, 1, 0, 0) oron bx suurig ol.
Bodloguud
7.32. Daraax bodloguudad xo oro al nxclig xangaxyg simpleks argaar togtoo. nd:
A. xo id bolno. B. Bodlogo idg. C. xo cgig bodwol ix utga olgodog oro orino.
a) 2x1 4x2 + x3 x4 + 3x5 max,
b)
5x1 + 6x2 7x3 + x4 + 14x5 = 7,
x1 5x2 10x3 4x4 + 20x5 = 10,
xj 0, j = 1, ..., 5;
x0 = (2, 0, 0, 3, 0);
63
2x1 + x3 + 2x4 + x5 = 1,
10x1 + 4x2 9x3 + 2x4 x5 = 3,
xj 0, j = 1, ..., 5;
x0 = (0, 1, 0, 0, 1).
x1 + x2 x3 + x4 = 1,
2x1 2x3 6x4 + 2x5 = 4,
xj 0, j = 1, ..., 5;
x0 = (2, 1, 0, 0, 0).
x1 + 3x2 + x3 x4 max,
x1 + 2x2 + x4 = 3,
x1 + x2 + x3 = 1,
xj 0, j = 1, ..., 4;
x0 = (0, 0, 1, 3).
w) 3x1 + 7x2 + 4x3 3x4 + 2x5 + 2x6 max, g) x1 + 3x2 + 2x3 + 4x4 2x5 min,
x1 + 3x2 + 2x3 + x4 + x5 + 3x6 = 3,
4x1 2x2 3x3 4x4 + x5 7x6 = 2,
xj 0, j = 1, ..., 6;
x0 = (0, 0, 1, 0, 1, 0).
x1 + x3 2x4 = 2,
x2 x3 + x4 2x5 = 0,
2x1 + x2 + 5x4 + x5 = 7,
xj 0, j = 1, ..., 5;
x0 = (3, 1, 1, 0, 0).
x2 + x3 + x4 x5 + x6 = 1,
x1 x2 x3 + x4 + 4x5 3x6 = 1,
x1 + x2 + x3 + x4 + x6 = 1,
xj 0, j = 1, ..., 6;
x0 = (0, 1, 0, 0, 0, 0).
64
w) x1 + x2 + x3 2x4 min,
2x1 x2 + x4 3,
x1 + x2 + x3 x4 1,
x1 + 2x2 x3 1,
x1 + 3x2 2x3 + x4 1,
xj 0, j = 1, ..., 4;
7.36. 1.Zoxiomol suurin argaar daraax polidr olonloguudyg xooson bi sxig alga.
2.Polidr xooson bi bol tni oro xo -g olj, ugaman xamaaralta tgitgldig
zaluulan xo oron suurig todorxol.
a) x1 + x2 + 2x3 + 2x4 = 1, b) x1 + x2 + 2x3 + x4 = 4,
x1 x3 + 2 = 1,
x1 2x2 + 3x3 = 5,
xj 0, j = 1, ..., 4;
3x1 + 7x3 + 2x4 = 13,
xj 0, j = 1, ..., 4.
d) x1 x2 + 2x3 + x4 = 3,
e) 3x1 + x2 + 7x3 + x4 = 6,
2x1 + 2x2 3x3 + x4 = 5,
x2 + x3 2x4 = 3,
x1 + x2 + x4 = 2,
x1 + 2x3 + x4 = 1,
xj 0, j = 1, ..., 4.
xj 0, j = 1, ..., 4.
w) 5x1 + 4x2 + 3x3 + 2x4 3x5 max, g) 2x1 + x2 x3 + 3x4 2x5 min,
2x1 + x2 + x3 + x4 x5 = 3,
x1 x2 + x4 + x5 = 1,
xj 0, j = 1, ..., 5.
7.38. Daraax bodloguudyn xosmog bodlogond simpleks argyg xrglj ndsn bodlogyn idig
ol.
a) 3x1 + 2x2 + x3 max, b) 19x1 + x2 + 16x3 max,
2x1 x2 + x3 1,
2x1 x2 + 3x3 2,
x1 + x2 x3 1,
3x1 5x2 + 7x3 10,
x1 2x2 + 3x3 6,
4x1 + 3x2 + x3 3,
x1 + 3x2 + x3 2,
x1 + 2x2 x3 3,
2x1 + x2 3x3 12,
3x1 + 2x3 1;
66