Question: I need it to written as lingo code Sets: Month: sets of the months. t (1,2,3) Product: sets of the products. i (1,2,3) Machine: sets



I need it to written as lingo code
Sets: Month: sets of the months. t (1,2,3) Product: sets of the products. i (1,2,3) Machine: sets of the machines. j {1,2...9) Raw material: sets of the raw materials. k (1,2,3) Subcontract: sets of subcontractors. s (1,2,3) Company: sets of companies c {1,2,3) Constants: RC: the cost of product i from machine j by material k in regular time. OC: the cost of product i from machine j by material k in overtime. Fj: fixed cost of machine j. F: Fixed cost of subcontract s C cost of raw materials k for a ton. SE: setup cost for subcontracting s. AC: the cost for product i ordered from subcontractor s. CSTOCK: holding cost for product i. AVAIL: the availability of raw materials k in month t ISTOCK: the initial stock of product I from material k FSTOCK: the final stock of product I from material k DEM: the demand from product i in month t CAPM;: the production capacity of machine j CAPSis: the order limit of product I from subcontractor Constrains: Availability constraints: Vk,t (the first raw material on first month) { [ RXijkt + OXijkt STOREik1 Vi,t/1 product, month [STOREikt-1 + (RXijkt + OXijkt) + [[ Zikst = DEMikt + STOREikt Decision variable: RX: amount of product i produce by machine j through material k in month t in regular time OXkt: amount of product i produce by machine j through material k in month t in overtime Zikst: amount of product i from raw material k ordered from subcontract s in month t Akt: amount of material k used in month t STORE: amount of product i produced from material k stored in month t Yt: Binary> 1 if used machine j in month t 0 otherwise Mst: Binary> 1 if used subcontracts in month t 0 otherwise OBJECTIVE FUNCTION: Min: [[[[ OCjx OXijkt + [[ Ck x Akt + [[[[ RCij x RXijkt + [[Fix Yjt +[ Fsx Ms + Zikst X ACis + CSTOCK STOREik Capacity constrains: Vj,t machine 1,2,3. month (RXijkt + OXijkt) Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
