planning and long-term scheduling for ppg glass...

25
Planning and long-term scheduling for PPG glass production Ricardo Lima Ignacio Grossmann [email protected] Carnegie Mellon University Yu Jiao PPG Industries Glass Business and Discovery Center

Upload: trinhnhan

Post on 08-May-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

Planning and long-term scheduling for PPG glassproduction

Ricardo LimaIgnacio [email protected]

Carnegie Mellon University

Yu JiaoPPG Industries

Glass Business and Discovery Center

Page 2: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 2

Introduction

Goals of the project:

◆ Development of a Mixed Integer Linear Programming (MILP) model for the planningand scheduling of PPG tinted glasses production

◆ capture the essence of the process that is not considered in the MasterProduction Schedule (MPS)

◆ cullet management

◆ changeovers driven by SKUs

that may lead to infeasible schedules

◆ develop a decision making production tool that can influence real world decisions

Page 3: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 3

Process description

Continuous process:

Features◆ Raw materials define color of the

substrate

◆ Sequence dependent changeoversbetween substrates

◆ Zero length transitions between substrateand coated products

◆ Long transition times (order of days)

◆ High transition costs

◆ Continuous operation during changeover

◆ Minimum run length (days)

Products defined by color

Substrate Coated∗

Solexia

Caribia

Azuria

Solarbronze

Solargray

Graylite

Page 4: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 4

Process description: cullet management

Cullet: waste glass

Good cullet: generated during the production run

Dilution cullet: produced during changeover from one substrate to other substrate

Page 5: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 4

Process description: cullet management

Cullet: waste glass

Good cullet: generated during the production run

Dilution cullet: produced during changeover from one substrate to other substrate

Page 6: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 4

Process description: cullet management

Cullet: waste glass

Good cullet: generated during the production run

Dilution cullet: produced during changeover from one substrate to other substrate

Page 7: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 4

Process description: cullet management

Cullet: waste glass

Good cullet: generated during the production run

Dilution cullet: produced during changeover from one substrate to other substrate

Page 8: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 4

Process description: cullet management

Cullet: waste glass

Good cullet: generated during the production run

Dilution cullet: produced during changeover from one substrate to other substrate

◆ For each color it is necessary to have in stock the same color of cullet available.◆ Changeovers generate dilution cullet at the same operating conditions of

production.◆ There is a maximum storage capacity for cullet, extra cullet is sold below the

production cost.◆ The schedule determines the amount of cullet generated.

Page 9: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 5

Problem statement

Given◆ Time horizon of 18 months◆ Transition, and inventory costs◆ Set of products

◆ deterministic demand◆ initial, minimum, and maximum inventory levels◆ production rates◆ sequence dependent transitions◆ operating costs◆ selling prices

◆ Cullet◆ initial, minimum, and maximum inventory levels◆ production rates◆ consumption rates◆ compatibility matrix between colors◆ selling price

Determine◆ sequence of production (production times and amounts)◆ inventory levels during and at the end of the time horizon◆ economic terms: total operating, transition, inventory costs

That maximize the profit

Page 10: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 6

Mathematical programming model

Full space MILP model

◆ Detailed scheduling: slot based continuous time model (Erdirik-Dogan and Grossmann(2008))

◆ Planning model: traveling salesman sequence based model (Erdirik-Dogan andGrossmann (2008))

Proposed features

◆ Changeovers across due dates

◆ Minimum run lengths across due dates

◆ Aggregation of the products to cope with redundancy from zero lengthtransition times

◆ Moving forward terminal constraints for minimum inventory levels at the end ofthe time horizon

◆ Cullet management

Page 11: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 7

Cullet model

◆ Consumption profiles for good and dilution cullet

◆ by group of colors

◆ 2 operating conditions in terms of % of cullet fed to the furnaceHigh % of cullet fed to the furnace, when there is enough cullet in stockLow % of cullet fed to the furnace, when the cullet in stock is close to the minimum

Cullet consumed in function of the length of the runHigh % of cullet

Page 12: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 7

Cullet model

◆ Consumption profiles for good and dilution cullet

◆ by group of colors

◆ 2 operating conditions in terms of % of cullet fed to the furnaceHigh % of cullet fed to the furnace, when there is enough cullet in stockLow % of cullet fed to the furnace, when the cullet in stock is close to the minimum

◆ New variables

◆ Length of the production run

◆ 0-1 variable to define if a new production run starts

Page 13: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 7

Cullet model

◆ Consumption profiles for good and dilution cullet

◆ by group of colors

◆ 2 operating conditions in terms of % of cullet fed to the furnaceHigh % of cullet fed to the furnace, when there is enough cullet in stockLow % of cullet fed to the furnace, when the cullet in stock is close to the minimum

◆ New variables

◆ Length of the production run

◆ 0-1 variable to define if a new production run starts◆ New constraints

◆ Mass balance to the process for each production run, for good and dilution cullet

◆ Inventory balances for good and dilution cullet

◆ Minimum inventory levels for each color of cullet

◆ Total maximum capacity storage

◆ Penalty for selling cullet

Page 14: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 8

Cullet consumption model

δ-form piecewise linear formulation (PLF) to approximate cullet c onsumptionθi ,l ,t = MRTi ZNSi ,l ,t + δ1si ,l ,t + δ2si ,l ,t ∀i ∈ I, l ∈ LM, t ∈ T

tc1i ,l ,t = bi ,0 ZNSi ,l ,t +bi ,1 − bi ,0

ai ,1 − ai ,0δ1si ,l ,t +

bi ,2 − bi ,1

ai ,2 − ai ,1δ2si ,l ,t

dc1i ,l ,t = dbi ,0 ZNSi ,l ,t +dbi ,1 − dbi ,0

ai ,1 − ai ,0δ1si ,l ,t +

dbi ,2 − dbi ,1

ai ,2 − ai ,1δ2si ,l ,t

δ1si ,l ,t ≤ (ai ,1 − ai ,0)ZNSi ,l ,t

δ1si ,l ,t ≥ (ai ,1 − ai ,0)ZCSi ,l ,t

δ2si ,l ,t ≤ (ai ,2 − ai ,1)ZCSi ,l ,t

ZNSi ,l ,t ≥ ZCSi ,l ,t

ZNSi ,l ,t ≥ ZCSi ,l ,t

gcsi ,l ,t = tcsi ,l ,t − dcsi ,l ,t

Page 15: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 8

Cullet consumption model

δ-form piecewise linear formulation (PLF) to approximate cullet c onsumptionθi ,l ,t = MRTi ZNSi ,l ,t + δ1si ,l ,t + δ2si ,l ,t ∀i ∈ I, l ∈ LM, t ∈ T

tc1i ,l ,t = bi ,0 ZNSi ,l ,t +bi ,1 − bi ,0

ai ,1 − ai ,0δ1si ,l ,t +

bi ,2 − bi ,1

ai ,2 − ai ,1δ2si ,l ,t

dc1i ,l ,t = dbi ,0 ZNSi ,l ,t +dbi ,1 − dbi ,0

ai ,1 − ai ,0δ1si ,l ,t +

dbi ,2 − dbi ,1

ai ,2 − ai ,1δ2si ,l ,t

δ1si ,l ,t ≤ (ai ,1 − ai ,0)ZNSi ,l ,t

δ1si ,l ,t ≥ (ai ,1 − ai ,0)ZCSi ,l ,t

δ2si ,l ,t ≤ (ai ,2 − ai ,1)ZCSi ,l ,t

ZNSi ,l ,t ≥ ZCSi ,l ,t

ZNSi ,l ,t ≥ ZCSi ,l ,t

gcsi ,l ,t = tcsi ,l ,t − dcsi ,l ,t

Disjunction to choose the cullet operating profile to use, ZP25i ,l ,t is a 0-1 variable to select theconsumption profile2

6

6

4

Z1i ,l ,t

tci ,l ,t = tc1i ,l ,t

dci ,l ,t = dc1i ,l ,t

3

7

7

5

2

6

6

4

¬Z1i ,l ,t

tci ,l ,t = tc2i ,l ,t

dci ,l ,t = dc2i ,l ,t

3

7

7

5

∀i ∈ IM, l ∈ LM, t ∈ T

Page 16: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 9

Solution approach

Rolling horizon algorithm (RHA)◆ Time horizon = 2 years◆ 2 models are used: scheduling model and a planning model◆ Aggregation of time periods in the planning model◆ Rolling forward terminal constraints for the minimum inventory levels at the end of the

time horizon.

Page 17: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 9

Solution approach

Rolling horizon algorithm (RHA)◆ Time horizon = 2 years◆ 2 models are used: scheduling model and a planning model◆ Aggregation of time periods in the planning model◆ Rolling forward terminal constraints for the minimum inventory levels at the end of the

time horizon.

Page 18: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 10

Case studies

◆ Case 1 - Scheduling without terminal constraint sTime periods = 1 month.10 substrates, 9 coated products, 1 different thickness.

◆ Case 2 - Scheduling with terminal constraintsTime periods = 28 days in the planning model, 7 days in the scheduling model.10 substrates, 9 coated products, 1 different thickness.

Page 19: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 10

Case studies

◆ Case 1 - Scheduling without terminal constraint sTime periods = 1 month.10 substrates, 9 coated products, 1 different thickness.

◆ Case 2 - Scheduling with terminal constraintsTime periods = 28 days in the planning model, 7 days in the scheduling model.10 substrates, 9 coated products, 1 different thickness.

◆ Case 3 - Scheduling and cullet managementTime periods = 1 month.12 substrates, 12 coated products, 1 different thickness

Models implemented in GAMS and solved with Cplex in a machine running Linux with 8 CPUs IntelXeon, 1.86GHz and 8GB of RAM

Page 20: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 11

Gantt charts and performanceCase I Case II

Profit 1st year = 4.711m.u Profit 1st year = 4.131m.u.

Objective function = -83.54m.u Objective function = 7.87m.u.

# Transition days = 125.5 # Transition days = 70.5

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Janp

Febp

Marp

Aprp

Mayp

Junp

Day

Mon

th

S8 S10 S9 S4

S4 S5 S6

S6 S2 S8

S2 S9 S8

S8 S9 S3

S1 S8

S5 S7 S9

S8 S1 S9

S9 S5 S8

S8 S9 S1

S4 S3

S9 S10 S8

S8 S9

S9 S5 S1

S1 S2 S10

S9 S8

S8 S1

S1 S2 S7

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Janp

Febp

Marp

Aprp

Mayp

Junp

Day

Mon

th

S10 S8 S9 S4

S4 S8 S2

S2 S5

S8 S9 S6

S3 S9

S9 S8

S10 S7 S1

S1 S9

S9 S5

S5 S8

S8 S1

S1

S8 S4 S9

S9

S8

S2 S7

S7 S10

S3

Case II

Gap∗=1% SP # Eq. Total Binary Slots Gap (%) RMIP† Profit (m.u.) CPU (s)

CPU∗ = 3,600s 1 9,095 8,115 3,860 - 1.7 4.233 4.078 3,600

CPU∗ = 3,600s 2 5,973 5,329 2,289 17 0.8 4.219 4.071 554

CPU∗ = 3,600s 3 10,252 9,152 3,960 17 1.4 6.071 5.945 3,600

CPU∗ = 10,800s 4 6,827 6,016 2,149 30 1.0 6.025 5.919 96

CPU∗ = 10,800s 5 11,185 9,989 3,960 30 1.0 8.214 8.095 3,605

CPU∗ = 10,800s 6 7,755 6,837 2,140 43 0.8 8.177 8.075 384

∗ - Minimum integrality gap and maximum CPU time set. SP - Subproblem. † - Linear relaxation in the root node.

Page 21: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 12

Total inventory levels

Total inventory levelsCase 1 and Case 2

0 100 200 300 400 500 600 700 8000

0.5

1

1.5

2

2.5

3

3.5x 104

Inve

ntor

y (t

on)

Time (days)

Case 1Case 2

The transition cost is smaller than the production cost. If the demandcan be met the model increases the number of changeovers. This

leads to the depletion of inventory.

Terminal constraints for the minimum inventory levels at the end of the2nd year prevent the depletion of inventory.

Page 22: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 12

Total inventory levels

Total inventory levels Total inventory level for each subproblemCase 1 and Case 2 of the RHA for Case 2

0 100 200 300 400 500 600 700 8000

0.5

1

1.5

2

2.5

3

3.5x 104

Inve

ntor

y (t

on)

Time (days)

Case 1Case 2

0 100 200 300 400 500 600 700 8002

2.1

2.2

2.3

2.4

2.5

2.6

2.7x 104

Inve

ntor

y (t

on)

Time (days)

Subproblem 1Subproblem 2Subproblem 3Subproblem 4Subproblem 5Subproblem 6

Fixing the binary variables still allows some flexibility to change theamounts produced between subproblems. With time periods of one

week, the binary variables for the transitions across due dates restrictchanges in the length of the production runs.

Page 23: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 13

Cullet inventory and Gantt chart

Case 3 - Scheduling and culet managementRelation between the inventory cullet profile of one product and the Gantt chart

The trend between the length of the production run and theaccumulation of cullet is captured by the model.

Page 24: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 13

Cullet inventory and Gantt chart

Case 3 - Scheduling and culet managementRelation between the inventory cullet profile of one product and the Gantt chart

Results for subproblem 6 of the proposed RHA.

SP # Eq. Total Binary Slots Gap (%) RMIP† Profit (m.u.) CPU (s)

6 56,986 41,308 4,633 47 14.8 -3,316,534 -4,461,342 3,600

Minimum integrality gap = 5%, max CPU = 10,800/3600s for the first and remaining subproblems, respectively. SP -Subproblem. † - Linear relaxation in the root node.

Page 25: Planning and long-term scheduling for PPG glass …egon.cheme.cmu.edu/ewo/docs/PPGrlima_ewo_slides.pdfPlanning and long-term scheduling for PPG glass production Ricardo Lima Ignacio

EWO meeting - p. 14

Concluding remarks

◆ The scheduling model without cullet management can be tackled for time horizons of 18months.

◆ The cullet model is in agreement with the scheduling model.

◆ Adding the cullet management to the scheduling model poses a challenge in terms ofobtaining solutions with small integrality gaps.

Current Work◆ Development of an improved solution strategy to handle the scheduling and cullet

management.

◆ Include another production line into the model, which is able to produce some of thecurrent products, and it is integrated through the cullet management and inventoryspace.