Introduction: Models, Model Building and Mathematical Optimization The Importance of Modeling Langauges for Solving Real World Problems



Similar documents
Simplified Benders cuts for Facility Location

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

Design, synthesis and scheduling of multipurpose batch plants via an effective continuous-time formulation

TOMLAB - For fast and robust largescale optimization in MATLAB

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

Big Data Optimization at SAS

Chapter 13: Binary and Mixed-Integer Programming

Convex Programming Tools for Disjunctive Programs

SBB: A New Solver for Mixed Integer Nonlinear Programming

Solving convex MINLP problems with AIMMS

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams

Recovery of primal solutions from dual subgradient methods for mixed binary linear programming; a branch-and-bound approach

Nonlinear Optimization: Algorithms 3: Interior-point methods

Optimal Allocation of renewable Energy Parks: A Two Stage Optimization Model. Mohammad Atef, Carmen Gervet German University in Cairo, EGYPT

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

LocalSolver: black-box local search for combinatorial optimization

Integrating Benders decomposition within Constraint Programming

Duality in General Programs. Ryan Tibshirani Convex Optimization /36-725

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

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

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

Some representability and duality results for convex mixed-integer programs.

24. The Branch and Bound Method

OPTIMIZED STAFF SCHEDULING AT SWISSPORT

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

4.6 Linear Programming duality

The Master s Degree with Thesis Course Descriptions in Industrial Engineering

A progressive method to solve large-scale AC Optimal Power Flow with discrete variables and control of the feasibility

Noncommercial Software for Mixed-Integer Linear Programming

Optimization of Supply Chain Networks

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Tutorial: Operations Research in Constraint Programming

Optimization Modeling for Mining Engineers

Refinery Planning & Scheduling - Plan the Act. Act the Plan.

Overview of Industrial Batch Process Scheduling

Variable Neighbourhood Search for the Global Optimization of Constrained NLPs

CPLEX Tutorial Handout

Using diversification, communication and parallelism to solve mixed-integer linear programs

Linear Programming Notes V Problem Transformations

Minimizing costs for transport buyers using integer programming and column generation. Eser Esirgen

Optimization Theory for Large Systems

CHAPTER 9. Integer Programming

Discrete Optimization

Duality in Linear Programming

A Constraint Programming based Column Generation Approach to Nurse Rostering Problems

ECCO International, Inc. 268 Bush Street, Suite 3633 San Francisco, CA 94104

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

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

Practical Guide to the Simplex Method of Linear Programming

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

Mixed integer programming methods for supply chain optimization

MODELS AND ALGORITHMS FOR WORKFORCE ALLOCATION AND UTILIZATION

Integrated maintenance scheduling for semiconductor manufacturing

Duality of linear conic problems

Optimized Scheduling in Real-Time Environments with Column Generation

Joint Location-Two-Echelon-Inventory Supply chain Model with Stochastic Demand

Mathematical finance and linear programming (optimization)

Network Optimization using AIMMS in the Analytics & Visualization Era

Big Data - Lecture 1 Optimization reminders

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

Summer course on Convex Optimization. Fifth Lecture Interior-Point Methods (1) Michel Baes, K.U.Leuven Bharath Rangarajan, U.

SAS for the Department of Business Studies, ASB

Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines

Master Thesis. Petroleum Production Planning Optimization - Applied to the StatoilHydro Offshore Oil and Gas Field Troll West

The Gurobi Optimizer

Equilibrium computation: Part 1

1 Solving LPs: The Simplex Algorithm of George Dantzig

An Improved Dynamic Programming Decomposition Approach for Network Revenue Management

A joint control framework for supply chain planning

A Service Design Problem for a Railway Network

Applied Algorithm Design Lecture 5

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

Nonlinear Programming Methods.S2 Quadratic Programming

Linear Programming Supplement E

Mixed Integer Linear Programming in R

Using the analytic center in the feasibility pump

On a Railway Maintenance Scheduling Problem with Customer Costs and Multi-Depots

Linear Programming I

The Age of Computer Aided Modeling

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook

Quality Assurance For Mathematical Modeling Systems

Transcription:

Introduction: Models, Model Building and Mathematical Optimization The Importance of Modeling Langauges for Solving Real World Problems Josef Kallrath Structure of the Lecture: the Modeling Process survey of Real World Problems mathematical background (solution algorithms) efficient problem solving & good modeling practice mathematical modeling & optimization in practice practioners s requirements towards modeling languages 1

Introduction what is mathematical optimization? what are (MIP) optimization problems? what do we need to solve real world problems as optimization problems: data, model, algorithms (solver) modeling language/system simulation versus optimization commerical potential in optimization 2

How Does MIP-Modeling Work? strong focus on methods & know-how computer based modeling language/system interdisciplinary structuring the problem translate problem into mathematical language select or develop an appropriate solver, solve the problem interpretation, validation theory- & model building - no tool, no standard mathematical Algorithms numeric mathematics - no standard approach 3

The Ingredients of Mathematical Optimization Data Know How Experience Variables Constraints min f ( x, y) Objective Function g( x, y) = 0 h( x, y) 0 modeling language/system...model building... Low Costs High Quality Solver: LP, MILP, NLP, MINLP Feasibility Optimality 4

Mathematical Modeling and Optimization Building Blocks data (Actual Situation and Requirements, Control Parameters) e.g., number of sites, unit capacities, demand forecasts, avaliable resources model (variables, constraints, objective function) e.g., how much to produce, how much to ship, (decision variables, unknowns) e.g., mass balances, network flow preservation, capacity constraints e.g., max. contribution margin, min. costs, yield maximization optimization algorithm and solver e.g., simplex algorithm, B&B algorithm, SQP, outer approximation... optimal solution (Suggested Values of the Variables) e.g., production plan, unit-connectivity, feed concentrations... 5

Survey of Real World Problems production planning (2,4) sequencing (2) man power planning (2,4) scheduling (2,3,4,5) allocation (2) distribution and logistics (2) 1 LP : Linear Programming 2 MILP : Mixed Integer LP 3 NLP : Nonlinear Programming 4 MINLP : Mixed Integer NLP 5 CP : Constraint Programming blending (1,2,3,4) refinery optimization (3,4) process design (4) engineering design (3,4) selection & depot location (2) investment / de-investment (2,4) network design (2,4) financial optimization (2,4) 6

Revised Simplex & Interior Point Methods LP: Simplex primal,dual Int-Point PreSolve, algorithms Remarks: hardware feasible point required IPMs are originally made for NLPs P(k) is a equality constrained NLP choose homotopy parameter such that lim argmin(lp)=argmin(p(k)) sequence of NLP problems P(k): 7

Mixed Integer Linear Programming Branch & Bound - Branch & Cut Primal & Dual Simplex for relaxed LP problems Branch and Bound - implicit enumeration solve relaxed LP problem with additional bounds for integer variables Branch and Cut solve relaxed LP problem with additional valid constraints 2 B&B is a proof techniques!!! 8

MILP Algorithms Branch & Bound [ Land&Doig (1960), Dakin(1964), Beale (1967) ] Benders Decomposition [ Benders (1962) ] Cutting Plane [ Gomory (1960) ] Branch & Cut [ Crowder, Johnson & Padberg (1983) van Roy & Wolsey (1987), Balas, Ceria & Cornuejols (1993) ] 9

Good Modeling Practice inequality relaxation of equations flow_out = flow_in pre-processing --> flow_out <= flow_in modeling techniques introduce auxiliary variables for scaling (User&Software) branching choice of branch in integer programming entity choice, choice of branch or node, priorities branching for special ordered sets branching on semi-continuous variables 10

MILP formulations for MINLP problems nonlinear convex objective functions or inequalities products of one continous and k binary variables linear constraints & nonlinear separable objective functions products of one integer and two continuous variables 11

Modeling Product Terms One Continuous & Several Binary Variables 12

Model Cuts Cuts for Integer Variables 13

Cutting Plane Approach general mixed-integer cuts (!) Gomory Mixed Cuts Flow Cover Cuts Knapsack Cuts others... problem specific cuts Example: cuts for semi-continuous variables 14

Cutting Plane Approach without cuts 8388 nodes with cuts only 240 nodes to prove optimality 15

Mixed Integer Nonlinear Programming Applications petrochemical network problem several steamcrackers, plants at two sites tanker and refinery scheduling problem production schedule and storage model, medium size refinery network design problem pooling problems, large number of binary variables process design problem non-linear reaction kinetics, pooling problems 16

( v, q ) Pooling Problem ( w, Q) i i j ( V, Q) w = j Qw j explicit pooling implicit pooling V = i V Q = v q v i i i i Q = w w j j 1 1 = w w j j 2 2, j 1 j 2

Definition of MINLP Problems (Mixed Integer Nonlinear Programming) Petrochemical Production Networks Process & Network Design Problems Financial Service Industry 18

Remarks on NLP & MINLP Problems convex problem non-convex problem multiple optima for a strictly convex problem Remarks: MINLP have all the difficulties of MILP and NLP MINLPs have new special features 19

MINLP Algorithms & Global Optimization Branch& Bound (BB) Gupta and Ravindran (1985), Nabar and Schrage (1991), Borchers and Mitchell (1992) Generalized Benders Decomposition [ Benders (1962) ] Outer-Approximation [ Grossmann and Duran (1986) ] LP/NLP based Branch&Bound [van Roy & Wolsey (1987)] Extended Cutting Plane Method [Westerlund and Petterson (1992)] Convex Under Estimation Techniques (Floudas, Neumaier, Sahinides) 20

Outer-Approximation NLP2 M-MIP Remarks: only 1 iteration if linear exclude infeasible points by integer cuts (binary v.) 21

The Idea of Outer Approximation 22

The Idea of Global Optimization Algebraic Models convex underestimators branch & bound method interval arithmetic Black-Box Models use local Lipschitz constants 23

A Wider Class of Models: Integro-Differential-Algebraic PCOMP (embedded in Easy-Fit) [Klaus Schittkowski] MINOPT [Chris Floudas and Carl Schweiger] gproms [Imperial College] Remark: process industry 24

Scheduling - The Real Challenge production plan -----------> schedule (daily business) Rem 1: SP are rather feasibility problems Rem 2: SP contain many details MILP/MINLP time-indexed formulations have many binary variables Rem 3: poor LP relaxation, weak bounds What can be done? - Good modelling practice - parallel MIL/MINLP - problem-specific heuristics - Constraint Programming Example: Modeling and Solving Train Timetabling Problems MILP + Lagrangian Relaxation & Multipliers, Dual Information, Caprara, Fischetti & Toth, Operations Research 50, 851-861 25

Mathematial Modeling & Optimization in Practice Benefits to Users of Mathematical Optimization The Profile of the Client Relaxation of Constraints Structured Situations Consistent & Obtainable Data User Interface Parallelism Online Optimization (car rental, (hotel: yield management) Integrated Systems Trends Barriers Communication Technological Barriers (Data Aquisition) Implementation & Explicit Representation of Know-How Validating Solutions Social Barriers (men-machine relation) Keeping a Model Alive Psychological Barriers (influence, acknowl 26

Mathematical Optimization Development Further development of LP methods, computing power available Development of Hybrid Methods (B&B, B&C, CP, exploiting model structures), computing power increased Development of B&B and B&C methods, computing power increased 1960 1970 1980 1990 2000 2010 number of applications estimated nr. of appl. 27

Future Paths of Mixed Integer Optimization Solving Scheduling Problems Efficiently complexity, bad LP relaxations, constraint programming often help Hybrid Approaches: (Scheduling,Man Power Planning,...) The Happy Marriage of MIP and CP Solving Design/Strategic and Operative Planning (SCM,...)... Problems Simultaneously MINLP & Global Optimization (Financial Opt, Chem. Eng.) commericial software is available now MINLP + ODE + PDE + Optimal Control + Global Optimiz... system such as MINOPT go in this direction 28

MINLP Algorithms & Global Optimization Branch& Bound (BB) Gupta and Ravindran (1985), Nabar and Schrage (1991), Borchers and Mitchell (1992) Generalized Benders Decomposition [ Benders (1962) ] Outer-Approximation [ Grossmann and Duran (1986) ] LP/NLP based Branch&Bound [van Roy & Wolsey (1987)] Extended Cutting Plane Method [Westerlund and Petterson (1992)] Convex Under Estimation Techniques (Floudas, Neumaier, Sahinides) 29

Requirements from Practioners towards Modeling Languages & Modeling Systems Modeling Language [complete, easy-to-learn, easy-to-read] Advanced Macros, Aliases [repeated structures] Multi-Criteria Optimization [goal programming] Solver Suite [LP, MILP, NLP, MINLP, GO, CP, metaheurist] Infeasibilty Tracing [identify infeasibilities, IIS] Multiple Platforms [Windows, UNIX, LINUX, Mac] Open Design [multiple solvers/database] Indexing [powerful sparse index and data handling] Scalabilty [millions of rows/columns] 30

Requirements from Practioners towards Modeling Languages & Modeling Systems Memory Management [keep all in memory] Speed [10 Million in nonzeros in less than a minute] Robustness [very stable codes, years of testing] Deployment [embed into applications] Synchronism [keeping up with the state-of-the-art solvers] Optimization under Uncertainty [robust opt, multi-stage opt] support new data types: Interval Data Exploiting Structure of MINLPs [convex underestimators] Embedding of own Solvers [Fortran, C, C++] 31

Summary Summary MILP/MINLP is a promising approach to solve real world problems modeling is very important (needs mathematicalalgebraic reformulations) algebraic modeling language modeler-client interaction GUIs!!! increasing importance Advantages deeper understanding - better interpretation - satisfying all constraints - developing new ideas - focused experiments consistency decisions based on quantitative reasoning what-if-when analyses documentation maintenance 32