Modeling with python and gurobi assigmentFind the assignment attached

Python and Gurobi Problem description A company produces di erent products i = 1 ,...,n . The goal is to determine a production plan covering periods t = 1 ,...,T which minimizes setup and holding cost while satisfying demand and considering capacity constraints. The following parameters and decision variables model that problem. ai resource requirement to produce one unit of product i bi resource requirement for the setup operation of product i C available capacity (per period) dit demand of product i in period t hi holding cost for product i per unit per period Ii0 initial inventory of product i si setup cost for product i Iit inventory of product i at the end of period t (fractional decision variable) xit amount of product i produced in period t (fractional decision variable) yit =1, if there is a setup for product i in period t, 0 otherwise Model (1) (2) (3) (4) (5) Data n = 12 , T = 5 , C = 1456 , Ii0 = 0 ,∀i, ai = 1 ,∀i Tasks 1. Implement the model in Python and solve it with Gurobi. 2. Implement also a feasibility check. Calculate the estimated cumulative capacity requirement a¯t per period as follows: . Check if the cumulative capacity C¯t = t·C is su cient. If not print an error message and state the required overtime in that period. 3. Identify the item which leads to the highest cost in the production plan (comprisingsetup and holding cost). 2