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

Similar documents
Part III: A Simplex pivot

Slide 1 Math 1520, Lecture 10

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods

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

MATH 445/545 Test 1 Spring 2016

Summary of the simplex method

4.3 Minimizing & Mixed Constraints

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

Linear Programming, Lecture 4

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

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

15-780: LinearProgramming

IE 5531: Engineering Optimization I

TIM 206 Lecture 3: The Simplex Method

Optimization (168) Lecture 7-8-9

AM 121: Intro to Optimization

4.4 The Simplex Method and the Standard Minimization Problem

Introduction to the Simplex Algorithm Active Learning Module 3

Answer the following questions: Q1: Choose the correct answer ( 20 Points ):

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

The augmented form of this LP is the following linear system of equations:

Going from graphic solutions to algebraic

1 Review Session. 1.1 Lecture 2

Professor Alan H. Stein October 31, 2007

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

Water Resources Systems: Modeling Techniques and Analysis

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

CS Algorithms and Complexity

Michælmas 2012 Operations Research III/IV 1

Review Solutions, Exam 2, Operations Research

Lesson 27 Linear Programming; The Simplex Method

Math Models of OR: Some Definitions

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

Simplex Method for LP (II)

Optimisation and Operations Research

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

1 Overview. 2 Extreme Points. AM 221: Advanced Optimization Spring 2016

36106 Managerial Decision Modeling Linear Decision Models: Part II

ORF 523 Final Exam, Spring 2016

MA 162: Finite Mathematics - Section 3.3/4.1

Understanding the Simplex algorithm. Standard Optimization Problems.

Notes on Simplex Algorithm

Section 4.1 Solving Systems of Linear Inequalities

In Chapters 3 and 4 we introduced linear programming

2 3 x = 6 4. (x 1) 6

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

CPS 616 ITERATIVE IMPROVEMENTS 10-1

Simplex Method in different guises

Motivating examples Introduction to algorithms Simplex algorithm. On a particular example General algorithm. Duality An application to game theory

Introduction to optimization

Notes taken by Graham Taylor. January 22, 2005

IE 400: Principles of Engineering Management. Simplex Method Continued

3 The Simplex Method. 3.1 Basic Solutions

Optimization Methods in Management Science

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

CO 250 Final Exam Guide

IE 5531 Midterm #2 Solutions

Topic: Primal-Dual Algorithms Date: We finished our discussion of randomized rounding and began talking about LP Duality.

Linear Programming Duality

The Simplex Algorithm and Goal Programming

ORF 522. Linear Programming and Convex Analysis

Operations Research Lecture 2: Linear Programming Simplex Method

Math 354 Summer 2004 Solutions to review problems for Midterm #1

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

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

CHAPTER 2. The Simplex Method

The Simplex Algorithm

Lecture 2: The Simplex method

The simplex algorithm

Lecture 11: Post-Optimal Analysis. September 23, 2009

MATH 445/545 Homework 2: Due March 3rd, 2016

Linear Programming: Simplex

The Simplex Algorithm: Technicalities 1

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

Optimization 4. GAME THEORY

OPRE 6201 : 3. Special Cases

Advanced Mathematical Programming IE417. Lecture 24. Dr. Ted Ralphs

An introductory example

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0.

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

IE 5531: Engineering Optimization I

Chapter 1 Linear Programming. Paragraph 5 Duality

February 22, Introduction to the Simplex Algorithm

Summary of the simplex method

The Simplex Method: An Example

"SYMMETRIC" PRIMAL-DUAL PAIR

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Lecture slides by Kevin Wayne

MA 0090 Section 21 - Slope-Intercept Wednesday, October 31, Objectives: Review the slope of the graph of an equation in slope-intercept form.

Finite Mathematics : A Business Approach

Chap6 Duality Theory and Sensitivity Analysis

AM 121: Intro to Optimization Models and Methods

Linear Programming: Simplex Method CHAPTER The Simplex Tableau; Pivoting

Chapter 5 Linear Programming (LP)

The Avis-Kalunzy Algorithm is designed to find a basic feasible solution (BFS) of a given set of constraints. Its input: A R m n and b R m such that

III. Linear Programming

Math Models of OR: Handling Upper Bounds in Simplex

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

Transcription:

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 General optimization problem: p 3

Linear Programming General linear programming problem: 4

Linear Programming Graphical solutions Limited to two or three dimensions Graph the constraints to determine feasible solution space and then map the objective function on to this space 5

Linear Programming Example: 6

Linear Programming 7

Linear Programming 8

Linear Programming Solution at x 1 = 44/9, x 2 = 35/9 Constraints 1 and 2 are binding Constraint 3 is redundant Constraints 4, 5, and 6 are nonbinding 9

Linear Programming Possible outcomes Unique solution Alternate solutions Possible if objective function is parallel to one of the constraints No feasible solution Problem is over-constrained Unbounded problems Problem is under-constrained 10

Possible outcomes Alternate solutions 11

Possible outcomes No feasible solution 12

Possible outcomes Unbounded problems 13

Extreme points Unique solutions occur at the extreme convex corner points of the feasible solution space The extreme points occur at the intersection of various constraints Since the optimal solution occurs just at the extreme point, we can simplify our search by just looking at extreme points Not every extreme point is feasible 14

Transform problem into normal form - i.e. only equality constraints and nonnegativity constraints for all decision variables Add slack variables The slack variables must be positive if the constraints are to be met 15

We have more unknowns than equations, so we can t use the linear algebraic methods we used before In general, there are m equations (not counting non-negativity constraints) and n unknowns We re looking for the extreme points In the m equality constraints, set n-m variables to zero, and then solve the m equation, m unknown linear system Problem is that you don t know which of the n-m variables to set to zero 16

You could try all the possibilities, but that can get out of hand as n and m get large There are possibilities Many of those choices may not even give you feasible extreme points The Simplex Method offers a more efficient way to quickly identify the feasible extreme points 17

Start by setting n-m of the variables to zero. An obvious starting point is the original nonslack variables 18

Keep a table that summarizes and tracks all the variables Objective function Constraint functions 19

First step is to take our initial starting point and increase one of the variables so that it is non-zero Pick the variable that is going to increase the Z objective the most This column will have the largest positive entry in the Z row. Increase that variable until one of the other values goes negative 20

Look at the entry at the intersection of the row and the column we chose above. This is called the pivot element If it is negative, increasing the chosen variable will only make the row basic variable bigger, so it is not restrictive If it is positive, increasing the chosen variable will make row variable smaller, so it is restrictive Divide the constant in the row by the pivot element and that will tell you how much you increase the variable before you hit a constraint restriction Choose the smallest of these values as your pivot element 21

Numerical Methods Fall 2010 Lecture 11 22 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 23 Prof. Lei Wang ECE, UConn

-11 Numerical Methods Fall 2010 Lecture 11 24 Prof. Lei Wang ECE, UConn

-11 Numerical Methods Fall 2010 Lecture 11 25 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 26 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 27 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 28 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 29 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 30 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 31 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 32 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 33 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 34 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 35 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 36 Prof. Lei Wang ECE, UConn

Numerical Methods Fall 2010 Lecture 11 37 Prof. Lei Wang ECE, UConn

38

39

40

Linear Programming Simplex Method is the best known algorithm for linear programming problems Can be exponential in the worst case but in practice, is usually polynomial Special cases of linear programming may have faster algorithms 41

Next class Numerical Integration Read Chapter PT6 and 21 42