9 Replies
@Apu
Note for OP
+solved @user1 @user2... to close the thread when your doubt is solved. Mention the users who helped you solve the doubt. This will be added to their stats.cant figure out a way to solve this with 2 variables only
let A recieve x from P and 5-x from Q
B recieve y from P and 5 -y from Q
C recieve z from P and 4 - z from Q
x + y + z = 8
0 =< x,y =< 5
0 =< z =< 4
160x + 100y + 150z = cost of P
100(5-x) + 120(5-y) + 100(4-z) = cost of Q
net cost = 60x + 500 + 600 - 20y + 50z + 400
= 1500 + (60x-20y+50z)
(60x-20y+50z) has to minimised
so no place can receive more than its requirement ?
ok yes thatll make sense since production capacity 14 and req is 14 too
yeah but i need to revise as i cant exactly minimise this
Yo I remember thinking up such a beautiful way to explain this last year :/
go ahead
Wait lemme remember 💔
