Mixed-Integer Linear Programming. Mixed-Integer Linear Programming (MILP): Model Formulation. Mixed-Integer Linear Programming

Size: px
Start display at page:

Download "Mixed-Integer Linear Programming. Mixed-Integer Linear Programming (MILP): Model Formulation. Mixed-Integer Linear Programming"

Transcription

1 Mixed-Integer Linear Programg (MILP): Model Formulation Benoît Chachuat McMaster University Department of Chemical Engineering ChE 4G03: Optimization in Chemical Engineering Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 1 / 26 Mixed-Integer Linear Programg Integer Programs (IP) An optimization model is an Integer Program if any of its decision variables is discrete If all variables are discrete, the model is a pure integer program Otherwise, the model is a mixed-integer program Integer variables appear in many problems: Trays in a distillation column Number of employees (1000 s) Number of parallel chemical reactors Whether or not to operate boiler#2 on Monday Scheduling people and equipment to tasks over time Can be solved continuous, then rounded to nearest integer Not appropriate to solve continuous and round after Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 2 / 26 Mixed-Integer Linear Programg Class Exercise: Give more examples of integer decisions in the field of Chemical Engineering: 1 Fluid flow: 2 Heat transfer: 3 Mass transfer: 4 Reactor design: Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 3 / 26 Mixed-Integer Linear Programg Linear vs. Nonlinear Integer Programs An IP model is an integer linear program (ILP) if its (single) obective function and all its constraints are linear Otherwise, it is an integer nonlinear program (INLP) Standard Mixed-Integer Linear Programg (MILP) Formulation: x,y z = c T x + d T y s.t. Ax + Ey = b x x x max, y {0,1} ny Mixed-Integer Nonlinear Programs (MINLPs) are very difficult to solve This is a great motivation for the continued use of LP methods! Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 4 / 26

2 Outline Modeling MILP requires knowledge and ingenuity We will learn some typical MILP formulations here: 1 Native MILP Formulations Lumpy Linear Programs Knapsack Models Assignment and Matching Models Scheduling Models 2 Approximations of Nonlinear Models as MILPs Separable Programg For additional examples, see Rardin (1998), Chapte1 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 5 / 26 Lumpy Linear Programs One broad class of lumpy LPs is when either/or decisions are added to what is otherwise an LP model Expressing All-or-Nothing Requirements All-or-nothing variable requirements of the form x = 0 x = u can be modeled by substituting x u y, s.t. y {0,1} Example: In a blending model, use none or all of a given ingredient x 1,x 2,x 3 18x 1 + 3x 2 + 9x 3 s.t. 2x 1 + x 2 + 7x x x 2 30 x 3 = 0 x 3 = 20 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 6 / 26 Lumpy Linear Programs (cont d) Another source of lumpy LP models is when the obective involves fixed charges (i.e., start-up cost) Θ(x ) Expressing Fixed-Charge Requirements { Fixed-cost requirements of the form: Θ(x ) = f + c x, if x > 0 with nonnegative fixed charge f > 0 and variable x u, can be modeled by substituting Θ(x ) f y + c x, s.t. x u y and y {0,1} f c u x Formulating Models for Fixed-Charged Obectives Class Exercise: Consider a fixed-charge obective function where and x 1, x 2 satisfy x 1,x 2 Θ 1 (x 1 ) + Θ 2 (x 2 ) { Θ 1 (x 1 ) = x1, if x 1 > 0 { Θ 2 (x 2 ) = x2, if x 2 > 0 x 1 + x x x 2 8. Formulate a corresponding MILP model. Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 7 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 8 / 26

3 Lumpy Linear Programs (cont d) Yet another source of lumpy LP models is when a decision variable is semi-continuous c x Expressing Semi-Continuous Requirements Semi-continuous variables of the form: x = 0 l x u, with l > 0 can be modeled by introducing 2 new continuous variables x l,xu 0, 1 new binary variable y {0,1}, and 2 additional constraints: l c u x Formulating Models for Semi-Continuous Variables Class Exercise: Consider the following blending problem, where the ingredient x 3 is a semi-continuous variable: x 1,x 2,x 3 18x 1 + 3x 2 + 9x 3 s.t. 2x 1 + x 2 + 7x x x 2 30 Formulate a corresponding MILP model. x 3 = 0 10 x 3 20 x = l x l + u x u 1 = y + x l + xu Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 9 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 10 / 26 Knapsack Models The problem is to select a maximum value collection of items subect to limitations on resources consumed Knapsack models are the simplest of all (pure) integer linear programs (ILPs) Value 000 I I I 3 I 4 Each element is either all in or all out of the selection: y = { 1, if item selected Capacity max. Knapsack Models (cont d) 1 Dependence of choice on choice i can be enforced on corresponding binary variables by adding constraints of the form: 2 Mutually exclusiveness conditions allowing at most one of a set of choices J can be enforced by adding constraints of the form: Similarly, at most p of a set of choices J can be enforced as: Example: Selection of proects subect to limitations on budgets Class Exercise: Readily available Canadian coins are 1, 5, 10 and 25. Formulate an ILP model to imize the number of coins needed to provide change amount for q. Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 11 / 26 3 Constraints can also enforce selection of exactly p or at least p of a set of choices J Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 12 / 26

4 Formulating ILP Models Class Exercise: The Department of Chemical Engineering at McMaster is acquiring optimization software for use in ChE 4G03. The 4 codes available and the types of algorithms they provide are indicated by s in the following table: Algorithm Code, Type LP IP NLP Cost Formulate a MILP model to acquire a imum cost collection of codes providing LP, IP and NLP capability 2 Formulate a MILP model to acquire a imum cost collection of codes with exactly one providing LP, one providing IP, and one providing NLP capability Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 13 / 26 Assignment Models The issue here is optimal matching or pairing of obects of two distinct types It is standard to model all assignment forms with the decision variables: Set I Set J y i, = { 1, if i of the 1st set is matched with of the 2nd Examples: Assign sales personnel to customers, obs to machine, etc. Assignment constraints forcing every i and/or every to be assigned are of the form: Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 14 / 26 Assignment Models (cont d) Generalized assignment constraints encompass cases where allocation of i to requires fixed space s i, within capacity b : Linear assignment models imize/maximize a linear obective function of the form: c i, y i, i I J where c i, is the cost of assigning i to Class Exercise: Items i = 1,...,100 of volume c i are being stored in an automated warehouse. Storage location = 1,...,20 are at a distance d from the input/output station, and all have capacity b. Formulate a MILP model to store all items at imum total travel distance. Matching Models Unlike assignment models, matching models eliate the distinction between the sets Decision variables of matching models typically are: { 1, if i is paired with i y i,i = where i > i, by convention, to avoid double counting Set I Matching constraints forcing some i I to pair with and only with some other i I are of the form: Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 15 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 16 / 26

5 Matching Models (cont d) Class Exercise: The instructor of ChE 4G03 wants to assign his students to 2-person teams for a graded tutorial. each student s has scored his/her preference p s,s for working with each other student s. 1 Formulate a MILP model to form teams in a way that maximizes total preference. Process Scheduling Models Fee Scheduling is the allocation of resources over time Single-process scheduling problems seek an optimal sequence in which to complete a given collection of tasks on a single process that can accommodate only one ob at a time Typical Data: p = estimated process time for task p 2 r = release time at which task becomes available for processing d = due date by which task should be completed Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 17 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 18 / 26 Fee Decision Variables and Related Constraints: x = start time for task resource availability: x r, Handling of Due Dates: p 2 Due dates are usually handled as goals to be reflected in the obective function rather than explicit constraints This avoids the situation where there is no feasible schedule that meets all due dates Dates that must be met are termed deadlines to distinguish and can be easily enforced as: x + p d, Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 19 / 26 Fee p 2 Obective Functions Often imizes one of the following: Max. completion time (makespan) max{x + p : = 1,..., n} Mean completion time 1 nx (x + p ) n Max. lateness max{x + p d : = 1,..., n} Mean lateness 1 nx (x + p d ) n Max. tardiness Mean tardiness =1 =1 max{0, max{x + p d : = 1,..., n}} 1 nx max{0, x + p d } n Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 20 / 26 =1

6 Class Exercise: The following table shows the process time, release times, due dates, and scheduled starts for three obs. Compute the corresponding value of each of the six obective functions listed previously. Job 1 Job 2 Job 3 Process time, p i Release time, r i Due Date, d i Scheduled start, x i Completion times (x i + p i ) are: = 24, = 30, = 9 Maximum completion time is max{24, 30, 9} = 30 Mean completion time is 1 3 ( ) = 21 2 Lateness of the three obs (x + p d ) is: = 4, = 5, = 27 Maximum lateness is max{4, 5, 27} = 5 Mean completion time is 1 3 ( ) = 6 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 21 / 26 Fee Conflict Constraints: p 2 x + p x x + p x,, = 1,...,n, Reformulation Using Disunctive Variables: { 1, if binding comes before y, = 0, if binding comes before Illustrative Example: y 1,2 = y 1,3 = 1, y 2,3 = 0 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 22 / 26 Fee Big-M Method 01 p 2 Conflicts between tasks and can be prevented with disunctive constraint pairs: x + p x + M(1 y, ) x + p x + My, where M is a large positive constant (e.g., the max. makespan) Class Exercise: Formulate integer linear constraints for feasible schedules on a single process with 3 tasks having process times 14, 3, and 7. Separable Programg Consider the following mathematical program: x z = s.t. f (x ) = f 1 (x 1 ) + + f n (x n ) =1 a i, x b i, i = 1,...,m =1 x 0, = 1,...,n The obective consists of n nonlinear, separable terms f (x ), each a function of a single variable only The m constraints are linear When each f is convex or concave on the feasible region, the separable program can be approximated with an LP Otherwise, the separable program can be approximated with an MILP Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 23 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 24 / 26

7 Approximating General Separable Programs as MILPs Approximating General Separable Programs as MILPs Piecewise affine approximation: (N intervals) f (1) f (3) f (2) f (0) f (x ) c 2 = f (2) f (1) x (1) 0 ω,2 x (1) x (0) x (1) x (3) x Define: c (k) = f (k) f (k 1) 0 ω,k Substitute each variable x and function f by: x x (0) f (x ) f (0) + + N k=1 N k=1 ω,k c (k) ω,k Piecewise affine approximation: (N intervals) f (1) f (3) f (2) f (0) f (x ) c 2 = f (2) f (1) x (1) 0 ω,2 x (1) x (0) x (1) x (3) x Disunctive Variables: y,k = { 0, if ω,k = 0 1, if ω,k > 0 Disunctive Constraints: [ ] ω,k y,k, ω,k [ k = 1,...,N ] y,k+1, k = 1,...,N 1 Do you see why this works? Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 25 / 26 Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 25 / 26 Approximating Separable Programs as MILPs (cont d) Approximate Mixed-Integer Linear Program (on N Intervals): ω,y s.t. =1 f (0) + N c (k) ω k =1 k=1 N a i, ω,k b i =1 k=1 [ ω,k ω,k [ ] =1 a i, x (0), i = 1,...,m y,k, k = 1,...,N ] y,k+1, k = 1,...,N 1 y,k {0,1}, = 1,...,n, k = 1,...,N The solution can be made as accurate as desired by using enough intervals One pays the price in terms of increased problem size! Benoît Chachuat (McMaster University) MILP: Model Formulation 4G03 26 / 26

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

Discrete Optimization

Discrete Optimization Discrete Optimization [Chen, Batson, Dang: Applied integer Programming] Chapter 3 and 4.1-4.3 by Johan Högdahl and Victoria Svedberg Seminar 2, 2015-03-31 Todays presentation Chapter 3 Transforms using

More information

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

INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models Integer Programming INTEGER PROGRAMMING In many problems the decision variables must have integer values. Example: assign people, machines, and vehicles to activities in integer quantities. If this is

More information

Basic Components of an LP:

Basic Components of an LP: 1 Linear Programming Optimization is an important and fascinating area of management science and operations research. It helps to do less work, but gain more. Linear programming (LP) is a central topic

More information

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

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

Integer Programming Formulation

Integer Programming Formulation Integer Programming Formulation 1 Integer Programming Introduction When we introduced linear programs in Chapter 1, we mentioned divisibility as one of the LP assumptions. Divisibility allowed us to consider

More information

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem John Karlof and Peter Hocking Mathematics and Statistics Department University of North Carolina Wilmington Wilmington,

More information

Optimization Modeling for Mining Engineers

Optimization Modeling for Mining Engineers Optimization Modeling for Mining Engineers Alexandra M. Newman Division of Economics and Business Slide 1 Colorado School of Mines Seminar Outline Linear Programming Integer Linear Programming Slide 2

More information

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

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm. Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of

More information

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling

Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one

More information

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

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm. Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three

More information

Lecture 2: August 29. Linear Programming (part I)

Lecture 2: August 29. Linear Programming (part I) 10-725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.

More information

Proximal mapping via network optimization

Proximal mapping via network optimization L. Vandenberghe EE236C (Spring 23-4) Proximal mapping via network optimization minimum cut and maximum flow problems parametric minimum cut problem application to proximal mapping Introduction this lecture:

More information

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

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming

More information

at which branching takes place, a "middleman," if you will. See the transship model panel. ABSTRACT

at which branching takes place, a middleman, if you will. See the transship model panel. ABSTRACT Optimal Solution of Discrete Resource Allocation Problems with SAS/OR Software by LTC Doug McAllaster, US Army Logistics Management College, Fort Lee, VA ABSTRACT This paper is a tutorial on how to use

More information

Chapter 13: Binary and Mixed-Integer Programming

Chapter 13: Binary and Mixed-Integer Programming Chapter 3: Binary and Mixed-Integer Programming The general branch and bound approach described in the previous chapter can be customized for special situations. This chapter addresses two special situations:

More information

EdExcel Decision Mathematics 1

EdExcel Decision Mathematics 1 EdExcel Decision Mathematics 1 Linear Programming Section 1: Formulating and solving graphically Notes and Examples These notes contain subsections on: Formulating LP problems Solving LP problems Minimisation

More information

Two-Stage Stochastic Linear Programs

Two-Stage Stochastic Linear Programs Two-Stage Stochastic Linear Programs Operations Research Anthony Papavasiliou 1 / 27 Two-Stage Stochastic Linear Programs 1 Short Reviews Probability Spaces and Random Variables Convex Analysis 2 Deterministic

More information

Introduction to Process Optimization

Introduction to Process Optimization Chapter 1 Introduction to Process Optimization Most things can be improved, so engineers and scientists optimize. While designing systems and products requires a deep understanding of influences that achieve

More information

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem. Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem. Solve word problems that call for addition of three whole numbers

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

Special Situations in the Simplex Algorithm

Special Situations in the Simplex Algorithm Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the

More information

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued. Linear Programming Widget Factory Example Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory:, Vertices, Existence of Solutions. Equivalent formulations.

More information

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 8, No 2 Sofia 2008 Optimal Scheduling for Dependent Details Processing Using MS Excel Solver Daniela Borissova Institute of

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

Integrated Multi-Echelon Supply Chain Design with Inventories under Uncertainty: MINLP Models, Computational Strategies

Integrated Multi-Echelon Supply Chain Design with Inventories under Uncertainty: MINLP Models, Computational Strategies Integrated Multi-Echelon Supply Chain Design with Inventories under Uncertainty: MINLP Models, Computational Strategies Fengqi You, Ignacio E. Grossmann * Department of Chemical Engineering, Carnegie Mellon

More information

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 DAVID L. BERNICK dbernick@soe.ucsc.edu 1. Overview Typical Linear Programming problems Standard form and converting

More information

24. The Branch and Bound Method

24. The Branch and Bound Method 24. The Branch and Bound Method It has serious practical consequences if it is known that a combinatorial problem is NP-complete. Then one can conclude according to the present state of science that no

More information

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

Refinery Planning & Scheduling - Plan the Act. Act the Plan. Refinery Planning & Scheduling - Plan the Act. Act the Plan. By Sowmya Santhanam EXECUTIVE SUMMARY Due to the record high and fluctuating crude prices, refineries are under extreme pressure to cut down

More information

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

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

Overview of Industrial Batch Process Scheduling

Overview of Industrial Batch Process Scheduling CHEMICAL ENGINEERING TRANSACTIONS Volume 21, 2010 Editor J. J. Klemeš, H. L. Lam, P. S. Varbanov Copyright 2010, AIDIC Servizi S.r.l., ISBN 978-88-95608-05-1 ISSN 1974-9791 DOI: 10.3303/CET1021150 895

More information

Linear Programming. Solving LP Models Using MS Excel, 18

Linear Programming. Solving LP Models Using MS Excel, 18 SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting

More information

Multiproduct Batch Plant Scheduling

Multiproduct Batch Plant Scheduling Multiproduct Batch Plant Scheduling I A Karimi & Dong-Yup Lee Department of Chemical & Biomolecular Engineering National University of Singapore Batch operations (e.g. batch drying, batch distillation,

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

More information

What is Linear Programming?

What is Linear Programming? Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to

More information

F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions

F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions Analyze functions using different representations. 7. Graph functions expressed

More information

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

Introduction: Models, Model Building and Mathematical Optimization The Importance of Modeling Langauges for Solving Real World Problems 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

More information

3.1 Solving Systems Using Tables and Graphs

3.1 Solving Systems Using Tables and Graphs Algebra 2 Chapter 3 3.1 Solve Systems Using Tables & Graphs 3.1 Solving Systems Using Tables and Graphs A solution to a system of linear equations is an that makes all of the equations. To solve a system

More information

Motivated by a problem faced by a large manufacturer of a consumer product, we

Motivated by a problem faced by a large manufacturer of a consumer product, we A Coordinated Production Planning Model with Capacity Expansion and Inventory Management Sampath Rajagopalan Jayashankar M. Swaminathan Marshall School of Business, University of Southern California, Los

More information

EXCEL SOLVER TUTORIAL

EXCEL SOLVER TUTORIAL ENGR62/MS&E111 Autumn 2003 2004 Prof. Ben Van Roy October 1, 2003 EXCEL SOLVER TUTORIAL This tutorial will introduce you to some essential features of Excel and its plug-in, Solver, that we will be using

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005

More information

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints Olivier Beaumont,, Paul Renaud-Goud Inria & University of Bordeaux Bordeaux, France 9th Scheduling for Large Scale Systems

More information

Integer Programming: Algorithms - 3

Integer Programming: Algorithms - 3 Week 9 Integer Programming: Algorithms - 3 OPR 992 Applied Mathematical Programming OPR 992 - Applied Mathematical Programming - p. 1/12 Dantzig-Wolfe Reformulation Example Strength of the Linear Programming

More information

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook Dantzig-Wolfe bound and Dantzig-Wolfe cookbook thst@man.dtu.dk DTU-Management Technical University of Denmark 1 Outline LP strength of the Dantzig-Wolfe The exercise from last week... The Dantzig-Wolfe

More information

Tutorial: Operations Research in Constraint Programming

Tutorial: Operations Research in Constraint Programming Tutorial: Operations Research in Constraint Programming John Hooker Carnegie Mellon University May 2009 Revised June 2009 May 2009 Slide 1 Motivation Benders decomposition allows us to apply CP and OR

More information

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

Minimizing costs for transport buyers using integer programming and column generation. Eser Esirgen MASTER STHESIS Minimizing costs for transport buyers using integer programming and column generation Eser Esirgen DepartmentofMathematicalSciences CHALMERS UNIVERSITY OF TECHNOLOGY UNIVERSITY OF GOTHENBURG

More information

An Improved Dynamic Programming Decomposition Approach for Network Revenue Management

An Improved Dynamic Programming Decomposition Approach for Network Revenue Management An Improved Dynamic Programming Decomposition Approach for Network Revenue Management Dan Zhang Leeds School of Business University of Colorado at Boulder May 21, 2012 Outline Background Network revenue

More information

Nonlinear Optimization: Algorithms 3: Interior-point methods

Nonlinear Optimization: Algorithms 3: Interior-point methods Nonlinear Optimization: Algorithms 3: Interior-point methods INSEAD, Spring 2006 Jean-Philippe Vert Ecole des Mines de Paris Jean-Philippe.Vert@mines.org Nonlinear optimization c 2006 Jean-Philippe Vert,

More information

constraint. Let us penalize ourselves for making the constraint too big. We end up with a

constraint. Let us penalize ourselves for making the constraint too big. We end up with a Chapter 4 Constrained Optimization 4.1 Equality Constraints (Lagrangians) Suppose we have a problem: Maximize 5, (x 1, 2) 2, 2(x 2, 1) 2 subject to x 1 +4x 2 =3 If we ignore the constraint, we get the

More information

Discrete Optimization Introduction & applications

Discrete Optimization Introduction & applications Discrete Optimization 2013 1/21 Discrete Optimization Introduction & applications Bertrand Cornélusse ULg - Institut Montefiore 2013 Discrete Optimization 2013 2/21 Outline Introduction Some applications

More information

Chapter 9. Systems of Linear Equations

Chapter 9. Systems of Linear Equations Chapter 9. Systems of Linear Equations 9.1. Solve Systems of Linear Equations by Graphing KYOTE Standards: CR 21; CA 13 In this section we discuss how to solve systems of two linear equations in two variables

More information

Water networks security: A two-stage mixed-integer stochastic program for sensor placement under uncertainty

Water networks security: A two-stage mixed-integer stochastic program for sensor placement under uncertainty Computers and Chemical Engineering 31 (2007) 565 573 Water networks security: A two-stage mixed-integer stochastic program for sensor placement under uncertainty Vicente Rico-Ramirez a,, Sergio Frausto-Hernandez

More information

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...

More information

Linear Programming Notes VII Sensitivity Analysis

Linear Programming Notes VII Sensitivity Analysis Linear Programming Notes VII Sensitivity Analysis 1 Introduction When you use a mathematical model to describe reality you must make approximations. The world is more complicated than the kinds of optimization

More information

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method Introduction to dual linear program Given a constraint matrix A, right

More information

Unit 1 Equations, Inequalities, Functions

Unit 1 Equations, Inequalities, Functions Unit 1 Equations, Inequalities, Functions Algebra 2, Pages 1-100 Overview: This unit models real-world situations by using one- and two-variable linear equations. This unit will further expand upon pervious

More information

Quantitative Analysis BA 452

Quantitative Analysis BA 452 This is your. is a 100-minute exam (1hr. 40 min.). There are 4 questions (25 minutes per question). To avoid the temptation to cheat, you must abide by these rules then sign below after you understand

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

Scheduling Shop Scheduling. Tim Nieberg

Scheduling Shop Scheduling. Tim Nieberg Scheduling Shop Scheduling Tim Nieberg Shop models: General Introduction Remark: Consider non preemptive problems with regular objectives Notation Shop Problems: m machines, n jobs 1,..., n operations

More information

Solving Linear Programs using Microsoft EXCEL Solver

Solving Linear Programs using Microsoft EXCEL Solver Solving Linear Programs using Microsoft EXCEL Solver By Andrew J. Mason, University of Auckland To illustrate how we can use Microsoft EXCEL to solve linear programming problems, consider the following

More information

Nonlinear Programming Methods.S2 Quadratic Programming

Nonlinear Programming Methods.S2 Quadratic Programming Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective

More information

Question 2: How will changes in the objective function s coefficients change the optimal solution?

Question 2: How will changes in the objective function s coefficients change the optimal solution? Question 2: How will changes in the objective function s coefficients change the optimal solution? In the previous question, we examined how changing the constants in the constraints changed the optimal

More information

Automated SEO. A Market Brew White Paper

Automated SEO. A Market Brew White Paper Automated SEO A Market Brew White Paper Abstract In this paper, we use the term Reach to suggest the forecasted traffic to a particular webpage or website. Reach is a traffic metric that describes an expected

More information

Big Data Optimization at SAS

Big Data Optimization at SAS Big Data Optimization at SAS Imre Pólik et al. SAS Institute Cary, NC, USA Edinburgh, 2013 Outline 1 Optimization at SAS 2 Big Data Optimization at SAS The SAS HPA architecture Support vector machines

More information

Resource Allocation Modeling Techniques Applied to Air Force Crew Scheduling Problem

Resource Allocation Modeling Techniques Applied to Air Force Crew Scheduling Problem Kepler Research, Inc. Proprietary Resource Allocation Modeling Techniques Applied to Air Force Crew Scheduling Problem Submitted by: Kepler Research, Inc. February 2012 1. Introduction and Background The

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

Index Terms- Batch Scheduling, Evolutionary Algorithms, Multiobjective Optimization, NSGA-II.

Index Terms- Batch Scheduling, Evolutionary Algorithms, Multiobjective Optimization, NSGA-II. Batch Scheduling By Evolutionary Algorithms for Multiobjective Optimization Charmi B. Desai, Narendra M. Patel L.D. College of Engineering, Ahmedabad Abstract - Multi-objective optimization problems are

More information

TU e. Advanced Algorithms: experimentation project. The problem: load balancing with bounded look-ahead. Input: integer m 2: number of machines

TU e. Advanced Algorithms: experimentation project. The problem: load balancing with bounded look-ahead. Input: integer m 2: number of machines The problem: load balancing with bounded look-ahead Input: integer m 2: number of machines integer k 0: the look-ahead numbers t 1,..., t n : the job sizes Problem: assign jobs to machines machine to which

More information

SOLVING LINEAR SYSTEMS

SOLVING LINEAR SYSTEMS SOLVING LINEAR SYSTEMS Linear systems Ax = b occur widely in applied mathematics They occur as direct formulations of real world problems; but more often, they occur as a part of the numerical analysis

More information

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

Design, synthesis and scheduling of multipurpose batch plants via an effective continuous-time formulation Computers and Chemical Engineering 25 (2001) 665 674 www.elsevier.com/locate/compchemeng Design, synthesis and scheduling of multipurpose batch plants via an effective continuous-time formulation X. Lin,

More information

CENTRAL TEXAS COLLEGE SYLLABUS FOR DSMA 0306 INTRODUCTORY ALGEBRA. Semester Hours Credit: 3

CENTRAL TEXAS COLLEGE SYLLABUS FOR DSMA 0306 INTRODUCTORY ALGEBRA. Semester Hours Credit: 3 CENTRAL TEXAS COLLEGE SYLLABUS FOR DSMA 0306 INTRODUCTORY ALGEBRA Semester Hours Credit: 3 (This course is equivalent to DSMA 0301. The difference being that this course is offered only on those campuses

More information

Linear Programming I

Linear Programming I Linear Programming I November 30, 2003 1 Introduction In the VCR/guns/nuclear bombs/napkins/star wars/professors/butter/mice problem, the benevolent dictator, Bigus Piguinus, of south Antarctica penguins

More information

Planning and scheduling in the process industry

Planning and scheduling in the process industry Noname manuscript No. (will be inserted by the editor) Planning and scheduling in the process industry Josef Kallrath 12 1 BASF-AG, GVC/S (Scientific Computing) - C13, D-67056 Ludwigshafen, Germany (e-mail:

More information

Linear Threshold Units

Linear Threshold Units Linear Threshold Units w x hx (... w n x n w We assume that each feature x j and each weight w j is a real number (we will relax this later) We will study three different algorithms for learning linear

More information

Fleet Assignment Using Collective Intelligence

Fleet Assignment Using Collective Intelligence Fleet Assignment Using Collective Intelligence Nicolas E Antoine, Stefan R Bieniawski, and Ilan M Kroo Stanford University, Stanford, CA 94305 David H Wolpert NASA Ames Research Center, Moffett Field,

More information

Integer Programming. subject to: (i = 1, 2,..., m),

Integer Programming. subject to: (i = 1, 2,..., m), Integer Programming 9 The linear-programming models that have been discussed thus far all have been continuous, in the sense that decision variables are allowed to be fractional. Often this is a realistic

More information

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

Recovery of primal solutions from dual subgradient methods for mixed binary linear programming; a branch-and-bound approach MASTER S THESIS Recovery of primal solutions from dual subgradient methods for mixed binary linear programming; a branch-and-bound approach PAULINE ALDENVIK MIRJAM SCHIERSCHER Department of Mathematical

More information

Classification - Examples

Classification - Examples Lecture 2 Scheduling 1 Classification - Examples 1 r j C max given: n jobs with processing times p 1,...,p n and release dates r 1,...,r n jobs have to be scheduled without preemption on one machine taking

More information

Supply Chain Design and Inventory Management Optimization in the Motors Industry

Supply Chain Design and Inventory Management Optimization in the Motors Industry A publication of 1171 CHEMICAL ENGINEERING TRANSACTIONS VOL. 32, 2013 Chief Editors: Sauro Pierucci, Jiří J. Klemeš Copyright 2013, AIDIC Servizi S.r.l., ISBN 978-88-95608-23-5; ISSN 1974-9791 The Italian

More information

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important

More information

Linear Programming. April 12, 2005

Linear Programming. April 12, 2005 Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first

More information

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM International Journal of Innovative Computing, Information and Control ICIC International c 0 ISSN 34-48 Volume 8, Number 8, August 0 pp. 4 FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT

More information

Support Vector Machine (SVM)

Support Vector Machine (SVM) Support Vector Machine (SVM) CE-725: Statistical Pattern Recognition Sharif University of Technology Spring 2013 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin

More information

Operating System Resource Management. Burton Smith Technical Fellow Microsoft Corporation

Operating System Resource Management. Burton Smith Technical Fellow Microsoft Corporation Operating System Resource Management Burton Smith Technical Fellow Microsoft Corporation Background Resource Management (RM) is a primary operating system responsibility It lets competing applications

More information

OPTIMIZED STAFF SCHEDULING AT SWISSPORT

OPTIMIZED STAFF SCHEDULING AT SWISSPORT Gurobi User Conference, Frankfurt, 01.02.2016 OPTIMIZED STAFF SCHEDULING AT SWISSPORT Prof. Dr. Andreas Klinkert Dr. Peter Fusek Dipl. Ing. Roman Berner Rita Thalmann Simona Segessenmann Zurich University

More information

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI Solving a System of Linear Algebraic Equations (last updated 5/19/05 by GGB) Objectives:

More information

BIG DATA PROBLEMS AND LARGE-SCALE OPTIMIZATION: A DISTRIBUTED ALGORITHM FOR MATRIX FACTORIZATION

BIG DATA PROBLEMS AND LARGE-SCALE OPTIMIZATION: A DISTRIBUTED ALGORITHM FOR MATRIX FACTORIZATION BIG DATA PROBLEMS AND LARGE-SCALE OPTIMIZATION: A DISTRIBUTED ALGORITHM FOR MATRIX FACTORIZATION Ş. İlker Birbil Sabancı University Ali Taylan Cemgil 1, Hazal Koptagel 1, Figen Öztoprak 2, Umut Şimşekli

More information

Optimization Methods in Finance

Optimization Methods in Finance Optimization Methods in Finance Gerard Cornuejols Reha Tütüncü Carnegie Mellon University, Pittsburgh, PA 15213 USA January 2006 2 Foreword Optimization models play an increasingly important role in financial

More information

5.1 Bipartite Matching

5.1 Bipartite Matching CS787: Advanced Algorithms Lecture 5: Applications of Network Flow In the last lecture, we looked at the problem of finding the maximum flow in a graph, and how it can be efficiently solved using the Ford-Fulkerson

More information

Batch Production Scheduling in the Process Industries. By Prashanthi Ravi

Batch Production Scheduling in the Process Industries. By Prashanthi Ravi Batch Production Scheduling in the Process Industries By Prashanthi Ravi INTRODUCTION Batch production - where a batch means a task together with the quantity produced. The processing of a batch is called

More information

CSE 167: Lecture 13: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 167: Lecture 13: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture 13: Bézier Curves Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #6 due Friday, Nov 18

More information

An Implementation of a Constraint Branching Algorithm for Optimally Solving Airline Crew Pairing Problems

An Implementation of a Constraint Branching Algorithm for Optimally Solving Airline Crew Pairing Problems MASTER S THESIS An Implementation of a Constraint Branching Algorithm for Optimally Solving Airline Crew Pairing Problems Douglas Potter Department of Mathematical Sciences CHALMERS UNIVERSITY OF TECHNOLOGY

More information

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

Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725 Duality in General Programs Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: duality in linear programs Given c R n, A R m n, b R m, G R r n, h R r : min x R n c T x max u R m, v R r b T

More information

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities Algebra 1, Quarter 2, Unit 2.1 Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities Overview Number of instructional days: 15 (1 day = 45 60 minutes) Content to be learned

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University Sep 16, 2010 In 1943, McCulloch and Pitts [4] published a pioneering work on a

More information

Scheduling Algorithm with Optimization of Employee Satisfaction

Scheduling Algorithm with Optimization of Employee Satisfaction Washington University in St. Louis Scheduling Algorithm with Optimization of Employee Satisfaction by Philip I. Thomas Senior Design Project http : //students.cec.wustl.edu/ pit1/ Advised By Associate

More information

Open-source Quality Assurance and Performance Analysis Tools

Open-source Quality Assurance and Performance Analysis Tools Open-source Quality Assurance and Performance Analysis Tools Armin Pruessner, Michael Bussieck, Steven Dirkse, Stefan Vigerske GAMS Development Corporation 1217 Potomac Street NW Washington, DC 20007 1

More information

CHAPTER 9. Integer Programming

CHAPTER 9. Integer Programming CHAPTER 9 Integer Programming An integer linear program (ILP) is, by definition, a linear program with the additional constraint that all variables take integer values: (9.1) max c T x s t Ax b and x integral

More information

Overview Motivating Examples Interleaving Model Semantics of Correctness Testing, Debugging, and Verification

Overview Motivating Examples Interleaving Model Semantics of Correctness Testing, Debugging, and Verification Introduction Overview Motivating Examples Interleaving Model Semantics of Correctness Testing, Debugging, and Verification Advanced Topics in Software Engineering 1 Concurrent Programs Characterized by

More information

CHAPTER 1. Basic Concepts on Planning and Scheduling

CHAPTER 1. Basic Concepts on Planning and Scheduling CHAPTER 1 Basic Concepts on Planning and Scheduling Scheduling, FEUP/PRODEI /MIEIC 1 Planning and Scheduling: Processes of Decision Making regarding the selection and ordering of activities as well as

More information