Question: Write the GAMS code of the mathematical model given below.? Production Problem A company produces 4 different products. These products need to be processed for
Write the GAMS code of the mathematical model given below.?

Production Problem A company produces 4 different products. These products need to be processed for a certain amount of time in 4 different workshops during production. The company manufactures for demand and incurs a penalty cost for products that do not meet demand The necessary information is given in the table below: Production time (hour) Workshop Product 1 Product 2 Product 3 Product 4 Capacity(hour) 1 0.3 0.3 0.25 0.15 1000 2 0.25 0.35 0.3 0.1 1000 3 0.45 0.5 0.4 0.22 1000 4 0.15 0.15 0.1 0.05 1000 Demand 800 750 600 500 Unit profit 20$ 10$ Unit penalty cost 15$ 20$ 10$ 8$ Mathematical Model Xi = number of product i produced (i = 1, 2, 3, 4) Yi = shortage in demand for product i li = 1, 2, 3, 4) AN 30$ 40$ max 2 = 30x1 + 40x2 + 20x3 + 10x4 - (15y + 20y2 + 10y3 + 8y4) s.t. 0.3x1 + 0.3x2 + 0.25x3 + 0.15x4 S 1000 0.25x1 + 0.35x2 + 0.3x3 + 0.1X4 S 1000 0.45x1 + 0.5x2 + 0.4x3 + 0.22x4
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
