for Algebraic Modeling Systems?



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

GAMS Productivity - Performance - Reliability

Quality Assurance For Mathematical Modeling Systems

Grid-Enabled Optimization with GAMS

Solving convex MINLP problems with AIMMS

Fundamentals and Recent Developments of the GAMS System

Multimodal Coal Transportation Model

Colgate-Palmolive selects SAP HANA to improve the speed of business analytics with IBM and SAP

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

STATISTICA Solutions for Financial Risk Management Management and Validated Compliance Solutions for the Banking Industry (Basel II)

Capacity Management for Oracle Database Machine Exadata v2

SBB: A New Solver for Mixed Integer Nonlinear Programming

Network Optimization using AIMMS in the Analytics & Visualization Era

Load Building and Route Scheduling

Supply Chain Analytics - OR in Action

11.1 inspectit inspectit

RevoScaleR Speed and Scalability

Process Intelligence: An Exciting New Frontier for Business Intelligence

Cloud Branching. Timo Berthold. joint work with Domenico Salvagnin (Università degli Studi di Padova)

Product Brief. DC-Protect. Content based backup and recovery solution. By DATACENTERTECHNOLOGIES

Spare part inventory control for an aircraft component repair shop

Cloud Lifecycle Management

Bringing Big Data Modelling into the Hands of Domain Experts

A Reference Point Method to Triple-Objective Assignment of Supporting Services in a Healthcare Institution. Bartosz Sawik

Machine Data Analytics with Sumo Logic

Strategic planning in LTL logistics increasing the capacity utilization of trucks

Inventory Routing. An advanced solution for demand forecasting, stock replenishment, and route planning and execution

A MANAGER S ROADMAP GUIDE FOR LATERAL TRANS-SHIPMENT IN SUPPLY CHAIN INVENTORY MANAGEMENT

NoSQL Performance Test In-Memory Performance Comparison of SequoiaDB, Cassandra, and MongoDB

Big Data Optimization at SAS

Task definition PROJECT SCENARIOS. The comprehensive approach to data integration

A Novel Cloud Based Elastic Framework for Big Data Preprocessing

Model, Analyze and Optimize the Supply Chain

Software for Supply Chain Design and Analysis

How To Develop Software

Project Time Management

The SPES Methodology Modeling- and Analysis Techniques

Why MCL-Bridge for SAP

An Oracle Benchmarking Study February Oracle Insurance Insbridge Enterprise Rating: Performance Assessment

Making Improvement Work in Pharmaceutical Manufacturing Some Case Studies. Ronald D. Snee

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

Disaster Recovery and Business Continuity Basics The difference between Disaster Recovery and Business Continuity

Extend the value of your core business systems.

Prescriptive Analytics. A business guide

Software: Systems and Application Software

Parallels Virtuozzo Containers

Taking PLM to production with Shop Floor Connect for Teamcenter

A joint control framework for supply chain planning

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

A Constraint Programming based Column Generation Approach to Nurse Rostering Problems

CLOUD PERFORMANCE TESTING - KEY CONSIDERATIONS (COMPLETE ANALYSIS USING RETAIL APPLICATION TEST DATA)

N(i) 2 WHITE PAPER on CHANGE MANAGEMENT

Fast Multipole Method for particle interactions: an open source parallel library component

Optimizing Storage for Better TCO in Oracle Environments. Part 1: Management INFOSTOR. Executive Brief

SINGLE-STAGE MULTI-PRODUCT PRODUCTION AND INVENTORY SYSTEMS: AN ITERATIVE ALGORITHM BASED ON DYNAMIC SCHEDULING AND FIXED PITCH PRODUCTION

Object Oriented GAMS API:

AN INTEGRATED APPROACH TO TEACHING SPREADSHEET SKILLS. Mindell Reiss Nitkin, Simmons College. Abstract

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

DECISION SUPPORT SYSTEMS OR BUSINESS INTELLIGENCE. WHICH IS THE BEST DECISION MAKER?

PARALLEL & CLUSTER COMPUTING CS 6260 PROFESSOR: ELISE DE DONCKER BY: LINA HUSSEIN

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

Tennessee Department of Education

Practical Financial Optimization. A Library of GAMS Models. The Wiley Finance Series

Understanding the Benefits of IBM SPSS Statistics Server

Analytic Modeling in Python

Data Sheets RMS infinity

Project Time Management

BUSINESS INTELLIGENCE ANALYTICS

Integrating Benders decomposition within Constraint Programming

Warehouse Control and Picking System in SAP ERP ORTEC MLS: Mobile Logistics Solutions

Oracle Exadata Database Machine for SAP Systems - Innovation Provided by SAP and Oracle for Joint Customers

PROJECT TIME MANAGEMENT. 1 Powered by POeT Solvers Limited

Process Modelling from Insurance Event Log

A Brief Introduction to Apache Tez

2009 Oracle Corporation 1

IBM Rational ClearCase, Version 8.0

Pattern-based J2EE Application Deployment with Cost Analysis

Literature survey: historical and theoretical background. The chapter requires you to have done some library and company research to:

So You Want to Build an Automated Scheduling System

Tableau Server Scalability Explained

Bridging the Gap Between IT and Facilities: Morgan Stanley Case Study

OPTIMIZED STAFF SCHEDULING AT SWISSPORT

Process Automation - History and Future

SUN ORACLE EXADATA STORAGE SERVER

Variable Neighbourhood Search for the Global Optimization of Constrained NLPs

Using big data in automotive engineering?

Scaling Study of LS-DYNA MPP on High Performance Servers

Workforce Planning and Scheduling for the HP IT Services Business

Meeting the Network Optimization Challenge Balancing Service, Contribution and Asset Return for the Global Business Unit

Data-Driven Decisions: Role of Operations Research in Business Analytics

Big Data Processing with Google s MapReduce. Alexandru Costan

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

Transcription:

for Algebraic Modeling Systems? Jan-Hendrik Jagla Alex Meeraus jhjagla@gams.com ameeraus@gams.com GAMS Software GmbH www.gams.de GAMS Development Corp. www.gams.com 80 th Workshop of the GOR Working Group Practice of Mathematical Optimization Ladenburg, April 3-4 2008

Agenda General Algebraic Modeling System Reel Production Model Corrugated Board Trim-loss Model Batching and Scheduling Model 2

Agenda General Algebraic Modeling System Reel Production Model Corrugated Board Trim-loss Model Batching and Scheduling Model 3

GAMS at a Glance General Algebraic Modeling System Roots: World Bank, 1976 Went commercial in 1987 GAMS Development Corp. (DC) GAMS Software GmbH (Cologne) Broad academic & commercial user community and network 4

GAMS at a Glance General Algebraic Modeling System Algebraic Modeling Language 25+ Integrated Solvers 10+ Supported MP classes 10+ Supported Platforms Connectivity- & Productivity Tools IDE Model Libraries GDX, Interfaces & Tools Grid Computing Benchmarking Compression & Encryption Deployment System 5

Supported Model Types (GAMS 22.6) CNS MCP MIP LP PCQ DNLP NLP 6

7 Supported Platforms (GAMS 22.6)

Downloads by Platform GAMS 22.5 GAMS 22.6 525+ Downloads 550+ Downloads a week a week 8

Algebraic Modeling Systems in Manufacturing Is there a Role for Algebraic Modeling Systems? Optimization is an essential part of any engineering activity from strategic decision making with time horizons of decades to micro level control with time horizons of micro seconds Besides the sheer size of the problems, models need to capture Organizational structures Technical conditions and machine functions Laws of nature Human behavior 9

Algebraic Modeling Systems in Manufacturing Optimization, spurred by advances in computing technology, has become an integral part of industrial systems. Industry and service providers offer solutions to domain specific problems at any level of industrial activities However, many problems are too specific and limited to be addressed by existing standard solutions. 10

Algebraic Modeling Systems in Manufacturing AMLs as GAMS often used as a black box utility offering Effective integration into existing applications Protection of modeling investment Cutting-edge technology Very effective vehicle to study and improve existing processes and procedures 11 The process of defining and specifying characteristics, relationships, objectives and data in formal mathematical terms provides a platform to better understand and streamline the overall system

Agenda General Algebraic Modeling System Reel Production Model Corrugated Board Trim-loss Model Batching and Scheduling Model 12

Manufacturing of Wooden Reels Used mainly in the wire & cable industry Differ in diameter (18-100+ inches) Ends are two-ply and of a given thickness Made of lumber 13

Reel Model Goal Goal is to minimize waste given a collection of reel orders given a current lumber inventory batched on pallets with different quantities of rectangle lumbers different widths (8), length (10) and thicknesses (4) Ferris (2003) with a model running on daily basis. 14

Reel Model Additional Difficulties Additional Difficulties are Reuse yesterday s leftovers preferentially Cutting down lumbers done by batch (pallet) Some pieces of lumber have bad knots, bark etc. Stochasticities Machine to join low-priced lumbers (e.g. two-by-fours)... 15

Reel Model - Four Phase Solution in GAMS Cutting Stock Problem I. Generate circular patterns using column generation Algorithm using LP and MIP 1000+ different patterns are generated II. III. IV. MIP Model to select circular patterns Pattern selection s.t. given orders and lumber inventory MIP Model to find optimal batches (pallets) of lumber Over- and Underproduction allowed but penalized (-3% to +5%) Loop that softens constraints until feasible (limits * 1.5) Clean-up solution due to required diameter-grouping of orders 16 Application needs about 20-30 minutes

Reel Model - Impact Model showed potential waste savings of ~40% (Maybe) More important: The overall analytic framework revealed Need of a new inventory system Need to reeducate staff Elimination of stochasticities (Usually) Omit joining and (re)cutting to improve and streamline processes 17 Having understood and eliminated the weaknesses of their system, the company is able to run the application on a daily basis with an average waste lowered from 20% to 12%

Agenda General Algebraic Modeling System Reel Production Model Corrugated Board Trim-loss Model Batching and Scheduling Model 18

Board Model - Characterization Raw Paper Reels Corrugation and Cutting Corrugated Board Sheets Boxes Stock Rodríguez, Vecchietti (2007) 19

Board Model Folding of Board Sheets

Board Model Complexity Minimize paper waste Minimum = 18 mm Paper Trim-loss Paper Trim-loss 5 longitudinal Up to 4 lanes 2 transversal guillotines Up to 2 different lengths Longitudinal Longitudinal # layers Paper types Wave types Problem Size - 36 carton types - 352 paper types and widths - Thousands combinations

Board Model Complexity Combinatorial Problem Complexity Binary decisions (pattern assignment) Non-convex (paper use: demand, stock) ~100 orders to be combined Orders can be subdivided in different patterns Complex combinatorial cutting patterns problem 22 Main motivation Paper cost about 70% final product cost Paper loss is tightly related to the company profitability

Board Model Solution Strategies MINLP - At that point global optimality could not be guaranteed Linearization - Additional continuous and binary variables and constraints - Not solvable in acceptable time horizon Two-Step Algorithm - Cutting patterns pre-generation (LP) - Cutting patterns selection and length (MIP) 23

Board Model Generated Cutting Patterns al Paper Paper trim-loss trim-loss Longitudinal Longitudinal Paper trim-loss Longitudinal Paper Trim-loss Paper trim-loss Longitudinal Same order sheets Pattern type 1-1 Pattern type 2-2 Paper Trim-loss Longitudin Transv 24 Paper Trim-loss Paper trim-loss Longitudinal Longitudinal Patrón tipo 2-1 Paper trim-loss Longitudinal Pattern type 1-2 Pattern type 1-3 Paper trim-loss Longitudinal

Board Model Pattern Selection x1 Longitudinal ord1 ord1 ord2 25 Pattern p2 Pattern p1 n1 1 = 2 n2 1 = 1 Trim-loss

Board Model Conclusion Introduction of an algorithmic layer helped to overcome missing Global Optimization Model implemented and linked to company ERP system 26 Big step forward within the company supply chain system Old system using Excel 4 hours for one solution People did not trust in it and deviated from solution New system using GAMS minutes for several scenarios trim-loss costs reduced by 30%

What do we learn? Increasing need of Global Optimization Need of Layers around Pure Optimization Thin-layer Algorithms Automatic Reformulations EMP Extended Mathematical Programming Bilevel programming logical constructs (indicators, disjunctions) systematic constraint modifications» activation and deactivation» softening and tightening 27 Makes GAMS ready for new cutting-edge approaches Continuously bridge the gap between academia and industry

Agenda General Algebraic Modeling System Reel Production Model Corrugated Board Trim-loss Model Batching and Scheduling Model 28

Batch Model Characterization Given a set of orders with release/due time and demand a set of processing units with min/max batch sizes, processing times and processing costs per order a set of stages with parallel processing units at each stage determine the number and size of batches required to meet each order (batching decision) the assignment of batches to processing units at each stage the sequencing of assigned batches in each processing unit 29 such that the time necessary to meet all orders is minimized. Ferris, Maravelias, Sundaramoorthy (2008)

Batch Model Example Orders: i I = {A, B, C} Batches Stages: k K = {1, 2, 3} Units: j J = J(1) J(2) J(3) q i r A d A A U1 U3 U6 r B d B B U4 r C d C C U2 U5 U7 k = 1 k = 2 k = 3 J(1) = {U1, U2} J(2) = {U3, U4, U5} J(3) = {U6, U7} 30

Batch Model Approach Decompose MIP by creating MIP-subproblems by fixing batching decisions Run MIP-subproblems with small time limit to separate difficult from easy ones For difficult batch selections determine second round of partitioning based on assignment variables in first stage and again solve with time limit to separate difficult from easy ones If necessary, continue with partitioning based on second (third, fourth, etc) stage assignment variables 31 Large number of independent MIPs which could be solved in parallel using the GAMS/Grid facility

GAMS/Grid Facilities Code mymodel.solvelink=3; loop(scenario, demand=sdemand sdemand(scenario); cost=scost scost(scenario); solve mymodel min obj using mip; report(scenario) h(scenario)=mymodel.handle = var.l; mymodel.handle); = var.l); 32 Repeat loop(scenario$h scenario$h(scenario), if(handlestatus handlestatus(h(scenario))=2, mymodel.handle=h(scenario); h(scenario)=0; execute_loadhandle mymodel; report(scenario)=var.l )); if(card(h), execute 'sleep 1'); until card(h)=0 or timeelapsed > 100;

Batch Model GAMS/Grid Facts Scalable: support of massive grids, but also multi-cpu / multiple cores desktop machines 1 CPU - Grid Platform independent Only minor changes to model required Separation of model and solution method Model stays maintainable 33

Batch Model SUNgrid www.network.com www.gams.com/sungrid On-demand grid computing service operated by Sun Microsystems with GAMS available Access to enormous computing power over Internet Opteron-based servers with 4 GB of RAM per CPU Solaris 10 OS, and Sun Grid Engine 6 software. $1 per CPU-hour (Currently 3 month free) 34

Thanks for your time! Europe GAMS Software GmbH Eupener Str. 135-137 50933 Cologne Germany Phone: +49 221 949 9170 Fax: +49 221 949 9171 http://www.gams.de info@gams.de support@gams-software.com USA GAMS Development Corp. 1217 Potomac Street, NW Washington, DC 20007 USA Phone: +1 202 342 0180 Fax: +1 202 342 0181 http://www.gams.com sales@gams.com support@gams.com 35