Linear programming models for a stochastic dynamic capacitated lot sizing problem

13 2 0
Linear programming models for a stochastic dynamic capacitated lot sizing problem

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

VIETNAM NATIONAL UNIVERSITY HCMC INTERNATIONAL UNIVERSITY School of Industrial Engineering and Management SEMESTER PROJECT Linear programming models for a stochastic dynamic capacitated lot sizing problem (TEMPELMEIER 2015) Members of Group 10: No Full name Student’s ID Le Dinh Khanh IELSIU18053 Vu Truong Giang IELSIU18028 Ngo Van Hieu IELSIU18041 Le Thanh Mai IELSIU18077 Lecturer: Dr Nguyen Van Hop Course: Inventory Management Semester 1, year 2020-2021 TABLE OF CONTENTS TABLE OF CONTENTS ACKNOWLEDGEMENT .2 GROUP EVALUATION FORM .3 Timeline: .3 Policies: 3 Group individual assessment: .3 CASE SUMMARIZATION Description: Objective: .5 Scope: .5 Limitations: MODEL FORMULATION AND DESCRIPTION .6 Mathematical model: .6 Model implementation: Result analysis: 10 Sensitivity analysis: 10 LIMITATIONS 10 CONCLUSION 11 REFERENCES 12 Page |1 ACKNOWLEDGEMENT Firstly, our group would like to give the deepest thanks and appreciation to our dedicated Dr Nguyen Van Hop and teaching assistant Nguyen Tuan Anh helping us to build the code and encouraging us throughout the project Secondly, we also appreciate our dear teacher Dr Nguyen Van Hop for giving us the Linear Programing models for a stochastic dynamic capacitated lot sizing problem to be our project This offers us the opportunity to fully understand the fundamental and practice of the subject Inventory Management Lastly, we would like to save our thanks for our beloved teammates with their great supports for better or worse, through thick and thin Page |2 GROUP EVALUATION FORM Timeline: Step Jobs to Time Group forming & register group members, group name, Choosing a system to study via the link Week Conduct study Week 2-12 Project report submission Project Presentation Week 13-14 (To be announced) Week 13-14 (To be announced) Policies: - Report: 40% - Presentations: 30% - Q&A: 15% - Contribution to the group: 15% - Penalty: Late submission day: - 10% Late submission days: - 20% Late submission days: - 30% Late submission > days or no submission: - 100% Absent from presentation: - 60% Group individual assessment: Group 12’s Contribution Name Student ID 100% Lê Đình Khánh IELSIU18053 100% Lê Thanh Mai IELSIU18077 100% Ngô Văn Hiếu IELSIU18041 100% Vũ Trường Giang IELSIU18028 Page |3 CASE SUMMARIZATION The mathematical model for integer programming is the linear programming model with one additional restriction that the variables must have integer values If only some of the variables are required to have integer values (so the divisibility assumption holds for the rest), this model is referred to as Mixed Integer Programming (MIP) In short, MIP is often used for system analysis and optimization as it presents a flexible method for solving large and complex problems Several limitations have also lead researchers toward bi-level optimization, non-linear deterministic optimization, or stochastic methods to address certain aspects of processing Such extensions often require other simplifications and the development of heuristic methods for limiting the solution space and determining solution globality Components of MIP problem: - Variables: These parameters may be numerical (real numbers) as in the number of products K or target fill rate or binary for a Yes/No decision on whether a product has setup cost or not Integer programming determines the optimal value for such variables - Objective Functions: such as minimizing the final total cost and lot size, are a linear function of an optimization's variables - Constraints: are also linear functions of an optimization's variables and are used to restrict the values an optimization can return for a variable For example, constraint 15 is the total sum of set up time and processing time to produce a product must be smaller than the capacity Description: Lot-sizing Problems occur in industrial practice, when a production process can only start after a setup of the required resources with associated setup time and/or setup costs has been completed In this project, we concentrate on the stochastic dynamic multi-item capacitated lot sizing problem (SCLSP), which is the stochastic counterpart of the wellknown deterministic dynamic multi-item capacitated lot sizing problem (CLSP) The problem can be determined to consider a single resource, which is used to produce 𝐾 (𝑘 = 1, 2, … , 𝐾) items with dynamic random period demands 𝐷𝑘𝑡 over a planning horizon of 𝑇 (𝑡 = 1, 2, … , 𝑇) periods; For product 𝑘 , the demands 𝐷𝑘𝑡 are random variables with forecasted period-specific expectation 𝐸{𝐷𝑘𝑡 } and variance 𝑉{𝐷𝑘𝑡 } The period capacities of the resource are 𝑏𝑡 (𝑡 = 1, 2, … , 𝑇) These data, which may vary over time, are the outcome of a forecasting procedure It is assumed that the demands of the products are mutually independent and autocorrelated Unfilled demands are backordered and the amount of backorders is controlled by imposing a fill rate constraint, namely the 𝛽𝑐 service level At the beginning of the planning horizon, the initial inventory 𝐼𝑘0 (𝑘 = 1, 2, … , 𝐾) can be determined and may be zero Moreover, the complete production plan is fixed, including the timing and the size of the cumulated production quantities There is also a charge of the inventory holding costs at the end of each period Page |4 Objective: The main objectives of this project are to solve Lot-sizing Problem occurring in stochastic dynamic by optimizing the final total cost and the lot size based on a given data: - First, to understand the concept and the mathematical model given by Horst Tempelmeier and Timo Hilger throughout the paper - Second, to translate the objective function (14) and the constraints from (15) to (33) into LINGO programming to observe the result - Third, to apply Sensitivity Analysis to propose a conclusion including the result or any limitations from the solution for the stochastic dynamic capacitated lot-sizing problem Scope: This problem can apply to a large model However, in our project, we limit all important parameters (production number, planning horizon, lines segment) to 10 (In reality we should extend the line segment because this model approach non – linear problem by linear method, so the greater number of line segment, the more accurate the solution is.) In addition, it only focuses on the optimization for the problem with assumed data Therefore, it is hardly applied the result in practice as we cannot identify a specific practical situation or background Limitations: From the given basic model, it is believed that this model cannot be brought into practice due to the time-consumption in instancing the exact solution We need to give a specific background with a certain condition in production so that the binary setup variables will be prevented from being decomposed into smaller and smaller subproblems which will generates more issues for the model As the result, Fix & Optimize heuristic is carried out as a background for the model in this lot-sizing problem Thanks to Fix & Optimize heuristic, the solution can deliver high-quality results, easier to implement and can be adjusted to fit with different kinds of mixed-integer lot-sizing problems Page |5 MODEL FORMULATION AND DESCRIPTION Mathematical model: Objective function: 𝑙 𝑙 𝑴𝒊𝒏𝒊𝒎𝒊𝒛𝒆 𝐸{𝐶} = ∑ 𝐾𝑘=1 ∑𝑇𝑡=1 (𝑠𝑘 × 𝛾𝑘𝑡 + ℎ𝑘 × [∆𝐼0𝑃 + ∑ 𝐿𝑙=1 ∆𝑙=1 × 𝑤𝑘𝑡 ]) (14) 𝑘𝑡 Constraints (Subject to): 𝐾 ∑(𝑡𝑘 𝑏 × 𝑞𝑘𝑡 + 𝑡𝑘𝑟 × 𝛾𝑘𝑡 ) ≤ 𝑏𝑡 𝑘=1 𝑡 = 1,2, … , 𝑇 (15) (15) Total setup time and processing time to produce a product must be smaller than the capacity 𝐿 𝐿 𝑙=1 𝑙=1 𝑙 ≤ ∑ 𝑤𝑘𝑡 𝑙 ∑ 𝑤𝑘,𝑡−1 𝑡 = 2,3, , 𝑇; 𝑘 = 1,2, , 𝐾 (16) (16) Total production quantity of product 𝑘 from 𝑙 = to 𝐿 in period 𝑡 − must be smaller than or equal to total production quantity of product 𝑘 from 𝑙 = to 𝐿 in period 𝑡 𝑙 𝑙 𝑙−1 ≤ 𝑢𝑘𝑡 − 𝑢𝑘𝑡 𝑡 = 1,2, , 𝑇; 𝑙 = 1,2, , 𝐿; 𝑘 = 1,2, , 𝐾 (17) 𝑤𝑘𝑡 (17) Total production quantity of product 𝑘 associate with line segment 𝑙 must fit in to the range of production inside each line segment 𝐿 𝐿 𝑙=1 𝑙=1 𝑙 ∑ 𝑤𝑘,𝑡𝑙 − ∑ 𝑤𝑘,𝑡−1 = 𝑞𝑘𝑡 𝑡 = 1,2, … , 𝑇 𝑘 = 1,2, … , 𝐾 (18) (18) Production quantity for product k in period t is equal to the sum of production quantities for product 𝑘 from 𝑙 = to 𝐿 in period 𝑡 less the sum of production quantities product 𝑘 from 𝑙 = to 𝐿 in period 𝑡 − 𝑞𝑘𝑡 ≤ 𝑀 × 𝛾𝑘𝑡 𝑡 = 1,2, … , 𝑇; 𝑘 = 1,2, … , 𝐾 (19) (19) If there is no setup in period t of product k, then 𝑞𝑘𝑡 must be 𝐿 ∑ 𝑤𝑘,𝑡𝑙 𝑙=1 𝐿 𝑙 − ∑ 𝑤𝑘,𝑡−1 𝑙=1 = 𝑞𝑘𝑡 𝑡 = 1,2, , 𝑇; 𝑙 = 1,2, , 𝐿; 𝑘 = 1,2, , 𝐾 (18) 𝑞𝑘𝑡 ≤ 𝑀 × 𝛾𝑘𝑡 𝑡 = 1,2, , 𝑇; 𝑘 = 1,2, , 𝐾 (19) (𝑆𝑒𝑟𝑣𝑖𝑐𝑒 𝑙𝑒𝑣𝑒𝑙 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡𝑠, 𝑡𝑜 𝑏𝑒 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑒𝑑) (20) 𝛾𝑘𝑡 ∈ {0,1} 𝑡 = 1,2, … , 𝑇; 𝑘 = 1,2, … , 𝐾 (21) (21) The constraint that clarify setup indicator in period t for product k is a binary variable 𝑙 𝑤𝑘,𝑡 ≥ 𝑡 = 1,2, , 𝑇; 𝑙 = 1,2, , 𝐿; 𝑘 = 1,2, , 𝐾 (22) Page |6 (22) Production quantity of product k in period t associated with interval l must be a nonnegative number 𝛽𝑡 Service Level: If the finite horizon 𝛽𝑡 criterion is used, than constraint (20) is specified as 𝑙 ∑ 𝑇𝑖=1(∆𝐵0𝑘𝑡 + ∑𝐿𝑙=1 ∆𝑙𝐵𝑘𝑡 × 𝑤𝑘𝑡 ) 1− ≥ 𝛽𝑇∗ 𝑘 = 1,2, … , 𝐾 (23) ∑ 𝑇𝑖=1 𝐸{𝐷𝑘𝑖 } 𝑙 (23) ∑𝑇𝑖=1 (∆0𝐵𝑘𝑡 + ∑𝐿𝑙=1 ∆𝐵𝑙 𝑘𝑡 × 𝑤𝑘𝑡 ) is the total backorder quantities, ∑ 𝑇𝑖=1 𝐸{𝐷𝑘𝑖 } is the total demand Therefore, this constraint means the model must satisfy at least 𝛽𝑇∗ service level The above basic model formulation can easily be extended to incorporate setup carryovers We extend the above model by the following constraints: 𝐾 ∑ 𝑤𝑘𝑡 𝑘=1 ≤1 𝑡 = 1,2, … , 𝑇 (27) (27) Each product can only in the setup state one time 𝑤𝑘𝑡 ≤ 𝛾𝑘,𝑡−1 + 𝑤𝑘,𝑡−1 𝑘 = 1,2, … , 𝐾; 𝑡 = 2,3, … , 𝑇 (28) (28) This constraint ensures the logical of the variable: the setup state cannot carry over from period t-1 to period t if it did not start in period t-1 𝑤𝑘𝑡 + 𝑤𝑘,𝑡+1 ≤ + 𝑣𝑡 𝑘 = 1,2, … , 𝐾; 𝑡 = 2,3, … , 𝑇 − (29) (29) Consequence of constraint 30 𝑤𝑘,𝑡+1 = if 𝑣𝑡 = 𝑣𝑡 + 𝛾𝑘𝑡 ≤ 𝑘 = 1,2, , 𝐾; 𝑡 = 1,2, , 𝑇 (30) (30) Force 𝑣𝑡 to if there is a setup in period t 𝛾𝑘0 = 0, 𝑤𝑘1 = 𝑘 = 1,2, , 𝐾 (31) (31) No setup in the starting point for each product 𝑤𝑘𝑡 ∈ {0,1} 𝑘 = 1,2, , 𝐾; 𝑡 = 1,2, , 𝑇 (32) (32) Clearer definition for binary variable which indicates that the resource is in the setup state for product k at the beginning of period t 𝑣𝑡 ≥ 𝑡 = 1,2, , 𝑇 (33) (33) Indicator variable 𝑣𝑡 is a non-negative variable Additional constraints: ∆𝑙𝐵𝑘𝑡 ∈ [0; 1] 𝑘 = 1,2, , 𝐾; 𝑡 = 1,2, , 𝑇; 𝑙 = 1,2, , 𝐿; (34 − 35) (34-35) The slope of backorder must be a percentage-type variable Page |7 Model implementation: We input the algorithm into LINGO applications and obtain the following codes: MODEL: !FIX AND OPTIMIZE HEURISTIC FOR LOT SIZING PROBLEM; !SC = SETUP COST; !HC = HOLDING COST; !EB = EXPECTED BACKORDERS; !EI = EXPECTED INVENTORIES; !ED = EXPECTED DEMAND; !SB = BACKORDERS SLOPE; !SI = INVENTORIES SLOPE; !TBO = 1; !BSI = BINARY SETUP INDICATOR;!CP = CUMULATED PRODUCTION; !PT = PROCESSING TIME; !ST = SETUP TIME; !IV = INDICATOR VARIABLE; !PQ, PQ1 = PRODUCTION QUANTITY; !TFR = TARGET FILL RATE = 0.80; !PCR = PERIOD CAPACITIES OF THE RESOURCE; !BPQ = BINARY INDICATE THE RESOURCE IS IN THE SETUP STATE; SETS: PRONUMB /1 10/: SC, HC, PT, ST; !PARAMETERS AND VARIABLES RELATE TO PRODUCT NUMBER; PLANHOR /1 11/: PCR, VI; !PARAMETERS AND VARIABLES RELATE TO PLANNING HORIZON; LINESEG /1 11/: ; !PARAMETERS AND VARIABLES RELATE TO LINE SEGMENT; LOTCALC1 (PRONUMB, PLANHOR): BSI, PQ1, ED, BPQ; !2-DIMENSION VAR; LOTCALC2 (PRONUMB, PLANHOR, LINESEG): SB, SI, CP, PQ; ENDSETS !3-DIMENSION VAR; ! THE OBJECTIVE FUNCTION; [OBJ] MIN = @SUM(LOTCALC2(x,y,z)|y #GE# #AND# z #GE# 2: SC(x)*BSI(x,y) + HC(x)*(100 + (SI(x,y,z)*PQ(x,y,z)))); !100 IS THE BEGINNING EXPECTED INVENTORIES; ! THE CONSTRAINTS; @FOR(PLANHOR(y)|y #GE# 2: @SUM(PRONUMB(x):(PT(x)*PQ1(x,y) )+(ST(x)*BSI(x,y) ) )

Ngày đăng: 07/06/2022, 19:50

Tài liệu cùng người dùng

Tài liệu liên quan