Heinrich Braun, Thomas Kasper SAP AG



Similar documents
Optimization of the mid-term master production schedule using SAP-APO

SAP APO SNP (Supply Network Planning) Sample training content and overview

Supply Chain Management with SAP APO

SAP ERP Versus SAP APO: Which Production Planning Functionality Do I Use, and How Can I Be Successful?

Choosing Planning & Scheduling solutions for Metals

Agenda. Real System, Transactional IT, Analytic IT. What s the Supply Chain. Levels of Decision Making. Supply Chain Optimization

INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models

Model, Analyze and Optimize the Supply Chain

SAP Sales and Operations Planning Compare & Contrast with SAP APO. Phil Gwynne SAP UKI 2013

ORACLE ADVANCED SUPPLY CHAIN PLANNING

Optimization applications in finance, securities, banking and insurance

Backward Scheduling An effective way of scheduling Warehouse activities

A Genetic Algorithm Approach for Solving a Flexible Job Shop Scheduling Problem

Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines

Software for Supply Chain Design and Analysis

Product Documentation SAP Business ByDesign Supply Chain Planning and Control

Jochen Balla and Frank Layer. Production Planning with SAP APO. Bonn Boston

Industry examples of Camelot LEAN Supply Chain Planning

Operational Analytics for APO, powered by SAP HANA. Eric Simonson Solution Management SAP Labs

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

MIP-Based Approaches for Solving Scheduling Problems with Batch Processing Machines

Locating and sizing bank-branches by opening, closing or maintaining facilities

Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows

Production Planning & Control. Chapter 2. Aggregate Planning & Master Production Scheduling. Chapter2 1

Manufacturing. Manufacturing challenges of today and how. Navision Axapta solves them- In the current explosive economy, many

PeopleSoft White Paper Series. Evolving from Distribution Requirements Planning to Collaborative Supply Chain Planning

Steel supply chain transformation challenges Key learnings

Oracle Value Chain Planning Inventory Optimization

OPTIMIZED STAFF SCHEDULING AT SWISSPORT

Five Tips to Achieve a Lean Manufacturing Business

SIMATIC IT Production Suite Answers for industry.

Issues in Information Systems Volume 14, Issue 2, pp , 2013

Infor Planning Tools. From Demand to Execution. Hans Smet Senior Account Executive

ISE 421 QUANTATIVE PRODUCTION PLANNING

Integrated Sales and Operations Business Planning for Chemicals

Network Optimization using AIMMS in the Analytics & Visualization Era

Contents. ISWflffSÜFI. 1 Overview of SAP SCAA. Acknowledgments 11

Supply & Demand Management

Vehicle Sales Management

Content. Chapter 1 Supply Chain Management An Overview 3. Chapter 2 Supply Chain Integration 17. Chapter 3 Demand Forecasting in a Supply Chain 28

SAP BUSINESSOBJECTS SUPPLY CHAIN PERFORMANCE MANAGEMENT IMPROVING SUPPLY CHAIN EFFECTIVENESS

A New Approach for Finite Capacity Planning in MRP Environment

Areté Inc. Avail Fact Sheet. Production Scheduling. Syrup Scheduling. Raw Material Scheduling

The e-supply Chain of the Future in the Automotive Industry

Strategic Framework to Analyze Supply Chains

Optimizing Inventory in Today s Challenging Environment Maximo Monday August 11, 2008

Two objective functions for a real life Split Delivery Vehicle Routing Problem

GAMS, Condor and the Grid: Solving Hard Optimization Models in Parallel. Michael C. Ferris University of Wisconsin

SUPPLY CHAIN MODELING USING SIMULATION

A Constraint Programming based Column Generation Approach to Nurse Rostering Problems

Why is SAS/OR important? For whom is SAS/OR designed?

DESIGNED FOR YOUR INDUSTRY. SCALED TO YOUR BUSINESS. READY FOR YOUR FUTURE. SAP INDUSTRY BRIEFING FOR HEATING, VENTILATION, AIR CONDITIONING, AND

Product Documentation SAP Business ByDesign Supply Chain Setup Management

A Rough-Cut Capacity Planning Model with Overlapping

BW-EML SAP Standard Application Benchmark

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

COORDINATION PRODUCTION AND TRANSPORTATION SCHEDULING IN THE SUPPLY CHAIN ABSTRACT

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

The Gurobi Optimizer

Manufacturing Planning and Control for Supp Chain Management

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

Load Building and Route Scheduling

When Worlds Collide: Next Generation ERP

EC 350 Simplifies Billing Data Integration in PowerSpring Software

Automated Scheduling Methods. Advanced Planning and Scheduling Techniques

Basics of Supply Chain Management (BSCM) Curriculum

1 st year / / Principles of Industrial Eng. Chapter -3 -/ Dr. May G. Kassir. Chapter Three

Master Complexity with Apparel and Textile for Microsoft Dynamics AX 2012

Bogdan Vesovic Siemens Smart Grid Solutions, Minneapolis, USA

WORKFLOW ENGINE FOR CLOUDS

IBM Global Technology Services March Virtualization for disaster recovery: areas of focus and consideration.

Sales and Inventory Planning with SAP APO

Introducing SAP s Landscape and Data Center Innovation Platform. Phil Jackson SAP Solution Engineer

Generate optimal production schedules to maximize profitability and meet service levels

Project Time Management

Models in Transportation. Tim Nieberg

VENDOR MANAGED INVENTORY

Re-optimization of Rolling Stock Rotations

DESIGNED FOR YOUR INDUSTRY. SCALED TO YOUR BUSINESS. READY FOR YOUR FUTURE. SAP INDUSTRY BRIEFING FOR ELEVATOR, ESCALATOR AND MOVING SIDEWALK

Data Consistency Management Overview January Customer

Strategic planning in LTL logistics increasing the capacity utilization of trucks

ORACLE RAPID PLANNING

Universidad del Turabo MANA 705 DL Workshop Eight W8_8_3 Aggregate Planning, Material Requirement Planning, and Capacity Planning

Accelerating the path to SAP BW powered by SAP HANA

An Overview Of Software For Convex Optimization. Brian Borchers Department of Mathematics New Mexico Tech Socorro, NM

Performance Testing. Slow data transfer rate may be inherent in hardware but can also result from software-related problems, such as:

Supply Chain Analytics - OR in Action

2. MOTIVATING SCENARIOS 1. INTRODUCTION

Oracle Value Chain Planning Advanced Supply Chain Planning

CHAPTER 6: SALES ORDERS

Advanced Planning and Scheduling

Multi-layer MPLS Network Design: the Impact of Statistical Multiplexing

4 Key Tools for Managing Shortened Customer Lead Times & Demand Volatility

Transcription:

Opt im izat ion in SAP Supply Chain Managem ent Heinrich Braun, Thomas Kasper SAP AG

Agenda Optimization in SAP SCM Acceptance of Optimization Summary SAP AG 2002, CP AI OR 2004, Heinrich Braun 2

Int roduc t ion: Supply Chain Managem ent Supply Chain Management: Set of approaches utilized to integrate suppliers, manufactures, warehouses and stores so that merchandise is produced and distributed at right quantity locations time in order to minimize cost while satisfying service level requirements [Simchi-Levi et al 2000] Prerequisite: Integrated Supply Chain Model Customers DCs Plants Supplier SAP AG 2002, CP AI OR 2004, Heinrich Braun 3

Supply Chain Managem ent m ysap SCM Measure Supply Chain Performance Management Supplier Private Trading Exchange Network Partner Collaborate Supply Chain Collaboration Strategize Source Supply Chain Design Direct Procurement Make Plan Manufacturing Demand and Supply Planning Deliver Order Fulfillment Supply Chain Collaboration Collaborate Customer Private Trading Exchange Network Partner Track Supply Chain Event Management SAP AG 2002, CP AI OR 2004, Heinrich Braun 4

m ysap SCM: Planning Levels Strategic Strategize Supply Chain Design Tactical Plan Demand and Supply Planning Operational Source Make Deliver Direct Procurement Manufacturing Order Fulfillment SAP AG 2002, CP AI OR 2004, Heinrich Braun 5

Challenge: Max im ize t he applic at ion of Opt im izat ion in SCM Do s Model Planning Problems as optimization problems Use the best optimization algorithms Respect the given run time for solution Don t do s Restrict the modeling to optimal solvable instances Size Constraints Restrict your optimization algorithms to exact approaches neglecting Iterated Local Search Evolutionary Algorithms etc. Our Goal Leverage optimization algorithms by Aggregation Decomposition for solving the Planning and Scheduling problems in SCM SAP AG 2002, CP AI OR 2004, Heinrich Braun 6

Opt im izat ion - Ex pec t at ion by our c ust om er - Optimal Solution? - At most 5% above Optimum? / /. Best-of-Breed = Efficiency Æ Acceptance! Depending on problem complexity (model, size) Given run time Efficiency Scalability Decomposition = quasi linear Toolbox: alternative algorithms Parallelization Return On Investment (ROI) Solution Quality Total Cost of Ownership (Licenses, Maintenance, Administration, Handling) SAP AG 2002, CP AI OR 2004, Heinrich Braun 7

Problem versus Algorit hm s OR-Researcher: accepts Problems, which solves his algorithm optimally OR-developer: accepts Problems, which solves his algorithm efficiently OR-user: accepts algorithms, which solves his problem effectively Model- Specification Optimization- Algorithms SAP AG 2002, CP AI OR 2004, Heinrich Braun 8

Opt im izer - Ex pec t at ion by our c ust om er Idealist Searching for the global Optimum Realist Improving the first feasible solution until Time Out Sisyphus Knows, that the problem has changed during run time Pragmatic Solves unsolvable problems SAP AG 2002, CP AI OR 2004, Heinrich Braun 9

Challenge: Mast ering t he planning c om plex it y of SCM Hierarchical planning Global optimization using aggregation (Supply Network Planning) Feasible plans by local optimization (Detailed Scheduling) Integration by rolling planning schema Î Modeling is crucial!! SAP AG 2002, CP AI OR 2004, Heinrich Braun 10

Hierarc hic al Planning Supply Network Planning (SNP) Mid term horizon Time in buckets (day, week,..) Detailed Scheduling (DS) Short term horizon Time in seconds Global optimization Maximize profit Decide Where to produce How much to produce How much to deliver How much capacities Local optimization Disaggregate global plan Time: When to produce Resource: On which alternative resource Optimize production sequence Linear optimization (MILP) Scheduling algorithms (GA, CP) SAP AG 2002, CP AI OR 2004, Heinrich Braun 11

SNP Opt im izer: Model Overview Transport Capacity Transport Discrete Lots Minimal Lots Piecewise linear Costs Produce Discrete Lots Minimal Lots Fixed Resource Consumption Piecewise linear Costs Production Capacity PPM Storage Capacity Products Safety Stock Handling-In Capacity Handling-Out Capacity Store with Shelf life Procure Piecewise linear Costs Satisfy Demand Priority Classes Delay Costs Non-Delivery Costs SAP AG 2002, CP AI OR 2004, Heinrich Braun 12

PP/DS Opt im izer: Model Overview Setup sequence dependent setup costs Time Windows earliest starting time due date, deadline delay costs Distances (with calendars) minimal maximal Resource Selection Alternative resources Resource costs Unary Resources Storage resources Product Flow discrete continuous Multi-Cap Resources SAP AG 2002, CP AI OR 2004, Heinrich Braun 13

Ex am ple: Com plex Modeling SAP AG 2002, CP AI OR 2004, Heinrich Braun 14

Int egrat ion bet w een SNP and PP/DS SNP Planning only in SNP horizon Release SNP Orders only in PP/DS horizon Respect PP/DS orders as fixed capacity reduction material flow PP/DS Respect pegged SNP Orders as due dates No capacity reduction But material flow No restrictions for scheduling PP/DS orders SNP PP/DS PP/DS Horizon SNP Horizon SAP AG 2002, CP AI OR 2004, Heinrich Braun 15

Int egrat ion bet w een SNP and PP/DS SNP Planning only in SNP horizon Release SNP Orders only in PP/DS horizon Respect PP/DS orders as fixed capacity reduction material flow PP/DS Respect pegged SNP Orders as due dates No capacity reduction But material flow No restrictions for scheduling PP/DS orders SNP PP/DS PP/DS Horizon SNP Horizon SAP AG 2002, CP AI OR 2004, Heinrich Braun 16

Mast ering t he algorit hm ic c om plex it y: Aggregat ion Model Accuracy versus Solution Quality -> SNP Time Aggregation (telescopic buckets) Limit the discretization Product Aggregation (families of finished products) Location Aggregation (transport zones, distribution centers) However: Sufficient model accuracy of SNP for DS Modeling of setup (important for process industry) SAP AG 2002, CP AI OR 2004, Heinrich Braun 17

SNP Opt im izat ion: Ant ic ipat ion of Set up Multi-Level Capacitated Lot Sizing Problem (MLCLSP) Setup cost and/or consumption in each bucket Good results Setup consumption small compared to bucket capacity (small lots) Bad results Setup consumption big compared to bucket capacity (big lots) SAP AG 2002, CP AI OR 2004, Heinrich Braun 18

SNP Opt im izat ion: Lot Sizing in SAP SCM Proportional Lot Sizing Problem (PLSP) Considering setup in preceding bucket At most one setup per bucket Constraints on cross-period lots (= campaign quantity) Minimal campaign quantity Campaign quantity integer multiple of batch size SAP AG 2002, CP AI OR 2004, Heinrich Braun 19

SNP Cam paign Opt im izat ion: Benc hm ark s 100,000000% Comparison: real word problems of process industry ca. 500 000 decision variables, 200 000 constraints 0 10 20 30 40 50 60 70 80 90 100 10,000000% 1,000000% Optimality Deviation 0,100000% 0,010000% 0,001000% 0,000100% 0,000010% PI-Bench2 PI-Bench7 PI-Bench8 PI-Bench9 0,000001% 0,000000% time in minutes SAP AG 2002, CP AI OR 2004, Heinrich Braun 20

Mast ering t he algorit hm ic c om plex it y: Dec om posit ion 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 2002, CP AI OR 2004, Heinrich Braun 21

Tim e Dec om posit ion - Loc al Im provem ent Resources Current window Time Gliding window script 1. Optimize only in current window 2. Move window by a time delta 3. Go to first step SAP AG 2002, CP AI OR 2004, Heinrich Braun 22

SNP Produc t Dec om posit ion SAP AG 2002, CP AI OR 2004, Heinrich Braun 23

SNP Produc t Dec om posit ion SAP AG 2002, CP AI OR 2004, Heinrich Braun 24

SNP Produc t Dec om posit ion SAP AG 2002, CP AI OR 2004, Heinrich Braun 25

SNP Produc t Dec om posit ion 100,00 90,00 80,00 Delivery [%] 70,00 60,00 50,00 40,00 Total cost 30,00 0,25 1 2 3 LP Relaxation 99,17 99,17 99,17 99,17 Decomposed MIP 94,40 98,98 99,07 99,09 Global MIP 45,1162 53,33 62,81 65,13 Solution time [hrs] 250.000.000,00 200.000.000,00 150.000.000,00 100.000.000,00 50.000.000,00 0,00 0,25 1 2 3 LP Relaxation 34.075.500,00 34.075.500,00 34.075.500,00 34.075.500,00 Decomposed MIP 63.231.900,00 38.170.900,00 37.871.200,00 37.860.100,00 Global MIP 2,44E+08 215.404.000,00 195.649.000,00 187.900.000,00 Solution time [hrs] Customer model Production Grouping ~15 comparable selections 179 086 Variables 66 612 Constraints 10 218 Binary variables OPAL Executable CPLEX 8.0 Pentium IV 1,5 GHz 1 GB Main memory SAP AG 2002, CP AI OR 2004, Heinrich Braun 26

Mult i Agent Opt im izat ion 250 200 Delay Setup Quality= D+S Objective Multi Criteria Optimization user selects out of solutions with similar overall quality different components Use power of Pallelization 150 100 50 Multi Agent Strategy Different AGENTS focusing on Setup or Delay or Makespan Agents may use any optimizer (CP, GA,..) New solutions by local improvement Integrated in Optimizer Architecture 0 Solut. 1 Solut. 2 Solut. 3 Solut. 4 Performance Speedup available processors SAP AG 2002, CP AI OR 2004, Heinrich Braun 27

Several Solut ions Setup 0 Delay SAP AG 2002, CP AI OR 2004, Heinrich Braun 28

Sc heduling Opt im izer Arc hit ec t ure LiveCache GUI Model Generator Time Reporting Resource Checking Core Model Multi Agent Control Decomposition Constraint Programming Genetic Algorithm Sequence Optimizer Campaign Optimizer Basic Optimizer SAP AG 2002, CP AI OR 2004, Heinrich Braun 29

Opt im izing w it h Tim e Dec om posit ion LiveCache GUI Reporting Checking Control Model Generator Core-Model Time Product Resource Decomposition SNP Deployment Basic-Optimizers Vehicle Allocation SAP AG 2002, CP AI OR 2004, Heinrich Braun 30

Opt im izing w it h Tim e Dec om posit ion 1 2 3 4 5 6 solved solved merge 1 2 3-6 Time- Decomposition extract solve SNP LP/MILP store SAP AG 2002, CP AI OR 2004, Heinrich Braun 31

Opt im izing w it h Tim e Dec om posit ion 1 2 3 4 5 6 solved solved solved solved merge 3 4 5-6 Time- Decomposition extract solve SNP LP/MILP store SAP AG 2002, CP AI OR 2004, Heinrich Braun 32

Opt im izing w it h Tim e Dec om posit ion 1 2 3 4 5 6 solved solved solved solved solved solved merge 5 6 Time- Decomposition extract solve SNP LP/MILP store SAP AG 2002, CP AI OR 2004, Heinrich Braun 33

Opt im izat ion Perform anc e Supply Network Planning Pure LP Without discrete constraints Up to several million decision variables and about a million constraints Global optimum guaranteed For discrete constraints No global optimum guaranteed Quality depends on run time and approximation by pure LP Detailed Scheduling Up to 200 000 activities (no hard limitation) First solution as fast as greedy heuristics More run time improves solution quality SAP AG 2002, CP AI OR 2004, Heinrich Braun 34

Sum m ary - Mast ering t he Algorit hm ic c om plex it y Aggregation SNP: time, product, location Automated Generation: SNP model deduced from DS model!! Decomposition SNP: time, resource, product, procurement DS: time, resource Parallelization by Agents Hierarchy of Goals (customized by scripts) SNP ÅÆ DS SNP: Service Level ÅÆ Production Costs DS: Service Level ÅÆ Storage Costs Open to partner solutions: Optimizer extension workbench Our Mission Optimization as an integrated standard software solution SAP AG 2002, CP AI OR 2004, Heinrich Braun 35

Foc us of Developm ent In the past larger optimization problems better solution quality more functionality Current customer view Very confident with performance, solution quality, functionality Problem: Mastering the solution complexity (e.g. data consistency) Current focus of development More sophisticated diagnostic tools Parallelization by GRID Computing SAP AG 2002, CP AI OR 2004, Heinrich Braun 36

Agenda Optimization in SAP SCM Acceptance of Optimization Summary SAP AG 2002, CP AI OR 2004, Heinrich Braun 37

Ac c ept anc e Crit eria Heuristic (relaxing capacity) versus Optimization Or Why do not all SNP-Customers use optimization? SAP AG 2002, CP AI OR 2004, Heinrich Braun 38

Model Ac c urac y SNP Heuristic Interactive Planning: Planner responsible for feasibility Æ limited model accuracy sufficient SNP Optimizer Automated Planning: Optimizer responsible for feasibility Æ high model accuracy necessary Application in complex scenarios SAP AG 2002, CP AI OR 2004, Heinrich Braun 39

Ac c ept anc e c rit eria: Solut ion qualit y Scaling of Model size SNP Heuristik & LP: SNP Optimierer & MILP: using decomposition Scaling of Model accuracy Limited model accuracy Very detailed Æ MILP: using decomposition Acceptance by end user simple model + Transparency of algorithms Æ acceptable solution Not sufficient: (Global) integer gap as Indicator Not acceptable: apparent improvement potential Producing too early Neglecting Priorities Goal: Local Optimality Æ Decomposition SAP AG 2002, CP AI OR 2004, Heinrich Braun 40

Ac c ept anc e c rit eria: Solut ion t ransparenc y SNP Heuristic SNP Optimizer Solution stability Sequential processing of orders and few constraints Æ robust for small data modifications Global Optimization Æ small data modifications may cause large solution changes MILP: change of search Interaction Data/Model versus Solution No Black-Box algorithms transparent Unforeseeable effects: by considering both globally and simultaneously costs and constraints Soft versus Hard Constraints violation depending on solution quality! Question: violation avoidable by more run time? SAP AG 2002, CP AI OR 2004, Heinrich Braun 41

Ac c ept anc e by different roles OR Specialists solution quality run time behavior IT department (TCO = Total Cost of Owner Ship, ROI = Return on Investment) Maintenance Administration Integration Upgrades / Enhancements Consultants Training / Documentation / Best practices Complete and validated scenarios Sizing tools End user (Planner) Modeling capabilities Solution quality Æ acceptable solution in given run time, error tolerance Solution transparency Æ Diagnostics, Warnings, Tool tips in case of errors SAP AG 2002, CP AI OR 2004, Heinrich Braun 42

Opt im izat ion as st andard soft w are?! Tradeoff Solution quality Solution costs (development, maintenance,..) Problems for special solutions Modeling as moving target Changing master data z additional constraints z additional resources (machines) Changing transactional data z Number of orders z Distribution of orders to product groups Changing objectives (depending on the economy) Effort for optimization algorithms only <10% of overall costs Integration Interactive Planning Graphical user interface SAP AG 2002, CP AI OR 2004, Heinrich Braun 43

Opt im izat ion algorit hm s Which algorithms for which planning levels? Supply Network Planning LP / MILP Solver (CPLEX) Classical Operations Research Detailed Scheduling Constraint Programming Evolutionary Algorithms Metaheuristics SAP AG 2002, CP AI OR 2004, Heinrich Braun 44

Dialec t ic of nam ing debat e Metaheuristics Optimization Heuristic SAP AG 2002, CP AI OR 2004, Heinrich Braun 45

Opt im izat ion nam ing c onvent ion Academic: Optimization as an algorithm ¾ find an optimal solution or Practical: Optimization as a dynamic process ¾ the path is the goal objective function time out time SAP AG 2002, CP AI OR 2004, Heinrich Braun 46

Opt im izat ion in prac t ic e Global optimal ¾ Often missed ¾ Tradeoff: Model accuracy <-> solution quality Metaheuristics ¾ Very robust ¾ Quality scales with given run time Local optimal ¾ A must have ¾ The planer may not find simple improvements SAP AG 2002, CP AI OR 2004, Heinrich Braun 47

Ac c ept anc e by different roles OR Specialists solution quality run time behavior IT department (TCO = Total Cost of Owner Ship, ROI = Return on Investment) Maintenance Administration Integration Upgrades / Enhancements Consultants Training / Documentation / Best practices Complete and validated scenarios Sizing tools End user (Planner) Modeling capabilities Solution quality Æ acceptable solution in given run time, error tolerance Solution transparency Æ Diagnostics, Warnings, Tool tips in case of errors SAP AG 2002, CP AI OR 2004, Heinrich Braun 48

Opt im izer arc hit ec t ure Acceptance -Criteria: ROI Total Cost of Ownership Licenses (development effort) Maintenance Enhancements Integration (to system landscape at customer) Planning quality Architecture Toolbox Exchangeable Components Idea: Divide and Conquer for improving the components Æ SAP Netweaver SAP AG 2002, CP AI OR 2004, Heinrich Braun 49

Toolbox : alt ernat ive Opt im izer Evolution / Competition of Optimizer cf. Linear Optimization (ILOG CPLEX) Primal Simplex Dual Simplex Interior Point Methods Alternative Optimizer for Scheduling Constraint Programming (ILOG) Evolutionary Algorithms (SAP) Relax and Resolve (University of Karlsruhe) Alternative Optimizer for Vehicle Routing and Scheduling Constraint Programming, Tabu Search (ILOG) Evolutionary Algorithms (SAP) SAP AG 2002, CP AI OR 2004, Heinrich Braun 50

Ac c ept anc e by different roles OR Specialists solution quality run time behavior IT department (TCO = Total Cost of Owner Ship, ROI = Return on Investment) Maintenance Administration Integration Upgrades / Enhancements Consultants Training / Documentation / Best practices Complete and validated scenarios Sizing tools End user (Planner) Modelling capabilities Solution quality Æ acceptable solution in given run time, error tolerance Solution transparency Æ Diagnostics, Warnings, Tool tips in case of errors SAP AG 2002, CP AI OR 2004, Heinrich Braun 51

Ac c ept anc e in Consult ing Problem: Know How Consultants sell methods to the customer which they can master modify (additional heuristics) Consequence for Optimization?! Expert-Consulting Service for Optimization Remote Consultant located in development In particular, expert help for consulting partner Quick Questionnaire Early watch for planning complexity Simple modeling tool What can I do to reduce model complexity? Fallback Model: Which simplified model is uncritical? Which model details are critical? SAP AG 2002, CP AI OR 2004, Heinrich Braun 52

Sizing for Supply Net w ork Planning SNP Optimizer Questionnaire Continuous model Resulting Resulting Estimate variables constraints Number of planning periods 82 Number of (planning relevant) location product combinations 14.500 1.189.000 1.189.000 Number of transportation lane product combinations 176.000 14.432.000 Number of location product combinations with customer demands 11.705 1.919.620 959.810 Number of location product combinations with corrected demand forecasts 0 0 0 Number of location product combinations with forecasted demands 11.705 1.919.620 959.810 Average lateness (in periods) allowed for demand items 1 Number of location product combinations with safety stock requirements 11.705 959.810 959.810 Number of location product combinations with product-specific storage bound 0 Number of location product combinations with an active shelf life 0 0 0 Number of production process models (PPMs) 1.641 134.562 Number of resources (production, transportation, handling in/out, storage) 50 4.100 4.100 Number of variables: Number of constraints: 20.558.712 4.072.530 Discrete model Discretized Additional Additional periods discrete variables constraints Number of PPMs with minimum lot size requirements 1.641 134.562 Number of PPMs with discrete lot size requirements 1.641 134.562 Number of PPMs with fixed resource consumption 1.641 134.562 Number of production resources with discrete expansion 0 Number of transportable products with minimum lot size requirements 0 Number of transportable products with discrete lot size requirements 0 Number of piecewise-linear cost functions (procurement, production, transport) 0 Additional number of discrete variables: Additional number of constraints: 403.686 0 SAP AG 2002, CP AI OR 2004, Heinrich Braun 53

Sizing for Supply Net w ork Planning SNP Optimizer Questionnaire Continuous model Resulting Resulting Estimate variables constraints Number of planning periods 13 Number of (planning relevant) location product combinations 14.500 188.500 188.500 Number of transportation lane product combinations 176.000 2.288.000 Number of location product combinations with customer demands 11.705 304.330 152.165 Number of location product combinations with corrected demand forecasts 0 0 0 Number of location product combinations with forecasted demands 11.705 304.330 152.165 Average lateness (in periods) allowed for demand items 1 Number of location product combinations with safety stock requirements 11.705 152.165 152.165 Number of location product combinations with product-specific storage bound 0 Number of location product combinations with an active shelf life 0 0 0 Number of production process models (PPMs) 1.641 21.333 Number of resources (production, transportation, handling in/out, storage) 50 650 650 Number of variables: Number of constraints: 3.259.308 645.645 Discrete model Discretized Additional Additional periods discrete variables constraints Number of PPMs with minimum lot size requirements 1.641 21.333 Number of PPMs with discrete lot size requirements 1.641 21.333 Number of PPMs with fixed resource consumption 1.641 21.333 Number of production resources with discrete expansion 0 Number of transportable products with minimum lot size requirements 0 Number of transportable products with discrete lot size requirements 0 Number of piecewise-linear cost functions (procurement, production, transport) 0 Additional number of discrete variables: Additional number of constraints: 63.999 0 SAP AG 2002, CP AI OR 2004, Heinrich Braun 54

Sizing for Det ailed Sc heduling PP/ DS Optimization Questionnaire Version 4.0.1 for SAP APO 3.0, 3.1 and 4.0 Memory consumption number of memory per memory objects object[kb] consumption[mb] Orders inside the optimization horizon 5.000 5.000 4,50 22 Average number of activities in an order 10,0 50.000 5,00 244 Average number of modes of an activity 3,0 150.000 1,00 146 Number of resources 10 10 530,00 5 Number of setup matrices 2 2 55,00 0 Maximum number of setup attributes in a setup matrix 500 250.000 0,10 49 Environment [Mb]: Safety factor: Memory consumption [Mb]: 8 130% 617 Complexity of the model degree of difficulty no of features per degree of difficulty Size A Backward Scheduling yes C A: 1 Block planning on resources no A B: 0 Bottleneck optimization no C C: 2 Campaigns no B continous requirement/receipt no B weighted sum 140 Deadlines modeled as hard constraints no B Validity periods of orders no B Cross-order relationships no B 7.000 Mode linkage no C Degree Sequence dependent setups activities yes C of complexity: Shelf life or max. pegging arcs no A high Container resource no A Synchronization on resources no C Time buffer no C If the degree of complexity is not "moderate" SAP recommends the optimization consulting service SAP AG 2002, CP AI OR 2004, Heinrich Braun 55

Sizing for Det ailed Sc heduling PP/ DS Optimization Questionnaire Version 4.0.1 for SAP APO 3.0, 3.1 and 4.0 Memory consumption number of memory per memory objects object[kb] consumption[mb] Orders inside the optimization horizon 25.000 25.000 4,50 110 Average number of activities in an order 10,0 250.000 5,00 1.220 Average number of modes of an activity 3,0 750.000 1,00 732 Number of resources 10 10 530,00 5 Number of setup matrices 2 2 55,00 0 Maximum number of setup attributes in a setup matrix 500 250.000 0,10 49 Environment [Mb]: Safety factor: Memory consumption [Mb]: 8 130% 2.762 Complexity of the model degree of difficulty no of features per degree of difficulty Size A Backward Scheduling yes C A: 1 Block planning on resources no A B: 0 Bottleneck optimization no C C: 2 Campaigns no B continous requirement/receipt no B weighted sum 140 Deadlines modeled as hard constraints no B Validity periods of orders no B Cross-order relationships no B 7.000 Mode linkage no C Degree Sequence dependent setups activities yes C of complexity: Shelf life or max. pegging arcs no A challenging Container resource no A Synchronization on resources no C Time buffer no C If the degree of complexity is not "moderate" SAP recommends the optimization consulting service SAP AG 2002, CP AI OR 2004, Heinrich Braun 56

Ac c ept anc e by different roles OR Specialists solution quality run time behavior IT department (TCO = Total Cost of Owner Ship, ROI = Return on Investment) Maintenance Administration Integration Upgrades / Enhancements Consultants Training / Documentation / Best practices Complete and validated scenarios Sizing tools End user (Planner) Modeling capabilities Solution quality Æ acceptable solution in given run time, error tolerance Solution transparency Æ Diagnostics, Warnings, Tool tips in case of errors SAP AG 2002, CP AI OR 2004, Heinrich Braun 57

Model Analysis Product properties Cardinality of sourcing alternatives for a location-product Maximum throughput per sourcing alternative for a location product Lead-time per location product Cycle analysis Resource properties Key resources number of (final) products requiring a resource Cost model properties Non-delivery penalty configuration non-delivery penalty > production costs+ Delay costs?! Transport-Storage transport_costs > storage_costs?! Push analysis storage_costs_l1 + transport_costs < storage costs_l2?! SAP AG 2002, CP AI OR 2004, Heinrich Braun 58

Pull/Push Redundanc y: Ex am ple Pull Closure Demand Eliminate location-products not required for demand- or safety stock satisfaction, min resource utilization, or not involved in cost push Eliminate all dependent lane-products, lanes and locations Eliminate all dependent activities (procurement, transport, PPM) SAP AG 2002, CP AI OR 2004, Heinrich Braun 59

Com put at ional Test s: Pharm a Indust ry Problem characteristics #buckets #loc-products #lane-products #ppm #products #locations #lanes 24 8.788 2.647 10.680 5.644 64 207 Level of redundancy #ineq #vars 201.327 524.578 memory consumption 994.050.048 Data Reduction Memory Consumption 100% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 50% 0% w ith cost push w ith cost push w /o cost push w /o cost push 1 #location-product #lane-product #ppm #product #loc #arc w /o cost push w /o cost push w ith cost push SAP AG 2002, CP AI OR 2004, Heinrich Braun 60

Com put at ional Test s: Consum er Produc t s Problem characteristics #buckets #loc-products #lane-products #ppm #products #locations #lanes 33 5.092 23.107 1.169 260 32 146 Level of redundancy #ineq #vars 201.327 524.578 memory consumption 1.569.828.864 Data Reduction Memory Consumption 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% #location-product #lane-product #ppm #product #loc #arc w/o cost push 100% 80% 60% 40% 20% 0% w ith cost push w /o cost push w /o cost push w ith cost push 1 w/o cost push with cost push SAP AG 2002, CP AI OR 2004, Heinrich Braun 61

Report of Solut ion Qualit y Key Indicators Resource utilization Setup time Idle time Stock Safety Range of coverage Demand Backlog Delay (Percentage of volume, average of delay in days, priorities) Non Deliveries Aggregation Drill Down Location Product SAP AG 2002, CP AI OR 2004, Heinrich Braun 62

Advanc ed solut ion analysis Explanation Non deliveries Delay Missed safety stock Easier Optimizer Customizing Preconfigured optimizer profiles Support for generating cost parameters SAP AG 2002, CP AI OR 2004, Heinrich Braun 63

Sum m ary Ac c ept anc e of Opt im izat ion in Prac t ic e Acceptance by OR-Specialist Evolutionary algorithms are also optimization algorithms Æ Bridging the gap between Local Search and MILP Acceptance by IT-department / Decider of the investment Solution completeness, Integration, Openness to Enhancements Æ Component Architecture (SAP Netweaver) Acceptance by Consultant Know How, References, Best Practices, Quality guarantees Æ Optimization as commodity needs patience Acceptance by End user Explanation Tools Semi-automatic optimizer configuration SAP AG 2002, CP AI OR 2004, Heinrich Braun 64

Realloc at e Orders using aggregat ed level (SNP ) Problem Scheduling a late order or Solving a machine break down Solving on same location and same production process model Re-optimize in detailed scheduling Change location or production model Remove orders overlapping machine break down Resolve problem on aggregate level (SNP) Selecting appropriate location and/or alternative PPM Release order to detailed scheduling Re-optimize detailed scheduling ONLY APPLICABLE: Inside overlapping horizon of SNP and PP/DS SAP AG 2002, CP AI OR 2004, Heinrich Braun 65

SNP c onsiders set up in PP/DS Setup for each bucket Enhancing PP/DS orders by SNP orders SNPorders PP/DS orders Bucket 1 Bucket 2 A B SNP PP/DS SAP AG 2002, CP AI OR 2004, Heinrich Braun 66