36106 Managerial Decision Modeling Linear Decision Models: Part II

Size: px
Start display at page:

Download "36106 Managerial Decision Modeling Linear Decision Models: Part II"

Transcription

1 Managerial Decision Modeling Linear Decision Models: Part II Kipp Martin University of Chicago Booth School of Business January 20, 2014

2 Reading and Excel Files Reading (Powell and Baker): Sections Section 9.8 Files used in this lecture: simplelp.xlsx

3 Lecture Outline Constrained Optimization Optimization Categories Optimization Concepts Solution Report Vocabulary

4 Constrained Optimization Google the word optimization and you get over 62 million links, Googling optimal gives about 70 million links. Words such as optimal and optimization mean different things to different people. In this class they take on a precise meaning. We will devote a lot of time this quarter to building optimization models and implementing them in Excel. Before we can build some neat applications and learn some really useful stuff, we need a few basic math concepts. You need to understand the concepts: objective function, constraint, feasible, variable, parameter, and optimal.

5 Constrained Optimization Everyone is familiar with the idea of an equation. Here are two examples 2x 1 + 7x 2 = 3 (1) 5x 2 1 2x 1 x 2 + 5x 1 3x 2 = (2) The first equation is a linear equation, the second equation is a quadratic equation. You are also familiar with the idea of an inequality. 2x 1 + 7x 2 3 (3) 5x 2 1 2x 1 x 2 + 5x 1 3x (4) Again, the first inequality is linear while the second is nonlinear.

6 Constrained Optimization In this class (and in the world of optimization) equations and inequalities are called constraints or objectives. Example 1: in the cash flow matching problem, there was an equation =B6+C6+Price_Bnd1*Num_Bnd1+Price_Bnd2*Num_Bnd2 that represents the objective of minimizing the initial cash requirement. Example 2: in the cash flow matching problem there was an inequality =Num_Bnd1*Int_Bnd1+Num_Bnd2*Int_Bnd2+ C7*(1+Sav_Int)-Sav_Acct-Cash_Req that is a constraint saying sources of cash must meet or exceed uses of cash in period 2.

7 Constrained Optimization Every constrained optimization problem has an objective function that is maximized or minimized subject to constraints. In the cash flow matching problem the objective is to minimize the initial amount of cash required subject to constraints that require the sources of cash to meet the uses of cash. In the Markowitz portfolio optimization we study later the objective is to minimize the variablity of a stock portfolio subject to a constraint on the required return of the portfolio. In the airline revenue management problem we study later the objective is to maximize revenue subject to constraints of the seats available in various categories. Definition: the variables in the constraints and objective are called decision variables.

8 Constrained Optimization In this class you will learn how to take business problems and frame the problem in terms of constraints and objectives. First, we start by seeing what a problem with an objective function and constraints look like. Don t worry about the application for now this is slight modification of a standard MATLAB example. max x + 2y 2x + 2y 4 2x 4y 2 2x + y 8 2x + y 2 y 7

9 Constrained Optimization Here is the feasible region of a simple two-variable constrained optimization problem. Attempting a What-If analysis by picking feasible points is simply not efficient!

10 Constrained Optimization Feasible Solution: A point is a feasible solution if and only if it satisfies every constraint. Going three for five or even four for five does not suffice. Is (5, 3) a feasible point? How can you test this? Is (3, 5) a feasible point? How can you test this? Feasible Region: The set of feasible points.

11 Constrained Optimization In this example, there are an infinite number of feasible solutions. We want the best or optimal solution. A solution is an optimal solution to a maximization problem if there is no feasible solution that has a strictly larger objective function value. A solution is an optimal solution to a minimization problem if there is no feasible solution that has a strictly smaller objective function value.

12 Constrained Optimization In practice, optimization problems may involve thousands or even millions of variables and constraints. These large problems are solved using optimization software codes which are often called solvers. The Excel Solver is one such example. There are numerous optimization solvers, both commercial and open source. Solvers work by finding a feasible point and then move in an improving direction (where the objective gets bigger in case of a maximization). Then a step is taken in the direction of improvement and the process repeats. Finding improving directions and moving in the direction of improvement can be mathematically complex. We won t worry about this. We let Excel worry about this and do all the work.

13 Historical Notes 13 Historically, the first constrained optimization problems were diet problems solved for the US military in the late 1930s and early 1940s. Booth (before we were Booth) professor George Stigler and 1982 Nobel Laureate in economics was one of the first to solve this problem. See His original problem had 77 potential foods and 9 nutrient requirements. Here is what you should eat. Food Annual Quantities Annual Cost Wheat Flour 370 lb. $13.33 Evaporated Milk 57 cans $ 3.84 Cabbage 111 lb. $ 4.11 Spinach 23 lb. $ 1.85 Dried Navy Beans 285 lb. $16.80 Total Annual Cost $ Non-vegetarians should consume beef liver.

14 Historical Notes Stigler did not actually find the optimal solution, but rather employed a heuristic to find a near optimal solution. Big Breakthrough: George Dantzig found a way to solve constrained optimization problems when the constraints and objective function are linear. He showed that if there was an optimal solution then there was an optimal extreme point solution. Extreme point: a point on the boundary of the feasible region where the constraints intersect. Dantzig s extreme point result led to a very effective solution algorithm for linear programs (linear objective and linear constraints), called the Simplex Algorithm. It is now possible to solve linear programs with quite literally millions of variables and constraints.

15 Types of Constrained Optimization Models The Generic Model: max(min)f (x 1, x 2,..., x n ) g 1 (x 1, x 2,..., x n ) b 1 g 2 (x 1, x 2,..., x n ) b 2... g m (x 1, x 2,..., x n ) b m Optimization problems fall into categories depending upon the structure of the objective function and constraints. It is critical to understand the structure of the problem you are trying to solve! We will see why this is so shortly.

16 Types of Constrained Optimization Models Linear Program: The objective function and all constraints are linear. The easiest type of optimization problem to solve. Initially most business problems solved were linear. Nonlinear Program: At least one constraint or the objective function is a nonlinear function. Convex Nonlinear Programs Nonconvex Nonlinear Programs Don t worry about nonconvex versus convex for now, just linear versus nonlinear. 2x 1 + 5x 2 2x 1 + 5x 1 x 2 2x1 2 + x 2 x 1 /x 2 is linear is nonlinear is nonlinear is nonlinear

17 Types of Constrained Optimization Models Integer Program: at least one variable must be either binary (0/1) or a general integer (we buy an integral number of bonds). The 0/1 variables are incredibly useful to model logical conditions (more later). 1. Linear Integer Programs the objective function and constraints are linear, but some or all variables are restricted to be integer. 2. Nonlinear Integer Programs at least one constraint is nonlinear or the objective function is nonlinear and some or all variables are restricted to be integer. This is an argle bargle! Stochastic Program: A least one parameter is NOT deterministic, i.e. it is stochastic. In practice, stochastic parameters are often replaced with their expected values. This can be very dangerous! Hence we later move and RiskSolver.

18 18 Types of Constrained Optimization Models When working with solver it is important to know the kind of optimization problem you have. Use the Select a Solving Method judiciously.

19 Types of Constrained Optimization Models Model Category Solver Solving Method Linear program Simplex LP Integer linear program Simplex LP Convex nonlinear program GRG Nonlinear Nonconvex nonlinear program GRG Nonlinear Integer nonlinear program Evolutionary Stochastic RiskSolver Solving a stochastic, nonlinear, nonconvex, integer programming model you are kidding, right?

20 Types of Constrained Optimization Models 20 A Few Excel Hints: 1. Assume you have a formula in cell A2 which is = A1 B1. At first glance, this is a nonlinear expression. However, if for example, cell A1 has = 7, then Excel will make this substitution into A2 and the formula in A2 is really =7*B1 which is linear in B1. After substitutions, ideally there are no cells with nonlinear relationships involving adjustable cells! 2. Functions are dangerous! Consider the following use of the IF function in mpfphotfudge.xlsx. =Int_Bnd1*Num_Bnd1*IF(Mat_Bnd1>=Period,1,0) This is fine since the function arguments (inputs) are parameters! This would be nonlinear, and even require the Evolutionary solver, if an argument involved an adjustable cell. Be careful of using functions that use adjustable cells unless the function is a linear function such as SUM.

21 21 Types of Constrained Optimization Models Scaling: This is bit on the techie side, but Solver can have problems when you have numbers of substantially different magnitudes. Indeed, you may get an error message about nonlinear cells even when they are linear.

22 Types of Constrained Optimization Models 22 If you have selected Simplex LP and are getting nonlinear error messages, and you are convinced your model is linear, then check Use Automatic Scaling.

23 Optimization Concepts 23 Something new to worry about in the nonlinear world the software finds a local optimum. First, the global concept. A point x is a global maximum of f (x) if and only if f (x) f (x) for all x A point x is a global minimum of f (x) if and only if f (x) f (x) for all x

24 Optimization Concepts 24 Is there a global maximum? Is there a global minimum?

25 Basic Concepts 25 Now the local concept. A point x is a local maximum of f (x) if and only if there are no other feasible solutions with a larger objective function value in the immediate neighborhood. A point x is a local minimum of f (x) if and only if there are no other feasible solutions with a smaller objective function value in the immediate neighborhood.

26 Basic Concepts 26 What are the local maxima? What are the local minima?

27 Basic Concepts 27 A nice function f (x, y) = x 2 y 2. This is called concave. It is bowl shaped down. 0 Z Y X

28 Basic Concepts 28 A nice function f (x, y) = x 2 + y 2. This is called convex. It is bowl shaped up. 40 Z Y X

29 29 Basic Concepts A seriously mean function: f (X, Y ) = 3(1 X ) 2 e ( X 2 (Y +1) 2 ) 10(X /5 X 3 Y 5 )e ( X 2 Y 2 ) e ( (X +1) 2 Y 2 ) /3. Z Y 0 X 2-2

30 Basic Concepts 30 5 Z Y X

31 Model and Solution Tradeoff 31 Linear programs are the easiest to solve. However, most real problems usually have some nonlinearities and discrete aspects.

32 Model and Solution Tradeoff Even now, the most commonly solved problems are deterministic mixed-integer linear programs. Is the world linear? I don t think so! Question: So why all the solving of mixed integer linear programs? Answer: Say s Law!

33 Solution Report When you solve an optimization problem using a solver, you get a solution report. This solution report will indicate whether or not it found an optimal solution. If an optimal solution is found, the solution report will give the optimal objective function value and will give the optimal values of the decision variables. The solution report also provides other information given in Chapter 9, in particular Appendix 9.1.

34 34 Solution Report Go back to the simple LP we graphed earlier (simplelp.xlsx.). Convert to max x + 2y 2x + 2y 4 2x 4y 2 2x + y 8 2x + y 2 y 7 max x + 2y 2x 2y 4 2x 4y 2 2x y 8 2x + y 2 y 7

35 Solution Report 35 Solver generates a solution report.

36 36 Solution Report See the spreadsheet Answer Report 1

37 The constraints Solution Report 2x y 8 y 7 are tight or binding constraints since they are satisfied as strict equalities in the optimal solution. There is zero unused resource or in optimization lingo the slack is zero. However the other constraints 2x 2y 4 2x 4y 2 2x + y 2 are not tight and have positive slack of 25, 15, and 6, respectively. The concept of a tight constraint is used later when we discuss sensitivity analysis.

38 Solution Report Note also that the optimal solution of x = 7.5 and y = 7 with optimal solution value of 21.5 is: on the boundary of the feasible region, and it is at the intersection of two or more constraints a corner point Linear programming software only searches for extreme point solutions.

39 Solution Report The slack values are calculated at the optimal solution of x = 7.5 and y = 7 as follows: 2x 2y = 2(7.5) 2(7) = 29 2x 4y = 2(7.5) 4(7) = 13 2x + y = 2(7.5) + 7 = 8 Since the respective right-hand-sides of these constraints are -4, 2, and -2, the slacks are 25, 15, and 6, respectively.

40 Solution Possibilities A constrained optimization problem either has an optimal solution or it does not. If it has an optimal solution, then it has a unique optimal solution or alternative optima. What is the graphical interpretation of alternative optima? If it does not have an optimal solution, then in the linear case it is unbounded or infeasible.

41 Vocabulary Objective Function Constraint Decision Variable Nonnegativity Constraints Feasible Point Feasible Region Optimal Solution Slack and surplus

42 Vocabulary 42 Linear program Nonlinear program Integer program Stochastic program Infeasible problem Unbounded problem Alternative optima Redundant constraint Tight or binding constraint

Linear Programming Inverse Projection Theory Chapter 3

Linear Programming Inverse Projection Theory Chapter 3 1 Linear Programming Inverse Projection Theory Chapter 3 University of Chicago Booth School of Business Kipp Martin September 26, 2017 2 Where We Are Headed We want to solve problems with special structure!

More information

Summary of the simplex method

Summary of the simplex method MVE165/MMG631,Linear and integer optimization with applications The simplex method: degeneracy; unbounded solutions; starting solutions; infeasibility; alternative optimal solutions Ann-Brith Strömberg

More information

Lecture 1 Introduction to optimization

Lecture 1 Introduction to optimization TMA947 / MMG621 Nonlinear optimization Lecture 1 Introduction to optimization Emil Gustavsson, Zuzana Nedělková October 2, 217 What is optimization? Optimization is a mathematical discipline which is concerned

More information

Chapter 2: Linear Programming Basics. (Bertsimas & Tsitsiklis, Chapter 1)

Chapter 2: Linear Programming Basics. (Bertsimas & Tsitsiklis, Chapter 1) Chapter 2: Linear Programming Basics (Bertsimas & Tsitsiklis, Chapter 1) 33 Example of a Linear Program Remarks. minimize 2x 1 x 2 + 4x 3 subject to x 1 + x 2 + x 4 2 3x 2 x 3 = 5 x 3 + x 4 3 x 1 0 x 3

More information

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12 Today s class Constrained optimization Linear programming 1 Midterm Exam 1 Count: 26 Average: 73.2 Median: 72.5 Maximum: 100.0 Minimum: 45.0 Standard Deviation: 17.13 Numerical Methods Fall 2011 2 Optimization

More information

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we

More information

Chapter 6. Linear Programming: The Simplex Method. 6.1 Geometric Introduction to the Simplex Method

Chapter 6. Linear Programming: The Simplex Method. 6.1 Geometric Introduction to the Simplex Method Chapter 6 Linear Programming: The Simplex Method Section 1 A Geometric Introduction to the Simplex Method 6.1 Geometric Introduction to the Simplex Method The geometric method of linear programming from

More information

ARE202A, Fall 2005 CONTENTS. 1. Graphical Overview of Optimization Theory (cont) Separating Hyperplanes 1

ARE202A, Fall 2005 CONTENTS. 1. Graphical Overview of Optimization Theory (cont) Separating Hyperplanes 1 AREA, Fall 5 LECTURE #: WED, OCT 5, 5 PRINT DATE: OCTOBER 5, 5 (GRAPHICAL) CONTENTS 1. Graphical Overview of Optimization Theory (cont) 1 1.4. Separating Hyperplanes 1 1.5. Constrained Maximization: One

More information

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 10 Dr. Ted Ralphs IE406 Lecture 10 1 Reading for This Lecture Bertsimas 4.1-4.3 IE406 Lecture 10 2 Duality Theory: Motivation Consider the following

More information

How to Characterize Solutions to Constrained Optimization Problems

How to Characterize Solutions to Constrained Optimization Problems How to Characterize Solutions to Constrained Optimization Problems Michael Peters September 25, 2005 1 Introduction A common technique for characterizing maximum and minimum points in math is to use first

More information

x 1 + x 2 2 x 1 x 2 1 x 2 2 min 3x 1 + 2x 2

x 1 + x 2 2 x 1 x 2 1 x 2 2 min 3x 1 + 2x 2 Lecture 1 LPs: Algebraic View 1.1 Introduction to Linear Programming Linear programs began to get a lot of attention in 1940 s, when people were interested in minimizing costs of various systems while

More information

Operations Scheduling for the LSST

Operations Scheduling for the LSST Operations Scheduling for the LSST Robert J. Vanderbei 2015 March 18 http://www.princeton.edu/ rvdb LSST Scheduler Workshop Tucson AZ Simple Optimization Problem Unconstrained max x R n f(x) The function

More information

Linear Programming Duality

Linear Programming Duality Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve

More information

Review of Optimization Methods

Review of Optimization Methods Review of Optimization Methods Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018 Outline of the Course Lectures 1 and 2 (3 hours, in class): Linear and non-linear functions on Limits,

More information

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form Graphical representation

More information

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form problems Graphical representation

More information

Algorithmic Game Theory and Applications. Lecture 5: Introduction to Linear Programming

Algorithmic Game Theory and Applications. Lecture 5: Introduction to Linear Programming Algorithmic Game Theory and Applications Lecture 5: Introduction to Linear Programming Kousha Etessami real world example : the diet problem You are a fastidious eater. You want to make sure that every

More information

Integer Programming Chapter 15

Integer Programming Chapter 15 Integer Programming Chapter 15 University of Chicago Booth School of Business Kipp Martin November 9, 2016 1 / 101 Outline Key Concepts Problem Formulation Quality Solver Options Epsilon Optimality Preprocessing

More information

15-780: LinearProgramming

15-780: LinearProgramming 15-780: LinearProgramming J. Zico Kolter February 1-3, 2016 1 Outline Introduction Some linear algebra review Linear programming Simplex algorithm Duality and dual simplex 2 Outline Introduction Some linear

More information

Chapter 2. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall 2-1

Chapter 2. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall 2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 2-1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization

More information

Chapter 2 Introduction to Optimization & Linear Programming

Chapter 2 Introduction to Optimization & Linear Programming Chapter 2 - Introduction to Optimization & Linear Programming : S-1 Spreadsheet Modeling and Decision Analysis A Practical Introduction to Business Analytics 8th Edition Ragsdale SOLUTIONS MANUAL Full

More information

2. Linear Programming Problem

2. Linear Programming Problem . Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6

More information

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role Linear Programming RK Jana Lecture Outline Introduction to Linear Programming (LP) Historical Perspective Model Formulation Graphical Solution Method Simplex Method Introduction to LP Continued Today many

More information

January 29, Introduction to optimization and complexity. Outline. Introduction. Problem formulation. Convexity reminder. Optimality Conditions

January 29, Introduction to optimization and complexity. Outline. Introduction. Problem formulation. Convexity reminder. Optimality Conditions Olga Galinina olga.galinina@tut.fi ELT-53656 Network Analysis Dimensioning II Department of Electronics Communications Engineering Tampere University of Technology, Tampere, Finl January 29, 2014 1 2 3

More information

Graphical and Computer Methods

Graphical and Computer Methods Chapter 7 Linear Programming Models: Graphical and Computer Methods Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna 2008 Prentice-Hall, Inc. Introduction Many management

More information

3E4: Modelling Choice. Introduction to nonlinear programming. Announcements

3E4: Modelling Choice. Introduction to nonlinear programming. Announcements 3E4: Modelling Choice Lecture 7 Introduction to nonlinear programming 1 Announcements Solutions to Lecture 4-6 Homework will be available from http://www.eng.cam.ac.uk/~dr241/3e4 Looking ahead to Lecture

More information

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs Computational Integer Programming Lecture 2: Modeling and Formulation Dr. Ted Ralphs Computational MILP Lecture 2 1 Reading for This Lecture N&W Sections I.1.1-I.1.6 Wolsey Chapter 1 CCZ Chapter 2 Computational

More information

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014.

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014. MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables Friday, January 31, 2014. Objectives: Generalize echelon form, and introduce free variables. Material from Section 3.5 starting on page

More information

UNIT-4 Chapter6 Linear Programming

UNIT-4 Chapter6 Linear Programming UNIT-4 Chapter6 Linear Programming Linear Programming 6.1 Introduction Operations Research is a scientific approach to problem solving for executive management. It came into existence in England during

More information

Linear programming Dr. Arturo S. Leon, BSU (Spring 2010)

Linear programming Dr. Arturo S. Leon, BSU (Spring 2010) Linear programming (Adapted from Chapter 13 Supplement, Operations and Management, 5 th edition by Roberta Russell & Bernard W. Taylor, III., Copyright 2006 John Wiley & Sons, Inc. This presentation also

More information

Structured Problems and Algorithms

Structured Problems and Algorithms Integer and quadratic optimization problems Dept. of Engg. and Comp. Sci., Univ. of Cal., Davis Aug. 13, 2010 Table of contents Outline 1 2 3 Benefits of Structured Problems Optimization problems may become

More information

Lecture 1: Introduction

Lecture 1: Introduction EE 227A: Convex Optimization and Applications January 17 Lecture 1: Introduction Lecturer: Anh Pham Reading assignment: Chapter 1 of BV 1. Course outline and organization Course web page: http://www.eecs.berkeley.edu/~elghaoui/teaching/ee227a/

More information

Optimization Models and Applications

Optimization Models and Applications Optimization Models and Applications Martin Takáč ISE 316, Fall 2014, Lecture 1 September 3, 2014 Martin Takáč ISE 316 Fall 2014 1 / 33 Outline Course Information Example of an Optimization Problem Terminology

More information

II. Analysis of Linear Programming Solutions

II. Analysis of Linear Programming Solutions Optimization Methods Draft of August 26, 2005 II. Analysis of Linear Programming Solutions Robert Fourer Department of Industrial Engineering and Management Sciences Northwestern University Evanston, Illinois

More information

FINANCIAL OPTIMIZATION

FINANCIAL OPTIMIZATION FINANCIAL OPTIMIZATION Lecture 1: General Principles and Analytic Optimization Philip H. Dybvig Washington University Saint Louis, Missouri Copyright c Philip H. Dybvig 2008 Choose x R N to minimize f(x)

More information

1 Review Session. 1.1 Lecture 2

1 Review Session. 1.1 Lecture 2 1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions

More information

AM 121: Intro to Optimization Models and Methods

AM 121: Intro to Optimization Models and Methods AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems

More information

February 17, Simplex Method Continued

February 17, Simplex Method Continued 15.053 February 17, 2005 Simplex Method Continued 1 Today s Lecture Review of the simplex algorithm. Formalizing the approach Alternative Optimal Solutions Obtaining an initial bfs Is the simplex algorithm

More information

CSCI 5654 (Linear Programming, Fall 2013) CSCI 5654: Linear Programming. Notes. Lecture-1. August 29, Notes

CSCI 5654 (Linear Programming, Fall 2013) CSCI 5654: Linear Programming. Notes. Lecture-1. August 29, Notes CSCI 5654 (Linear Programming, Fall 2013) Lecture-1 August 29, 2013 Lecture 1 Slide# 1 CSCI 5654: Linear Programming Instructor: Sriram Sankaranarayanan. Meeting times: Tuesday-Thursday, 12:30-1:45 p.m.

More information

Math 273a: Optimization

Math 273a: Optimization Math 273a: Optimization Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 online discussions on piazza.com What is mathematical optimization? Optimization models the goal of solving a problem

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 22: Linear Programming Revisited Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/ School

More information

NONLINEAR. (Hillier & Lieberman Introduction to Operations Research, 8 th edition)

NONLINEAR. (Hillier & Lieberman Introduction to Operations Research, 8 th edition) NONLINEAR PROGRAMMING (Hillier & Lieberman Introduction to Operations Research, 8 th edition) Nonlinear Programming g Linear programming has a fundamental role in OR. In linear programming all its functions

More information

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 1: Introduction to optimization Xiaoqun Zhang Shanghai Jiao Tong University Last updated: September 23, 2017 1.1 Introduction 1. Optimization is an important tool in daily life, business and

More information

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15 Fundamentals of Operations Research Prof. G. Srinivasan Indian Institute of Technology Madras Lecture No. # 15 Transportation Problem - Other Issues Assignment Problem - Introduction In the last lecture

More information

Linear programming: algebra

Linear programming: algebra : algebra CE 377K March 26, 2015 ANNOUNCEMENTS Groups and project topics due soon Announcements Groups and project topics due soon Did everyone get my test email? Announcements REVIEW geometry Review geometry

More information

In Chapters 3 and 4 we introduced linear programming

In Chapters 3 and 4 we introduced linear programming SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,

More information

Integer Linear Programs

Integer Linear Programs Lecture 2: Review, Linear Programming Relaxations Today we will talk about expressing combinatorial problems as mathematical programs, specifically Integer Linear Programs (ILPs). We then see what happens

More information

3E4: Modelling Choice

3E4: Modelling Choice 3E4: Modelling Choice Lecture 6 Goal Programming Multiple Objective Optimisation Portfolio Optimisation Announcements Supervision 2 To be held by the end of next week Present your solutions to all Lecture

More information

Review Solutions, Exam 2, Operations Research

Review Solutions, Exam 2, Operations Research Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To

More information

Simplex Method for LP (II)

Simplex Method for LP (II) Simplex Method for LP (II) Xiaoxi Li Wuhan University Sept. 27, 2017 (week 4) Operations Research (Li, X.) Simplex Method for LP (II) Sept. 27, 2017 (week 4) 1 / 31 Organization of this lecture Contents:

More information

Contents. Set Theory. Functions and its Applications CHAPTER 1 CHAPTER 2. Preface... (v)

Contents. Set Theory. Functions and its Applications CHAPTER 1 CHAPTER 2. Preface... (v) (vii) Preface... (v) CHAPTER 1 Set Theory Definition of Set... 1 Roster, Tabular or Enumeration Form... 1 Set builder Form... 2 Union of Set... 5 Intersection of Sets... 9 Distributive Laws of Unions and

More information

An Introduction to Linear Programming

An Introduction to Linear Programming An Introduction to Linear Programming Linear Programming Problem Problem Formulation A Maximization Problem Graphical Solution Procedure Extreme Points and the Optimal Solution Computer Solutions A Minimization

More information

Dynamic Macroeconomic Theory Notes. David L. Kelly. Department of Economics University of Miami Box Coral Gables, FL

Dynamic Macroeconomic Theory Notes. David L. Kelly. Department of Economics University of Miami Box Coral Gables, FL Dynamic Macroeconomic Theory Notes David L. Kelly Department of Economics University of Miami Box 248126 Coral Gables, FL 33134 dkelly@miami.edu Current Version: Fall 2013/Spring 2013 I Introduction A

More information

Stochastic Programming Math Review and MultiPeriod Models

Stochastic Programming Math Review and MultiPeriod Models IE 495 Lecture 5 Stochastic Programming Math Review and MultiPeriod Models Prof. Jeff Linderoth January 27, 2003 January 27, 2003 Stochastic Programming Lecture 5 Slide 1 Outline Homework questions? I

More information

Lectures 6, 7 and part of 8

Lectures 6, 7 and part of 8 Lectures 6, 7 and part of 8 Uriel Feige April 26, May 3, May 10, 2015 1 Linear programming duality 1.1 The diet problem revisited Recall the diet problem from Lecture 1. There are n foods, m nutrients,

More information

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 Linear Function f: R n R is linear if it can be written as f x = a T x for some a R n Example: f x 1, x 2 =

More information

February 22, Introduction to the Simplex Algorithm

February 22, Introduction to the Simplex Algorithm 15.53 February 22, 27 Introduction to the Simplex Algorithm 1 Quotes for today Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. -- Lao Tzu Give a man

More information

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

3. Duality: What is duality? Why does it matter? Sensitivity through duality. 1 Overview of lecture (10/5/10) 1. Review Simplex Method 2. Sensitivity Analysis: How does solution change as parameters change? How much is the optimal solution effected by changing A, b, or c? How much

More information

Linear Programming: Model Formulation and Graphical Solution

Linear Programming: Model Formulation and Graphical Solution Linear Programming: Model Formulation and Graphical Solution 1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization Model Example

More information

where u is the decision-maker s payoff function over her actions and S is the set of her feasible actions.

where u is the decision-maker s payoff function over her actions and S is the set of her feasible actions. Seminars on Mathematics for Economics and Finance Topic 3: Optimization - interior optima 1 Session: 11-12 Aug 2015 (Thu/Fri) 10:00am 1:00pm I. Optimization: introduction Decision-makers (e.g. consumers,

More information

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions. Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2

More information

March 13, Duality 3

March 13, Duality 3 15.53 March 13, 27 Duality 3 There are concepts much more difficult to grasp than duality in linear programming. -- Jim Orlin The concept [of nonduality], often described in English as "nondualism," is

More information

Math 381 Midterm Practice Problem Solutions

Math 381 Midterm Practice Problem Solutions Math 381 Midterm Practice Problem Solutions Notes: -Many of the exercises below are adapted from Operations Research: Applications and Algorithms by Winston. -I have included a list of topics covered on

More information

Introduction. Very efficient solution procedure: simplex method.

Introduction. Very efficient solution procedure: simplex method. LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid 20th cent. Most common type of applications: allocate limited resources to competing

More information

Ω R n is called the constraint set or feasible set. x 1

Ω R n is called the constraint set or feasible set. x 1 1 Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize subject to f(x) x Ω Ω R n is called the constraint set or feasible set. any point x Ω is called a feasible point We

More information

STATIC LECTURE 4: CONSTRAINED OPTIMIZATION II - KUHN TUCKER THEORY

STATIC LECTURE 4: CONSTRAINED OPTIMIZATION II - KUHN TUCKER THEORY STATIC LECTURE 4: CONSTRAINED OPTIMIZATION II - KUHN TUCKER THEORY UNIVERSITY OF MARYLAND: ECON 600 1. Some Eamples 1 A general problem that arises countless times in economics takes the form: (Verbally):

More information

3/1/2016. Intermediate Microeconomics W3211. Lecture 3: Preferences and Choice. Today s Aims. The Story So Far. A Short Diversion: Proofs

3/1/2016. Intermediate Microeconomics W3211. Lecture 3: Preferences and Choice. Today s Aims. The Story So Far. A Short Diversion: Proofs 1 Intermediate Microeconomics W3211 Lecture 3: Preferences and Choice Introduction Columbia University, Spring 2016 Mark Dean: mark.dean@columbia.edu 2 The Story So Far. 3 Today s Aims 4 So far, we have

More information

Optimization (2MMD10/2DME20), lecture 1b. Gerhard Woeginger. Technische Universiteit Eindhoven

Optimization (2MMD10/2DME20), lecture 1b. Gerhard Woeginger. Technische Universiteit Eindhoven Optimization (2MMD10/2DME20), lecture 1b Gerhard Woeginger Technische Universiteit Eindhoven Fall 2015, Q1 GJ Woeginger Optimization (2MMD10/2DME20), lecture 1b 1/26 Our program for week 1 Tuesday: lots

More information

Algorithmic Game Theory and Applications. Lecture 7: The LP Duality Theorem

Algorithmic Game Theory and Applications. Lecture 7: The LP Duality Theorem Algorithmic Game Theory and Applications Lecture 7: The LP Duality Theorem Kousha Etessami recall LP s in Primal Form 1 Maximize c 1 x 1 + c 2 x 2 +... + c n x n a 1,1 x 1 + a 1,2 x 2 +... + a 1,n x n

More information

Definition: A "system" of equations is a set or collection of equations that you deal with all together at once.

Definition: A system of equations is a set or collection of equations that you deal with all together at once. System of Equations Definition: A "system" of equations is a set or collection of equations that you deal with all together at once. There is both an x and y value that needs to be solved for Systems

More information

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course)

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course) Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course) Faculty of Business Administration M.Sc. English, 2015/16 first semester Topics (1) Complex numbers. Complex

More information

Linear Programming. H. R. Alvarez A., Ph. D. 1

Linear Programming. H. R. Alvarez A., Ph. D. 1 Linear Programming H. R. Alvarez A., Ph. D. 1 Introduction It is a mathematical technique that allows the selection of the best course of action defining a program of feasible actions. The objective of

More information

IOE510/MATH561/OMS518: Linear Programming I

IOE510/MATH561/OMS518: Linear Programming I IOE510/MATH561/OMS518: Linear Programming I Lectures: Mondays and Wednesdays, 9:00-10:30 AM, IOE 1680 Instructor: Prof. Marina A. Epelman GSI: Katharina Ley Office hours: See CTools for most current info

More information

OPRE 6201 : 3. Special Cases

OPRE 6201 : 3. Special Cases OPRE 6201 : 3. Special Cases 1 Initialization: The Big-M Formulation Consider the linear program: Minimize 4x 1 +x 2 3x 1 +x 2 = 3 (1) 4x 1 +3x 2 6 (2) x 1 +2x 2 3 (3) x 1, x 2 0. Notice that there are

More information

The Transform and Conquer Algorithm Design Technique

The Transform and Conquer Algorithm Design Technique The Transform and Conquer Algorithm Design Technique In this part of the course we will look at some simple examples of another general technique for designing algorithms, namely transform and conquer

More information

BBM402-Lecture 20: LP Duality

BBM402-Lecture 20: LP Duality BBM402-Lecture 20: LP Duality Lecturer: Lale Özkahya Resources for the presentation: https://courses.engr.illinois.edu/cs473/fa2016/lectures.html An easy LP? which is compact form for max cx subject to

More information

Modern Logistics & Supply Chain Management

Modern Logistics & Supply Chain Management Modern Logistics & Supply Chain Management As gold which he cannot spend will make no man rich, so knowledge which he cannot apply will make no man wise. Samuel Johnson: The Idler No. 84 Production Mix

More information

Introduction. Formulating LP Problems LEARNING OBJECTIVES. Requirements of a Linear Programming Problem. LP Properties and Assumptions

Introduction. Formulating LP Problems LEARNING OBJECTIVES. Requirements of a Linear Programming Problem. LP Properties and Assumptions Valua%on and pricing (November 5, 2013) LEARNING OBJETIVES Lecture 10 Linear Programming (part 1) Olivier J. de Jong, LL.M., MM., MBA, FD, FFA, AA www.olivierdejong.com 1. Understand the basic assumptions

More information

Multi Objective Optimization

Multi Objective Optimization Multi Objective Optimization Handout November 4, 2011 (A good reference for this material is the book multi-objective optimization by K. Deb) 1 Multiple Objective Optimization So far we have dealt with

More information

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 1 In this section we lean about duality, which is another way to approach linear programming. In particular, we will see: How to define

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 5: The Simplex Algorithm Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/ School of

More information

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

CSC Design and Analysis of Algorithms. LP Shader Electronics Example CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours

More information

Optimization. Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization. General form:

Optimization. Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization. General form: Optimization Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization General form: Min or Max f(x) (1) Subject to g(x) ~ b (2) lo < x < up (3) Some important

More information

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA Gestion de la production Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA 1 Contents 1 Integer Linear Programming 3 1.1 Definitions and notations......................................

More information

24. Nonlinear programming

24. Nonlinear programming CS/ECE/ISyE 524 Introduction to Optimization Spring 2017 18 24. Nonlinear programming ˆ Overview ˆ Example: making tires ˆ Example: largest inscribed polygon ˆ Example: navigation using ranges Laurent

More information

Convex Optimization. Linear Programming Applications. ENSAE: Optimisation 1/40

Convex Optimization. Linear Programming Applications. ENSAE: Optimisation 1/40 Convex Optimization Linear Programming Applications ENSAE: Optimisation 1/40 Today This is the What s the point? lecture... What can be solved using linear programs? Just an introduction... ENSAE: Optimisation

More information

1 The linear algebra of linear programs (March 15 and 22, 2015)

1 The linear algebra of linear programs (March 15 and 22, 2015) 1 The linear algebra of linear programs (March 15 and 22, 2015) Many optimization problems can be formulated as linear programs. The main features of a linear program are the following: Variables are real

More information

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel Solving an optimization problem of a profit calculation taking into account fixed costs in Excel AUTHORS ARTICLE INFO JOURNAL FOUNDER Lyudmyla Malyarets Olesia Iastremska Lyudmyla Malyarets and Olesia

More information

STEP Support Programme. Hints and Partial Solutions for Assignment 1

STEP Support Programme. Hints and Partial Solutions for Assignment 1 STEP Support Programme Hints and Partial Solutions for Assignment 1 Warm-up 1 You can check many of your answers to this question by using Wolfram Alpha. Only use this as a check though and if your answer

More information

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3.

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3. M340(92) Solutions Problem Set 6 (c) 203, Philip D Loewen. (a) If each pig is fed y kilograms of corn, y 2 kilos of tankage, and y 3 kilos of alfalfa, the cost per pig is g = 35y + 30y 2 + 25y 3. The nutritional

More information

An analogy from Calculus: limits

An analogy from Calculus: limits COMP 250 Fall 2018 35 - big O Nov. 30, 2018 We have seen several algorithms in the course, and we have loosely characterized their runtimes in terms of the size n of the input. We say that the algorithm

More information

Linear Programming and Marginal Analysis

Linear Programming and Marginal Analysis 337 22 Linear Programming and Marginal Analysis This chapter provides a basic overview of linear programming, and discusses its relationship to the maximization and minimization techniques used for the

More information

LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION

LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION Name: LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION In general, a mathematical model is either deterministic or probabilistic. For example, the models and algorithms shown in the Graph-Optimization

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 2 First Group of Students) Students with first letter of surnames A H Due: February 21, 2013 Problem Set Rules: 1. Each student

More information

Slide 1 Math 1520, Lecture 10

Slide 1 Math 1520, Lecture 10 Slide 1 Math 1520, Lecture 10 In this lecture, we study the simplex method which is a powerful method for solving maximization/minimization problems developed in the late 1940 s. It has been implemented

More information

Michælmas 2012 Operations Research III/IV 1

Michælmas 2012 Operations Research III/IV 1 Michælmas 2012 Operations Research III/IV 1 An inventory example A company makes windsurfing boards and has orders for 40, 60, 75 and 25 boards respectively over the next four production quarters. All

More information

2.098/6.255/ Optimization Methods Practice True/False Questions

2.098/6.255/ Optimization Methods Practice True/False Questions 2.098/6.255/15.093 Optimization Methods Practice True/False Questions December 11, 2009 Part I For each one of the statements below, state whether it is true or false. Include a 1-3 line supporting sentence

More information

Economics 101A (Lecture 3) Stefano DellaVigna

Economics 101A (Lecture 3) Stefano DellaVigna Economics 101A (Lecture 3) Stefano DellaVigna January 24, 2017 Outline 1. Implicit Function Theorem 2. Envelope Theorem 3. Convexity and concavity 4. Constrained Maximization 1 Implicit function theorem

More information

Introduction to Operations Research Prof G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Introduction to Operations Research Prof G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Introduction to Operations Research Prof G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module 01 Linear Programming Introduction and formulations Lecture - 01 Product

More information

The Simplex Method of Linear Programming

The Simplex Method of Linear Programming The Simplex Method of Linear Programming Online Tutorial 3 Tutorial Outline CONVERTING THE CONSTRAINTS TO EQUATIONS SETTING UP THE FIRST SIMPLEX TABLEAU SIMPLEX SOLUTION PROCEDURES SUMMARY OF SIMPLEX STEPS

More information