Test 1 Algorithm 26 September 2024
Test 1 Algorithm 26 September 2024
Given,
objective = min loss
Con seints = not exe cuting all possible jobs is not
allowed.
Stepl:
Select With lenst loss Vadue
fivst, we
2 4
Step2:
(00 121
J Js
2 3 4
A
For this grabb, We assnme
to yerch Vertea C
B fom vetea A.
-2
ti(5)
e(3)
tie)
fic)
11
Gracat
Let
Aig.
Atgi strncls jn ed sptima"
the
2 3
Weight 2
10
2812
As er the iven matix, hb have 3 obecb
With gven Corespondir rtdneight.
e hwe to maximie tee
Ctacdy 6, rohatbe
fi
T4 Ghond be hote that no @objed
Can he tcdched rtially
Canse a ree in twe complexity
in yamic prrgram
is)
21i)
4
1
4 erecal Atgo. stryes in lrzl optima
Let the belsn
bel ennple -
ob) 2
Weisht 1 2
28 )2