GEMATMW Exercises6.1&6.2
GEMATMW Exercises6.1&6.2
.
6 .
Decision
=
Variables ✗ cost of model one truck solving constraints we have ff .
points
y =
cost Of model two truck 19,6 ) ,
I 0, 12 ) ,
( 0,15 )
subject to the ft .
Xty I 115
constraints 2x t 3yd 36
✗ 20
y 20
cost =
7,5 × 0 t 2.4×15 =
36
cost =
1. S X O t 2.4×12 =
28.8
/
cost =
1.5 ✗ 9 t 2.4 × 6 =
27.9
Let Prof A -
A, Prof B -
B, Prof C -
C, Prof D -
D
,
, ,
Prof / Subj W X Y 2
A 80 55 45 45
58 35 70 SO
B
70 SO 80 65
C
D 90 70 40 80
maximum value 90 .
10 35 45 45
32 55 20 40
20 40 10 25
0 20 SO 10
Step 1 : Find out the each row minimum element and subtract it from that row
0 25 35 35 C- 10)
12 35 0 20 (-20)
10 30 0 Is C- 10)
0 20 SO 10 I -0 )
Step 2: Find out each column minimum element and subtract it from that column
0 5 35 25
12 75 0 10
10 10 0 5
0 0 SO 0
1- 0) (-2011-011-10)
Determine the minimum number of lines , required to cover all zeroes in the matrix .
0 S 35 25
12 15 0 10
10 10 0 5
>
°
v0 0 ✓SO 0
0 0
Step 4: create additional develop the new revised table by selecting the smallest element, 1<=5 the
zeroes , say , among cells
Subtract 1<=5 from every element in the cell not covered by a line
Add 1<=5 to
every element in the intersection cell of two lines .
0 0 35 20
12 10 0 5
1
10 S O O
S O 55 0
Determine the minimum number of lines , required to cover all zeroes in the matrix .
12 10 0 5
10 5 0 0
S O SS O
v v v ✓
O O O O
Optimal assignments :
[ 0] 0 35 20
12 10 [ 0] 5
10 5 0 10]
5 10] 55 0
Optional solution :
A W 80
B Y 70
C 2 65
D X 70
Total 285