العفووو ولو
بروبلم 2 :
Larkin Industries manufactures several lines of decorative and functional l items. The most recent order has been for 1200 door lock units for an apartment complex developer. The sales and production departments must work together to determine delivery schedules.
لاركن للصناعات مصنع فيلو كذا خط لانتاج عدة عناصر معدنية زخرفية وفنية. اخر طلبيه كانت 1200 قفل للباب. يجب على أقسام المبيعات والإنتاج يشتغلو مع بعض لتحديد جداول تسليم الطلبيات
each lock unit consists of three components: the knob and face plate, the actual lock itself, and a set of two keys.
كل قفل يحتوي على 3 عناصر :
knob and face plate مقبض لوحة والوجه
actual lock itself والقفل الفعلي
set of two keys ومجموعة من مفتاحين
though the processes used in the manufacture of the three components vary, there are three areas where the production manager is concerned about the availability of resources. These three areas, their usage by the three components, and their availability are detailed in the table.
عملية التصيع لكل عنصر مختلفة, وفيه 3 اماكن تتوفر فيها الموارد لتصنيع دي العناصر الي هيه تشطيب وتقطيع .. واداكي هيه في الجدول
A quick look at the amounts available confirms that Larkin does not have the resources to fill this contract. A subcontractor, who can make an unlimited number of each of the three components, quotes the prices below.
نظرة سريعه للكميات المتاحه للمصنع تؤكد انه ماعنده موارد كافيه عشان يعمل العقد
subcontractor, who can make an unlimited number of each of the three components, quotes the prices below.
ال subcontractor ممكن يعملنا عدد غير محدود من العناصر الثلاثه دي واداكي الأسعار في الجدول الثاني
سعر التصنيع subcontractor وسعر البيع larkin cost
Develop a linear programming model that would tell Larkin how to fill the order for 1200 lock sets at the minimum cost.
طوري نموذج البرمجة الخطية الي يخلي الشركة تقدر تعبي الطلب دا ل 1200 قفل بأقل سعر
واداكي ال Decision variable
Let
PM = the number of knob and plate units to make سعر تصنيع المقبض
PB = the number of knob and plate units to buy سعر شراء المقبض
LM = the number of lock units to make سعر تصنيع القفل
LB = the number of lock units to buy سعر شراء القفل
KM = the number of key sets to make سعر تصنيع مجموعه من مفتاحين
KB = the number of key sets to buy سعر شراء مجموعه من مفتاحين
ازا ما اداكي هيه في السؤال انتي تكتبيها , باقي نجيب داله الهدف والقيود
objective function
الهدف اننا نقدر نعمل دي الطلبيه بأقل سعر يعني نصنعها ونشتريها بأقل سعر ازن
حنضرب كل وحده تصنيعها في سعر التصنيع + شراءها في سعر الشراء
Min 6PM + 10PB + 4LM + 9LB + .5KM + 1KB
constrains
في جدول الاول اعطاكي المتاح من كل مصدر ازن حيكون اصغر او يساوي
للتصنييع !
. 12PM + 5LM + 2KM ≤ 15000
18PM + 20LM + 20KM ≤36000
15PM + 5LM + 2KM ≤ 12000
وقلك انه الطلبيه 1200 مفتاح يعني من كل عنصر ححتاج 1200 للتصنيع والشراء
PM + PB ≥1200 سعر التصنيع والشراء للمقبض
LM + LB ≥1200 سعر التصنيع والشراء للقفل
KM + KB ≥1200 سعر التصنيع والشراء لمجموعه المفتاحين
ولازم يكون عندنا قيد ال non negativity constrain كلهاا تكون أكبر من الصفر
PM, PB, LM, LB, KM, KB ≥0
وبس الحمدالله سامحوني
الله يوفقنا يااارب ويفتح علينا