Introduction to Operations Research

Similar documents
Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

ISE203 Optimization 1 Linear Models. Dr. Arslan Örnek Chapter 4 Solving LP problems: The Simplex Method SIMPLEX

Linear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25

Read: H&L chapters 1-6

Mathematical and Algorithmic Foundations Linear Programming and Matchings

5 The Theory of the Simplex Method

Lesson 17. Geometry and Algebra of Corner Points

Linear programming II João Carlos Lourenço

Section Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

Lecture 9: Linear Programming

AM 121: Intro to Optimization Models and Methods Fall 2017

CSE 40/60236 Sam Bailey

4.1 The original problem and the optimal tableau

Advanced Operations Research Techniques IE316. Quiz 2 Review. Dr. Ted Ralphs

OPERATIONS RESEARCH. Linear Programming Problem

R n a T i x = b i} is a Hyperplane.

NATCOR Convex Optimization Linear Programming 1

Linear Programming. Larry Blume. Cornell University & The Santa Fe Institute & IHS

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method

Chapter 1 Linear Programming. Paragraph 4 The Simplex Algorithm

Linear Programming. Course review MS-E2140. v. 1.1

3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs

Lecture Notes 2: The Simplex Algorithm

IE 5531: Engineering Optimization I

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

Some Advanced Topics in Linear Programming

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

MA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:

The Simplex Algorithm

The Simplex Algorithm. Chapter 5. Decision Procedures. An Algorithmic Point of View. Revision 1.0

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Duality. Primal program P: Maximize n. Dual program D: Minimize m. j=1 c jx j subject to n. j=1. i=1 b iy i subject to m. i=1

Section Notes 4. Duality, Sensitivity, and the Dual Simplex Algorithm. Applied Math / Engineering Sciences 121. Week of October 8, 2018

Marginal and Sensitivity Analyses

Part 1. The Review of Linear Programming The Revised Simplex Method

Other Algorithms for Linear Programming Chapter 7

Solutions for Operations Research Final Exam

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

Chap5 The Theory of the Simplex Method

COLUMN GENERATION IN LINEAR PROGRAMMING

Mathematical Programming and Research Methods (Part II)

11 Linear Programming

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

16.410/413 Principles of Autonomy and Decision Making

Chapter II. Linear Programming

An iteration of the simplex method (a pivot )

3 INTEGER LINEAR PROGRAMMING

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

The simplex method and the diameter of a 0-1 polytope

maximize c, x subject to Ax b,

5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY

4.1 Graphical solution of a linear program and standard form

EC 521 MATHEMATICAL METHODS FOR ECONOMICS. Lecture 2: Convex Sets

Lecture 3: Totally Unimodularity and Network Flows

Numerical Optimization

ORIE 6300 Mathematical Programming I September 2, Lecture 3

Linear Programming Problems

Decision Aid Methodologies In Transportation Lecture 1: Polyhedra and Simplex method

Introductory Operations Research

Finite Math Linear Programming 1 May / 7

College of Computer & Information Science Fall 2007 Northeastern University 14 September 2007

Discrete Optimization. Lecture Notes 2

Conic Duality. yyye

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi

THE simplex algorithm [1] has been popularly used

6.854 Advanced Algorithms. Scribes: Jay Kumar Sundararajan. Duality

VARIANTS OF THE SIMPLEX METHOD

Introduction to Modern Control Systems

Linear programming and duality theory

Integer Programming Theory

The Simplex Algorithm

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

Lecture 4: Rational IPs, Polyhedron, Decomposition Theorem

5.3 Cutting plane methods and Gomory fractional cuts

Chapter 15 Introduction to Linear Programming

Module 10. Network Simplex Method:

Lecture 10,11: General Matching Polytope, Maximum Flow. 1 Perfect Matching and Matching Polytope on General Graphs

Notes for Lecture 20

1 Linear Programming. 1.1 Optimizion problems and convex polytopes 1 LINEAR PROGRAMMING

Controlling Air Pollution. A quick review. Reclaiming Solid Wastes. Chapter 4 The Simplex Method. Solving the Bake Sale problem. How to move?

An example of LP problem: Political Elections

Lecture 5: Duality Theory

Lecture 4: Linear Programming

REGULAR GRAPHS OF GIVEN GIRTH. Contents

CS6841: Advanced Algorithms IIT Madras, Spring 2016 Lecture #1: Properties of LP Optimal Solutions + Machine Scheduling February 24, 2016

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix.

Graphs that have the feasible bases of a given linear

LECTURES 3 and 4: Flows and Matchings

Chapter 4: The Mechanics of the Simplex Method

Lecture 2 - Introduction to Polytopes

In this chapter we introduce some of the basic concepts that will be useful for the study of integer programming problems.

Structured System Theory

Linear Equations in Linear Algebra

Real life Problem. Review

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh

Transcription:

- Introduction to Operations Research Peng Zhang April, 5 School of Computer Science and Technology, Shandong University, Ji nan 5, China. Email: algzhang@sdu.edu.cn.

Introduction

Overview of the Operations Research Modeling Approach

Introduction to Linear Programming

4 Solving Linear Programming Problems: The Simplex Method 4

5 The Theory of the Simplex Method 5

5-5. FOUNDATIONS OF THE SIMPLEX METHOD Properties of CPF Solutions Property : (a) If there is exactly one optimal solution, then it must be a CPF solution. (b) If there are multiple optimal solutions (and a bounded feasible region), then at least two must be adjacent CPF solutions. Property : There are only a finite number of CPF solutions. Suppose in the standard form of an LP there are m functional constraints and n variable constraints. Each CPF solution is the simultaneous solution of a system of n out

5- of the m + n constraint boundary equations. So, the number of different combinations of m + n equations taken n at a time is ( ) m + n (m + n)! =. n m!n! Property : Suppose the problem possesses at least one optimal solution. If a CPF solution has no adjacent CPF solutions that are better (as measured by Z), then there are no better CPF solutions anywhere. Therefore, such a CPF solution is guaranteed to be an optimal solution. set. This property holds since the feasible region of any LP is a convex Definition. Suppose S R n is a set of vectors in n dimensional Euclidean space. If for any x S, y S, and any λ,, it always

5- holds λx + ( λ)y S, then S is a convex set. Theorem. The feasible region D = {x R n Ax = b, x } of an LP is a convex set. Proof. Let x, y be any two vectors in D, and λ be any number in,. Define w = λx + ( λ)y. We need only to prove w D. Since x, y, and λ, we know w. Since Ax = b, Ay = b, for w we have Aw = λax + ( λ)ay = λb + ( λ)b = b, concluding the theorem.

5-4 By the above theorem, the following feasible region would never occur for any LP.

5-5 Extensions to the Augmented Form of the Problem Suppose the augmented form of an LP is as follows. max c x + c x + + c n x n s.t. a x + a x + + a n x n + x n+ = b a x + a x + + a n x n + x n+ = b a m x + a m x + + a mn x n + x n+m = b m x j, j We have the following facts for this form. Each basic solution has m basic variables, and the rest of the variables are nonbasic variables set equal to zero.

5-6 After the nonbasic variables are set to zero, the values of the basic variables are given by the simultaneous solution of the system of m equations for the problem, This basic solution is the augmented CP solution whose n defining equations are those indicated by the nonbasic variables.

5-7 5. THE SIMPLEX METHOD IN MATRIX FORM Suppose the problem in the augmented form (as well as the artificial form) is max s.t. c T x Ax = b x In the Simplex method, the system is expressed as ct Z =. A x b Fix a bfs. Denote by B the submatrix of A consisting of the columns corresponding the basic variables, called the basic matrix.

5-8 We interchangeably use the terms basic matrix and basis, since they are one-to-one corresponding. When the basic matrix is determined, the system can be expressed as ct N ct B N B Z x N x B = b. In the Simplex method, the system is in the proper form from Gaussian elimination. This is obtained by a series of elementary row operations on the simplex tableau, which is equivalent to premultiply the both sides of the above equation by ct B B : B

5-9 ct B B N c T N B N I Let A = B A = ζ T = = = Z x N x B = ct B B b B b B N I, b = B b, and c T B B N c T N c T B B N c T N ct B B B c T B c T B B N c T B B B c T. = c T BB A c T. So, the system in simplex tableau can be expressed as ζt Z = ct B b. A x b

5- The simplex tableau is thus b.v. x rhs Z ζ T c T B b x B A b The Simplex Algorithm Input: An augmented form (as well as artificial form) of the problem. Choose the initial basic matrix, getting the initial tableau and the initial bfs. while the current bfs is not optimal do Determine the entering basic variable x j by selecting the column with ζ j < having the largest ζ j. 4 Determine the leaving basic variable x i by applying the minimum

5- { } ratio test: i = arg min bi ā ij ā ij >. If A j, then the problem is unbounded and the algorithm exits. 5 Solve for the new bfs by using elementary row operations. 6 endwhile 7 return the current bfs as an optimal solution. When starting the Simplex method, the prepared simplex tableau is b.v. x rhs Z c T A b Once we determine the basic matrix, we can convert the prepared tableau into the initial tableau by using elementary row operations.

5- Example. The solving procedure of Simplex on the Wyndor Glass problem interpreted by the matrix form. max x + 5x s.t. x 4 x x + x 8 x j, j

5- Solution. The augmented form of the problem. max x + 5x s.t. x + x = 4 x + x 4 = x + x + x 5 = 8 x j, j Obtain the augmented form, getting the initial simplex tableau.

5-4 b.v. Z x x x x 4 x 5 rhs Z 5 x 4 x 4 B = x B = x 5 8 A A 4 A 5 = x x 4 x 5 = b, ct B = A = B A = A, b = B b = b., B =..

5-5 ζ T = c T B B A c T = c T = c T, Z = c T B B b =. b.v. Z x x x x 4 x 5 rhs B = x B = Z 5 x 4 x 6 x 5 6 A A A 5 = x x x 5 = b, ct B = 5, B =..

5-6 A = B A = b = B b = 4 4 = 6. 8 6 =,

5-7 ζ T = c T BB A c T = = = Z = c T B b = 5 5 5 5 5 5 5, 4 6 6 =.

5-8 b.v. Z x x x x 4 x 5 rhs B = x B = Z 6 x x 6 x A A A = x x x = b, ct B = 5, B =..

5-9 A = B A = b = B b = 4 = 6. 8 =,

5- ζ T = c T BB A c T = = = Z = c T B b = 5 5 5, 5 6 = 6. 5