Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

APO Optimization

Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

Optimization in

Supply Chain Planning

Dr. Christopher Srie

Expert Consultant
SCM Optimization
Agenda

Introduction

Hierarchical Planning Approach and Modeling Capability

Optimizer Architecture and Optimization Strategies

Customer Cases

System Demo

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 2


Introduction: Supply Chain Management

Supply Chain Management: Set of approaches utilized


 to integrate suppliers, manufactures, warehouses and stores
 so that merchandise is produced and distributed
 with the correct quantity
 to/from the correct locations
 at the correct time

 in order to minimize cost while satisfying service level requirements

Prerequisite: Integrated Supply Chain Model

Supplier Plant DC Customer


SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 3
Introduction: Supply Chain Management

Master Data Model


 Location (Plant, DC, Supplier, ...)
 Lane
 Product
 Production Process Model (PPM)
 Resource

Operational Data
 Demands
 Orders
 Capacity Profiles

Resource Product Supplier Plant DC Customer

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 4


mySAP SCM Solution Overview

Measure
Supply Chain Performance Management

Strategize Plan
Supply Chain Collaboration

Supply Chain Collaboration


Supplier
Customer
Demand and
Supply Chain Design

Collaborate
Collaborate

Supply Planning
Supply Supply
Chain Chain
Exchange Exchange
Source Make Deliver
Network Network
Direct Order
Manufacturing
Procurement Fulfillment
Partner Partner

Track
Supply Chain Event Management

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 5


Supply Chain Planning Matrix

Procurement Production Distribution Sales

long-
Strategic network planning
term

Master planning

Demand
planning
Production Distribution
planning planning
Material
requirements
planning

Available
Detailed Transportation to
short- promise
term scheduling planning

(Stadtler/Kilger, 2005)

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 6


Agenda

Introduction

Hierarchical Planning Approach and Modeling Capability

Optimizer Architecture and Optimization Strategies

Customer Cases

System Demo

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 7


How to deal with planning complexity?

Basic idea: Hierarchy of relaxations

Relaxations are derived by Aggregation


 Time Periods
 Product Product groups
(e.g. ignore country specific documentation in packaging a product)
 Resource Resource Families
(e.g. summarize similar resources into one resource with cumulative
capacity)
 Locations Regions
(e.g. aggregate different locations into a transportation zone (postal
code areas)

Integration between different relaxations: Disaggregation

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 8


Hierarchical Planning
Strategize

Supply Chain Design


Supply Chain Design

Plan
Strategize Plan

Demand and Demand and


Supply Chain Design
Supply Planning
Supply Planning

Source Make Deliver

Direct Order
Manufacturing
Procurement Fulfillment

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 9


Supply Network Planning (SNP)

Strategize

Supply Chain Design


Supply Network Planning (SNP)
 Combined production and distribution
Plan planning
 Mid-term Demand
to long-term
and planning horizon
Supply Planning
 Quantity-based

 Aggregation
Source Make Deliver
 Time Buckets, max. daily precision
Direct  Products, Resources Families
Order
Manufacturing
Procurement Fulfillment

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 10


Supply Network Planning Procedures

SNP Heuristics
 Material availability constraints
 Rule-based
 First feasible plan

CTM (Capable To Match)


 Material availability and production capacity constraints
 Constraint-based propagation with backtracking search
 First feasible plan

SNP Optimizer
 Material availability and all capacity constraints
 (MI)LP and others
 Cost-based optimization

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 11


SNP Optimizer Application
Sourcing
 Product-Mix
Which products and how much of them should be produced, transported, procured and
stored?
 Technology-Mix
 Which recipes (PPMs) should be applied?
 Which transportation type should be used?
 Which resource should be used?

 Temporal: When should we produce, transport, procure and store?


 Spatial: Where should we produce, procure and store? Wherefrom and
whereto should we transport?

Finite Planning
Lot-Sizing
 Multi-Level-Capacitated Lot Sizing (MLCLSP)
 Campaign Planning

Inventory Control
 Target Days of Supply
 Shelf Life
SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 12
Supply Network Optimization: Model Building

Produce
Discrete Lots
Minimal Lots
Transport Fixed Resource Consumption
Discrete Lots Piecewise linear Costs Production
Transport Minimal Lots
Capacity
Piecewise linear Costs
Capacity

PPM
Storage Products
Capacity

Safety Stock

Handling-In Handling-Out Store


with Shelf life
Capacity Capacity

Satisfy Demand
with Demand Classes
Procure Delay Costs
Piecewise linear Costs Non-Delivery Costs

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 13


SNP Optimization Run

Demand Forecast

SNP Optimization

Resource Selection

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 14


Supply Network Optimization: Lot-Sizing

Multi-Level Capacitated Lot Sizing Problem (MLCLSP)


 Setup cost and/or consumption in each bucket
 Good results
 Setup cost small compared to storage cost ( Small lots)

 Setup consumption << bucket capacity

 Bad results
 Setup cost large compared to storage cost (large lots)
 Setup consumption big compared to bucket capacity

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 15


Supply Network Optimization: Lot-Sizing

Proportional Lot Sizing Problem (PLSP)


 Setup cost and/or setup consumption only if different PPM starts
 At most one startup per bucket

 Constraints on cross-period lots (= campaign quantity)


 Minimal campaign quantity

 Campaign quantity integer multiple of batch size

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 16


Manufacturing (PP/DS)

Strategize

Supply Chain Design

Plan

 Manufacturing
Demand(PP/DS)
and
Supply Planning
 Combined material and capacity

Source planning
Make Deliver
 Short-term to mid-term planning
Direct horizon Order
Manufacturing
Procurement Fulfillment
 Order based
 Time continuous

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 17


PP/DS Planning Procedures

PP/DS Heuristics
 Material availability, single-level finite
 Priority-based planning
 First partial plan

CTM (Capable To Match)


 Material availability and production capacity constraints
 Constraint-based propagation with backtracking search
 First feasible plan

PP/DS Optimizer
 All constraints
 Genetic Algorithm and Constraint Programming
 Cost-based Optimization

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 18


PP/DS Optimizer Application

Feasible compact schedule

Delay Reduction

Makespan Minimization

Setup Minimization
 Time
 Cost

Resource Selection

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 19


PP/DS Optimizer: Model Overview
Time Windows Distances
earliest starting time (with calendars)
due date, deadline minimal Resource Selection
delay costs maximal Alternative resources
Resource costs

Setup
sequence dependent
setup costs
Unary
Resources

Product Flow
Storage
discrete
resources
continuous

Multi-Cap
Resources

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 20


PP/DS Optimization Run

SNP

PP run

DS
optimization

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 21


Integrated hierarchical planning

 SNP  PP/DS
 Planning only in SNP horizon  Respect pegged SNP Orders as due
 Release SNP Orders only PP/DS dates
horizon  No capacity reduction
 Respect PP/DS orders as fixed  But material flow
 capacity reduction  No restrictions for scheduling
 material flow PP/DS orders
 Respect PP/DS setup state

SNP

PP/DS

PP/DS Horizon

SNP Horizon

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 22


VSR: Model Building

Classical vehicle routing problems: CVRP, CVRPTW

3
1
m vehicles 2
demand bj
6
5
9 time window [lj,rj]
4
8
7
time window [l,r]
capacity c
supply a
SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 23
VSR: Model Building (ctd)

Extensions towards APO VSR (1):


 Order-based model
 Source location and destination location per order
(Pickup and delivery problem)

O4 6
1 5

O1
O2 4
2
O3
3

 Quantity regarding loading dimensions (tons, m3, ...)


 Material type (chemicals, food, ...)
 Service times for loading and unloading (depends on vehicle)

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 24


VSR: Model Building (ctd)

Extensions towards APO VSR (2):

 Cost for not delivering an order

 Soft/hard time constraints per order:


 Earliest date for pickup
 Due date for pickup
 Earliest date for delivery
 Due date for delivery

cost

[ ] [ ] time
Early Late Early Late
Pickup Pickup Delivery Delivery

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 25


VSR: Model Building (ctd)

Extensions towards APO VSR (3):


 Per vehicle:
 Travel characteristics (time, distance per lane)
 Start location and end location
 Constraints
 Capacity per loading dimension (tons, m3, ...)
 Limit for time, distance, number of stops
 Break calendar
 Costs:
 Fixed cost
 Traveled time
 Traveled distance
 Number of stops
 Distance x Load (e.g. miles x tons)

 Vehicle type = vehicles with identical travel & cost characteristics

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 26


VSR: Model Building (ctd)

Extensions towards APO VSR (4):

 Per location:
 Deliveries require inbound resource
 Opening times
 Capacities
 Pickups require outbound resource
 Opening times
 Capacities

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 27


VSR: Model Building (ctd)

Extensions towards APO VSR (5):

 Incompatibility constraints:
 Between material types
 Between vehicle types and material types
 Between vehicle types and locations

 Schedule vehicles (e.g. trains, ships)


 Route and schedule is fixed a priori

 Hubs
 Indirect shipment through hub(s) versus direct shipment
 Maximum waiting time at hub

1 H2

H1 2
SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 28
Agenda

Introduction

Hierarchical Planning Approach and Modeling Capability

Optimizer Architecture and Optimization Strategies

Customer Cases

System Demo

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 29


Challenge: Generic Optimizer

Generic and Best of Breed


 planning level
 vertical industries
 run time requirement
 model complexity (size, constraints, objectives)

Generic Model (-> planning level)


 aggregated planning (LP / MILP)
 detailed planning (scheduling)

Customization (-> vertical industries)


 specialization the generic model to customer problem
 scripting the strategies (decomposition, goal programming)

Scalability (-> run time)


 greedy versus complex optimizations strategies
 parallelization

Open Architecture
 internal: adding new special optimizer (software evolution)
 external: integration of optimizer packages
SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 30
SNP Optimizer Architecture

LiveCache/DB Time-
GUI
Decomposition
Reporting Product-
Model Generator Decomposition
Checking Priority-
Decomposition
Resource-
Core-Model Decomposition

Control Meta-Heuristics

SNP SNP Deployment


LP/MILP Rule based LP/MILP

Basic-Optimizers

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 31


Scheduling Optimizer Architecture

LiveCache

Time
GUI Model Generator Decomposition

Reporting Bottleneck

Checking Core Model Multi Agent

Control Meta-Heuristics

Constraint Genetic Sequence Campaign


Programming Algorithm Optimizer Optimizer

Basic Optimizer

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 32


Mastering the algorithmic complexity: Decomposition

Global versus local optimality -> SNP + DS


 Local optimality depends on neighborhood
 High solution quality by local optimization
 Local Optimization = Decomposition

Decomposition strategies
 SNP: time, resource, product, procurement
 DS: time, resource
 (Parallelization by Agents)

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 33


SNP Product Decomposition

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 34


SNP Time Decomposition

1 2 3 4 5 6
solved solved

merge

Time-
1 2 3-6 Decomposition

extract
store

solve
SNP
LP/MILP

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 35


DS Time Decomposition - Local Improvement

Resources

Time
Current window

Gliding window script

1. Optimize only in current window


2. Move window by a time delta
3. Go to first step

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 36


DS Metaheuristics - Bottleneck

Resources

Bottleneck

Time

Bottleneck Script
1. Determine bottleneck
2. Schedule bottleneck resources only
3. Fix sequence on bottleneck resource
4. Schedule all resources

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 37


VSR: The Optimizer

 Generic Optimizer

 Preprocessing
 Which orders cannot be delivered at all?
 Which order can be processed by which vehicle?

 Postprocessing
 Shift travel activities forward or backward

S-1 P1 1-2 D1 (forward)

S-1 P1 1-2 D1 (backward)

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 38


VSR: The Optimizer (ctd)

 Evolutionary local search (ELS) with small population (3)


 Uses GENEAL (GENeral Evolutionary Algorithm Library)
 Direct solution representation
 Assignment of orders to vehicles
 Routing of activities on vehicles
 Scheduling of activities on vehicles

 Each atomic move has three phases:


1. Change assignment
2. Change routing
3. Change scheduling

 19 atomic moves, classified into


 Assignment moves
 Routing moves
 Scheduling moves

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 39


Agenda

Introduction

Hierarchical Planning Approach and Modeling Capability

Optimizer Architecture and Optimization Strategies

Customer Cases

System Demo

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 40


Challenges in modeling real-world problems

Solution
quality gap
Business (fixed run-time)
acceptability
of computed
solutions

Optimal Model detail


Model too model detail Model too
simplified detailed

Generic nature of the SNP optimization model restricts exploitation of


specific problem structure
SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 41
Agenda

Introduction

Hierarchical Planning Approach and Modeling Capability

Optimizer Architecture and Optimization Strategies

Customer Cases

System Demo

SAP AG 2005, Optimization in SC Planning, Dr. Christopher Srie, 42

You might also like