CHAPTER 3 REVISED SIMPLEX METHOD AND DATA STRUCTURES

Size: px
Start display at page:

Download "CHAPTER 3 REVISED SIMPLEX METHOD AND DATA STRUCTURES"

Transcription

1 46 CHAPTER 3 REVISED SIMPLEX METHOD AND DATA STRUCTURES 3.1 INTRODUCTION While solving a linear programming problem, a systematic search is made to find a non-negative vector X which extremizes a linear objective function n Z = E c.x. (3.1) j=1 3 3 such that it satisfies a set of linear constraints of the form E a.,x. ^ b.; i = 1,2,... m; x. >0; (3.2) j =1 il 1 > i j ~ The parameter c. is the contribution/cost coefficient associated with unit output of the activity x.. The b^'s are the limited available resources in the form of men, money, machine and material. The problem is to find that vector X which satisfies the relationships (3.2) and extremizes the linear objective function(3.1). To find a solution to the above problem, revised simplex method can be used. The revised simplex method uses the same basic principles of the regular simplex method. But at each iteration, the entries in the entire tableau are not calculated. The relevant information for moving from one basic feasible solution to another is directly generated from the original set of equations.

2 REVISED SIMPLEX PROCEDURE The revised simplex method saves both storage and computational time compared to the simplex method. Unlike the original simplex method, only the inverse of the current basis is maintained to generate the next inverse. All other quantities except are computed from their definitions as and when necessary. Eventhough X can be computed from its B definition, it is more economical to transform it at each stage. When we have to determine the reduced cost coefficients, we simply determine C B P. B 3 c, 3 If all (z, - c.) > 0, 3 3 then optimal solution is obtained Detailed algorithm Again taking the standard LP model Extremize Z = C X Subject to A X P ; X > 0 J < 0 ~ (3.3) Where "11 12 In a a n A (m x n) a a.. ml m2 mn

3 48 b 1 X 1 b 2 X 2 1) b. l X (n x 1) X. 3 b m X n C = (c v 1, c 2'... c... j' c n' ) (1 x n) Let the columns corresponding to the matrix A be 2 ' 3' n 11 a m 21 a 2n il ml c i a. m a mn Let the vector X be partitioned as X (n x 1) B X. N Where X corresponds to the basic variables and X B N to the non-basic variables.

4 49 The revised simplex procedure solves repeatedly a set of linear algebraic equations of the form BX = P B 0 (3.4) and finds the value of the objective function c X B B (3.5) 0 The set of equations (3.4) and (3.5) may be put in matrix notation as 1 -CB Z r *1 0 0 B _V _po_ (3.6) Let M = -C B 0 B Rewriting the equation (3.6) as z 0 P _ B_ 0 The solution vector in terms of the matrix M is (3.7)

5 50 M nonsingular. Hence exists if and only if the basis matrix B is M 1 cbb B (3.8) The solution vector is given by C B B B B CB B 0 (3.9) B P. 0 The solution is based mainly in identifying B for the current iteration. The basis matrix B is different from the previous or succeeding basis matrix by only one column and so is the M matrix. Let the matrices M and M correspond to the c n current and next iterations of the revised simplex procedure. The M may be obtained from M using linear algebra n c and this eliminates the computation for direct inversion. The procedure for determining M from M is n c summarized below. Let the identity matrix I m+1 be represented as m+1 (e, e,... e.,.. e ) v 1 2 i m+l'

6 51 where e. is a unit vector with a unit element at the ith 1 place and the rest zero. Let x. and x be the entering and. 3 r, leaving variables at the start of any iteration. The can then be computed using the relationship -l M = E M (3.10) n 0 c K ' where the transformation matrix E has m unit vectors and 0 only one nonunit vector corresponding to the entering variable 0 0 r-» O O Ij v orj -V ar j 1 a. rj 1/ a. rj 0 0 a mj -l/«. n leaving vector entering vector multiplier where 0j 2. - C. 3 3 and a.. = B i=l, 2,...m The entering vector is multiplied by the multiplier to generate the non-unit column (n ) of the Eq matrix

7 52 -a /a Oj rj _ a /a lj rj + 1 / a. n - a / a mj rj The E matrix now formed as 0 E = (e, e. e....e,n,.. e,) 0 v r m+1 where e, e,..e,.. e are all unit vectors and n 1 2 r m+1 _! alone is the non unit vector. Thus the M is constructed, n using M and the transformation matrix E. c 0 The various steps involved in the revised simplex procedure are as follows: Step 1 Determination of the entering vector PJ (z. - c.) = C B_1 P. - c. = (1, C B) r~-c. 3 J B j j ' B 1 D (3.11) The most promising Otherwise, if all (z, - c.) > is attained. vector enters the basis. 0, then the optimal solution

8 53 Step 2; Determination of the leaving vector P. When the entering vector is P. and the current basis matrix is B, 1 c the leaving vector must correspond to 0 mm k kj a kj > where a,. *3 B 1 P. and c j k = 1,2,... n solution. If all o^_. < 0 then the problem has no bounded Step 3: Determination of the next basic solution. The E. matrix is constructed as explained above and the M is n computed by using (3.10) and the solution vector is defined by (3.7). Thus B is expressed as a function of B n c and the processing is returned to step 1. is reached. This procedure is repeated until the optimal solution 3.3 DATA STRUCTURE IN REVISED SIMPLEX Usually large scale real life linear programming problems are of high sparsity in nature. If the constraint coefficient matrix is represented by sequential mapping then it consumes lot of additional memory for storing zero entries. Again checks were made for zero/nonzero entries before every multiplication or division operation which consumed additional machine time. Hence Revised simplex algorithm which was described earlier, exploits the concept

9 54 of Data structure using linked list to represent the matrices which are involved in this algorithm. The different types of representation of matrices depending on their usage is described in chapter 2. Revised simplex algorithm employs the following matrices: i. Constraint coefficient matrix A ii. M inverse matrix and iii. The transformation matrix Eo. Depending on the usage of the matrices, they are represented in different manner Representation of A Matrix This matrix is used for the following purposes: i. Determination of z. 3 n. To find B P. where 3 c. vector 3 n. The constraint coefficient matrix is split up into n column vectors as P, P,... P. Then the vectors 1 2 n corresponding to the promising variables are used for post multiplication. Since A matrix is always used for post multiplication it is represented using columnwise circularly linked list as explained in Chapter Representation of M Matrix M matrix is used for the following purposes: i. Determination of inverse matrix z, 3 c_. using first row of M

10 55 ii. To find B 1 P. and 3. *.. in. To update the new M matrix using the relationship M n E M 0 c In the cases (i) and (ii) this matrix is used for premultiplication and in case (iii) it is used for postmultiplication. Hence the M matrix is represented using Multiply linked list Representation of the Transformation Matrix Eo Since the transformation matrix contains all unit vectors except n vector it is not represented physically. Only the nonunit vector n is represented using an array. 3.4 NUMERICAL EXAMPLE Max Z = x + 3x 1 2 Subject to x <5 1 x + 2x <10 1 2

11 56 The constraint coefficient matrix A is given by P 1 P A in Figure 3.1. The column wise representation of A matrix is shown M matrix is given by 10 0 M Multiply linked list representation of M is shown in Figure 3.2. matrix The M matrix has m + 1 rowwise circular lists and m columnwise circular lists. For the first column of M matrix circular list representation is not necessary since all the elements in that column are always zero except the first entry (it has the value 1 only). To start with, the first row has no nonzero entries since initially Cg B = 0. Hence the right pointer of the first row head node points to itself.

12 HN:Head Node RN: Row Number VAL: Value of the element DLINK: Pointer Figure 3.1 Columnwise circulary linked list

13 58 HN: Head Node RN : Row Number CN: Column NUmber VAL: Value of the element RLINK/OLINK; Pointers Figure 3.2 Multiply linked list

14 59 Iteration 1: SteD 1: fz. - c. 1 = r -31 D D z - c is the most negative and hence x is the most promising variable. 0 5 B P = 2 BP S. 3 the minimum ratio test the leavi old ^ new The M 1 is updated using the relationship M next EM 0 current In order to reduce the number of computations in the above matrix multiplication, the following procedure is adopted, instead of forming the EQ matrix and performing the matrix multiplication, the q vector is used as described below. While entering the q vector in a particular column, it is to be verified whether any other column has already

15 61 HN: Head Node RN: Row Number CN: Column Number UAL: Value of the element RLINK/DLINK: Pointers Figure 3.3 multiply linked list

16 62 Iteration 2: Step.. 1: z.. - c.. = ( 0) z^ - is having negative value, i.e., x^ is the promising variable to enter the basis. 1 B P B Po variable. Using the minimum ratio test, s is the leaving ' fi 1 new The new M 1 matrix is updated using the relationship (3.12) and the M matrix and the multiply linked list representation is shown in Figure M

17 63 HN: Haad Node RN: Row Number CN: Column Number UAL: Value of the element RIINK/OIINK: Pointers Figure 3.4 Multiply linked list

18 64 Iteration 3: Step 1: z. - c. 3 3 (0 0) There are no more promising variables and therefore optimal solution is obtained. Thus the solution is given by z 0 = M X P B_ 0 14 x. 3.5 COMPARISON OF REVISED SIMPLEX AND REVISED SIMPLEX WITH DATA STRUCTURE Algorithms, in general, may have different computational efficiencies. Comparisons based on the time taken for a few typical problems are furnished in Table 3.1. One of the drawbacks of the ordinary simplex procedure is that it occupies lot of memory to store zero entries in the constraint coefficient matrix and M matrix. Again each and everytime whenever a multiply/divide operation is done, all entries are accessed and it has to be checked whether it is zero or not.

19 65 COMPARISON OF REVISED SIMPLEX WITH REVISED SIMPLEX USING DATA STRUCTURE CONCEPT CD oo co u u C -r4 r'»r'-oem<nco'3-<tcnin>n (0 CO 00 00<3'CT'CJ'CT'CJ'Cr>O'CJ\CV O h t-> «CD & CL. CO 05 T3 X CO TJ CD 0) Q o <f ocn io m n co is h C (A r i loncmvj(j.-ot4irioocnco O (Xtfi o > e -u H H CM C4 t^l CM in VO O 00 lo 0) O-H-H t-4 t 1 t-4 CO st ^ CO C*J CO 5 CM t-4 c H T3 X HsfNinOinnNininH CD CD CD cmcnisonoicncnnocm 6 I0H *H *rl CU cmfnnno'no'ioomio -«> S mionionn CD -rl m th Ce3 CO 1 4 C0 0) O M C 0) O looorlooocoiohon O 4 -H HNC0 4tmOHrt«lO^ 2HD rlhrl CM i-i O 4J 4 0) C O CtI 2 O «O I- rsvohiohvohcm<n40' i-irhcmcmroinvovo-sj-kvo O -r4 <D U r-4 HOOrlOOOfONNH O COO miooicminocnconcmvo 2 > co WHncOMCOlJiN O 2 HCMm-}mcOI^OO<7'OH t-4 t-4 CO

20 66 made: From this comparison the following inferences are i. If the sparsity of the constraint matrix is high, then the computational savings in the revised simplex using data structure concept are proportional to the size of the problems due to the following reasons: a. Memory requirement is considerably small for storing the constraint coefficient matrix and inverse matrix. b. Unnecessary checking of zero/nonzero entries for every multiply/divide operation is avoided. ii. If the sparsity of the constraint matrix is low, then the savings for all the different type of problems are marginal and that too due to the nature of the M matrix, i.e. to start with the M matrix will have only (m + 1) nonzero entries instead of (m +1) x (m +1) entries. Then each time when a promising variable is entered the M matrix is filled with nonzero entries. Graphs connecting the number of resource constraints and the time required to solve the linear programming problems listed in Table 3.1 by the revised simplex and the revised simplex with data structure concepts are shown in Figure 3.5. It may be observed from the graphs drawn using the computer results that the slope of the curve for the simplex algorithm is steeper than that of the simplex with data structure for any range of constraints. This shows that for a given problem, the computing time required per constraint of the simplex algorithm with data structure is less than that of the simplex algorithm.

21 67 No. of Constraints -- R.S R.S.D.S Comparison of Revised Simplex, with and without Data Structure Q U 3 00 r4 u< o o oco o ocn o o spuocas u auitl

22 CONCLUSION In this chapter different type of data structure concepts are involved for representing matrices. Revised simplex algorithm is compared with the Revised simplex algorithm using data structure concepts. It has been observed that the Revised simplex using data structure concept is always better compared with the original Revised simplex method for any type of problems. In the next chapter Multiplex and Dual Multiplex algorithms using data structure concepts are discussed.

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem Column Generation: Cutting Stock A very applied method thst@man.dtu.dk Outline History The Simplex algorithm (re-visited) Column Generation as an extension of the Simplex algorithm A simple example! DTU-Management

More information

Column Generation: Cutting Stock

Column Generation: Cutting Stock Column Generation: Cutting Stock A very applied method thst@man.dtu.dk DTU-Management Technical University of Denmark 1 Outline History The Simplex algorithm (re-visited) Column Generation as an extension

More information

NATCOR Convex Optimization Linear Programming 1

NATCOR Convex Optimization Linear Programming 1 NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 5 June 2018 What is linear programming (LP)? The most important model used in

More information

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

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 14 June 2016 What is linear programming (LP)? The most important model used in

More information

Generalized Network Flow Programming

Generalized Network Flow Programming Appendix C Page Generalized Network Flow Programming This chapter adapts the bounded variable primal simplex method to the generalized minimum cost flow problem. Generalized networks are far more useful

More information

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

Part 1. The Review of Linear Programming The Revised Simplex Method In the name of God Part 1. The Review of Linear Programming 1.4. Spring 2010 Instructor: Dr. Masoud Yaghini Introduction Outline in Tableau Format Comparison Between the Simplex and the Revised Simplex

More information

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

Introduction. Linear because it requires linear functions. Programming as synonymous of planning. 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

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm In the name of God Part 4. 4.1. Dantzig-Wolf Decomposition Algorithm Spring 2010 Instructor: Dr. Masoud Yaghini Introduction Introduction Real world linear programs having thousands of rows and columns.

More information

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

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini DM545 Linear and Integer Programming Lecture 2 The Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 4. Standard Form Basic Feasible Solutions

More information

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

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way. University of Southern California Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research - Deterministic Models Fall

More information

VARIANTS OF THE SIMPLEX METHOD

VARIANTS OF THE SIMPLEX METHOD C H A P T E R 6 VARIANTS OF THE SIMPLEX METHOD By a variant of the Simplex Method (in this chapter) we mean an algorithm consisting of a sequence of pivot steps in the primal system using alternative rules

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 - 03 Tabular form (Minimization) In this

More information

OPERATIONS RESEARCH. Linear Programming Problem

OPERATIONS RESEARCH. Linear Programming Problem OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com 1.0 Introduction Linear programming

More information

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016 Simulation Lecture O Optimization: Linear Programming Saeed Bastani April 06 Outline of the course Linear Programming ( lecture) Integer Programming ( lecture) Heuristics and Metaheursitics (3 lectures)

More information

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

Math 414 Lecture 30. The greedy algorithm provides the initial transportation matrix. Math Lecture The greedy algorithm provides the initial transportation matrix. matrix P P Demand W ª «2 ª2 «W ª «W ª «ª «ª «Supply The circled x ij s are the initial basic variables. Erase all other values

More information

Linear Programming Terminology

Linear Programming Terminology Linear Programming Terminology The carpenter problem is an example of a linear program. T and B (the number of tables and bookcases to produce weekly) are decision variables. The profit function is an

More information

Some Advanced Topics in Linear Programming

Some Advanced Topics in Linear Programming Some Advanced Topics in Linear Programming Matthew J. Saltzman July 2, 995 Connections with Algebra and Geometry In this section, we will explore how some of the ideas in linear programming, duality theory,

More information

5 The Theory of the Simplex Method

5 The Theory of the Simplex Method 5 The Theory of the Simplex Method Chapter 4 introduced the basic mechanics of the simplex method. Now we shall delve a little more deeply into this algorithm by examining some of its underlying theory.

More information

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

Section Notes 4. Duality, Sensitivity, and the Dual Simplex Algorithm. Applied Math / Engineering Sciences 121. Week of October 8, 2018 Section Notes 4 Duality, Sensitivity, and the Dual Simplex Algorithm Applied Math / Engineering Sciences 121 Week of October 8, 2018 Goals for the week understand the relationship between primal and dual

More information

SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING

SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING Bulletin of Mathematics Vol. 06, No. 0 (20), pp.. SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING Eddy Roflin, Sisca Octarina, Putra B. J Bangun,

More information

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D. Linear Programming Module Outline Introduction The Linear Programming Model Examples of Linear Programming Problems Developing Linear Programming Models Graphical Solution to LP Problems The Simplex Method

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 - 05 Lecture - 24 Solving LPs with mixed type of constraints In the

More information

COLUMN GENERATION IN LINEAR PROGRAMMING

COLUMN GENERATION IN LINEAR PROGRAMMING COLUMN GENERATION IN LINEAR PROGRAMMING EXAMPLE: THE CUTTING STOCK PROBLEM A certain material (e.g. lumber) is stocked in lengths of 9, 4, and 6 feet, with respective costs of $5, $9, and $. An order for

More information

Math Introduction to Operations Research

Math Introduction to Operations Research Math 300 Introduction to Operations Research Examination (50 points total) Solutions. (6 pt total) Consider the following linear programming problem: Maximize subject to and x, x, x 3 0. 3x + x + 5x 3

More information

x = 12 x = 12 1x = 16

x = 12 x = 12 1x = 16 2.2 - The Inverse of a Matrix We've seen how to add matrices, multiply them by scalars, subtract them, and multiply one matrix by another. The question naturally arises: Can we divide one matrix by another?

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm Uri Feige November 2011 1 The simplex algorithm The simplex algorithm was designed by Danzig in 1947. This write-up presents the main ideas involved. It is a slight update (mostly

More information

Parallelizing the dual revised simplex method

Parallelizing the dual revised simplex method Parallelizing the dual revised simplex method Qi Huangfu 1 Julian Hall 2 1 FICO 2 School of Mathematics, University of Edinburgh Birmingham 9 September 2016 Overview Background Two parallel schemes Single

More information

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

Optimization of Design. Lecturer:Dung-An Wang Lecture 8 Optimization of Design Lecturer:Dung-An Wang Lecture 8 Lecture outline Reading: Ch8 of text Today s lecture 2 8.1 LINEAR FUNCTIONS Cost Function Constraints 3 8.2 The standard LP problem Only equality

More information

Chap5 The Theory of the Simplex Method

Chap5 The Theory of the Simplex Method College of Management, NCTU Operation Research I Fall, Chap The Theory of the Simplex Method Terminology Constraint oundary equation For any constraint (functional and nonnegativity), replace its,, sign

More information

Linear Programming Problems

Linear Programming Problems Linear Programming Problems Two common formulations of linear programming (LP) problems are: min Subject to: 1,,, 1,2,,;, max Subject to: 1,,, 1,2,,;, Linear Programming Problems The standard LP problem

More information

4.1 The original problem and the optimal tableau

4.1 The original problem and the optimal tableau Chapter 4 Sensitivity analysis The sensitivity analysis is performed after a given linear problem has been solved, with the aim of studying how changes to the problem affect the optimal solution In particular,

More information

Put the following equations to slope-intercept form then use 2 points to graph

Put the following equations to slope-intercept form then use 2 points to graph Tuesday September 23, 2014 Warm-up: Put the following equations to slope-intercept form then use 2 points to graph 1. 4x - 3y = 8 8 x 6y = 16 2. 2x + y = 4 2x + y = 1 Tuesday September 23, 2014 Warm-up:

More information

CHAPTER 4 IDENTIFICATION OF REDUNDANCIES IN LINEAR PROGRAMMING MODELS

CHAPTER 4 IDENTIFICATION OF REDUNDANCIES IN LINEAR PROGRAMMING MODELS CHAPTER 4 IDENTIFICATION OF REDUNDANCIES IN LINEAR PROGRAMMING MODELS 4.1 INTRODUCTION While formulating a linear programming model, systems analysts and researchers often tend to include inadvertently

More information

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

Linear Programming. Course review MS-E2140. v. 1.1 Linear Programming MS-E2140 Course review v. 1.1 Course structure Modeling techniques Linear programming theory and the Simplex method Duality theory Dual Simplex algorithm and sensitivity analysis Integer

More information

SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING

SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING BINARY LINEAR PROGRAMMING ASIAN JOURNAL OF MATHEMATICS AND APPLICATIONS Volume 2014, Article ID ama0156, 11 pages ISSN 2307-7743 http://scienceasia.asia SUBSTITUTING GOMORY CUTTING PLANE METHOD TOWARDS BALAS ALGORITHM FOR SOLVING

More information

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program Problem: Maximize z = x + 0x subject to x + x 6 x + x 00 with x 0 y 0 I. Setting Up the Problem. Rewrite each

More information

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

Linear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25 Linear Optimization Andongwisye John Linkoping University November 17, 2016 Andongwisye John (Linkoping University) November 17, 2016 1 / 25 Overview 1 Egdes, One-Dimensional Faces, Adjacency of Extreme

More information

Lecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize.

Lecture notes on the simplex method September We will present an algorithm to solve linear programs of the form. maximize. Cornell University, Fall 2017 CS 6820: Algorithms Lecture notes on the simplex method September 2017 1 The Simplex Method We will present an algorithm to solve linear programs of the form maximize subject

More information

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

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014 5/2/24 Outline CS38 Introduction to Algorithms Lecture 5 May 2, 24 Linear programming simplex algorithm LP duality ellipsoid algorithm * slides from Kevin Wayne May 2, 24 CS38 Lecture 5 May 2, 24 CS38

More information

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Mathematical and Algorithmic Foundations Linear Programming and Matchings Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis

More information

The Ascendance of the Dual Simplex Method: A Geometric View

The Ascendance of the Dual Simplex Method: A Geometric View The Ascendance of the Dual Simplex Method: A Geometric View Robert Fourer 4er@ampl.com AMPL Optimization Inc. www.ampl.com +1 773-336-AMPL U.S.-Mexico Workshop on Optimization and Its Applications Huatulco

More information

IIAIIIIA-II is called the condition number. Similarly, if x + 6x satisfies

IIAIIIIA-II is called the condition number. Similarly, if x + 6x satisfies SIAM J. ScI. STAT. COMPUT. Vol. 5, No. 2, June 1984 (C) 1984 Society for Industrial and Applied Mathematics OO6 CONDITION ESTIMATES* WILLIAM W. HAGERf Abstract. A new technique for estimating the 11 condition

More information

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. Row echelon form A matrix is said to be in the row echelon form if the leading entries shift to the

More information

Chapter II. Linear Programming

Chapter II. Linear Programming 1 Chapter II Linear Programming 1. Introduction 2. Simplex Method 3. Duality Theory 4. Optimality Conditions 5. Applications (QP & SLP) 6. Sensitivity Analysis 7. Interior Point Methods 1 INTRODUCTION

More information

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

The Simplex Algorithm. Chapter 5. Decision Procedures. An Algorithmic Point of View. Revision 1.0 The Simplex Algorithm Chapter 5 Decision Procedures An Algorithmic Point of View D.Kroening O.Strichman Revision 1.0 Outline 1 Gaussian Elimination 2 Satisfiability with Simplex 3 General Simplex Form

More information

Algebra Reviews & LP Graphic Solutions

Algebra Reviews & LP Graphic Solutions Algebra Reviews & LP Graphic Solutions Given Constraints to Draw Straight Lines and Identify Feasible Region Draw Straight Lines for Each Constraint: From Equ(1), Set X = 0, Y = 3, a(0, 3); Set Y = 0,

More information

Read: H&L chapters 1-6

Read: H&L chapters 1-6 Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research Fall 2006 (Oct 16): Midterm Review http://www-scf.usc.edu/~ise330

More information

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

Civil Engineering Systems Analysis Lecture XIV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Civil Engineering Systems Analysis Lecture XIV Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Today s Learning Objectives Dual 2 Linear Programming Dual Problem 3

More information

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

Section Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017 Section Notes 5 Review of Linear Programming Applied Math / Engineering Sciences 121 Week of October 15, 2017 The following list of topics is an overview of the material that was covered in the lectures

More information

5.4 Pure Minimal Cost Flow

5.4 Pure Minimal Cost Flow Pure Minimal Cost Flow Problem. Pure Minimal Cost Flow Networks are especially convenient for modeling because of their simple nonmathematical structure that can be easily portrayed with a graph. This

More information

Recap, and outline of Lecture 18

Recap, and outline of Lecture 18 Recap, and outline of Lecture 18 Previously Applications of duality: Farkas lemma (example of theorems of alternative) A geometric view of duality Degeneracy and multiple solutions: a duality connection

More information

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

Civil Engineering Systems Analysis Lecture XV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Civil Engineering Systems Analysis Lecture XV Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Today s Learning Objectives Sensitivity Analysis Dual Simplex Method 2

More information

Aim. Structure and matrix sparsity: Part 1 The simplex method: Exploiting sparsity. Structure and matrix sparsity: Overview

Aim. Structure and matrix sparsity: Part 1 The simplex method: Exploiting sparsity. Structure and matrix sparsity: Overview Aim Structure and matrix sparsity: Part 1 The simplex method: Exploiting sparsity Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk What should a 2-hour PhD lecture on structure

More information

MLR Institute of Technology

MLR Institute of Technology Course Name : Engineering Optimization Course Code : 56021 Class : III Year Branch : Aeronautical Engineering Year : 2014-15 Course Faculty : Mr Vamsi Krishna Chowduru, Assistant Professor Course Objective

More information

Linear Programming. Revised Simplex Method, Duality of LP problems and Sensitivity analysis

Linear Programming. Revised Simplex Method, Duality of LP problems and Sensitivity analysis Linear Programming Revised Simple Method, Dualit of LP problems and Sensitivit analsis Introduction Revised simple method is an improvement over simple method. It is computationall more efficient and accurate.

More information

Lecture Notes 2: The Simplex Algorithm

Lecture Notes 2: The Simplex Algorithm Algorithmic Methods 25/10/2010 Lecture Notes 2: The Simplex Algorithm Professor: Yossi Azar Scribe:Kiril Solovey 1 Introduction In this lecture we will present the Simplex algorithm, finish some unresolved

More information

Julian Hall School of Mathematics University of Edinburgh. June 15th Parallel matrix inversion for the revised simplex method - a study

Julian Hall School of Mathematics University of Edinburgh. June 15th Parallel matrix inversion for the revised simplex method - a study Parallel matrix inversion for the revised simplex method - A study Julian Hall School of Mathematics University of Edinburgh June 5th 006 Parallel matrix inversion for the revised simplex method - a study

More information

Solutions for Operations Research Final Exam

Solutions for Operations Research Final Exam Solutions for Operations Research Final Exam. (a) The buffer stock is B = i a i = a + a + a + a + a + a 6 + a 7 = + + + + + + =. And the transportation tableau corresponding to the transshipment problem

More information

AM 121: Intro to Optimization Models and Methods Fall 2017

AM 121: Intro to Optimization Models and Methods Fall 2017 AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 10: Dual Simplex Yiling Chen SEAS Lesson Plan Interpret primal simplex in terms of pivots on the corresponding dual tableau Dictionaries

More information

REGULAR GRAPHS OF GIVEN GIRTH. Contents

REGULAR GRAPHS OF GIVEN GIRTH. Contents REGULAR GRAPHS OF GIVEN GIRTH BROOKE ULLERY Contents 1. Introduction This paper gives an introduction to the area of graph theory dealing with properties of regular graphs of given girth. A large portion

More information

Output: For each size provided as input, a figure of that size is to appear, followed by a blank line.

Output: For each size provided as input, a figure of that size is to appear, followed by a blank line. Problem 1: Divisor Differences Develop a program that, given integers m and k satisfying m > k > 0, lists every pair of positive integers (i,j) such that j i = k and both i and j are divisors of m. Input:

More information

New Directions in Linear Programming

New Directions in Linear Programming New Directions in Linear Programming Robert Vanderbei November 5, 2001 INFORMS Miami Beach NOTE: This is a talk mostly on pedagogy. There will be some new results. It is not a talk on state-of-the-art

More information

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

5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY 5. DUAL LP, SOLUTION INTERPRETATION, AND POST-OPTIMALITY 5.1 DUALITY Associated with every linear programming problem (the primal) is another linear programming problem called its dual. If the primal involves

More information

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

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material

More information

3 INTEGER LINEAR PROGRAMMING

3 INTEGER LINEAR PROGRAMMING 3 INTEGER LINEAR PROGRAMMING PROBLEM DEFINITION Integer linear programming problem (ILP) of the decision variables x 1,..,x n : (ILP) subject to minimize c x j j n j= 1 a ij x j x j 0 x j integer n j=

More information

LP Graphic Solution & Solver for LP

LP Graphic Solution & Solver for LP LP Graphic Solution & Excel@ Solver for LP 5X + 3Y = 0 (3) Draw the objective function line on the graph: Any (including the optimal) LP solution has to be part of

More information

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University) Transportation and Assignment Problems The transportation model is a special class of linear programs. It received this name because many of its applications involve determining how to optimally transport

More information

THE simplex algorithm [1] has been popularly used

THE simplex algorithm [1] has been popularly used Proceedings of the International MultiConference of Engineers and Computer Scientists 207 Vol II, IMECS 207, March 5-7, 207, Hong Kong An Improvement in the Artificial-free Technique along the Objective

More information

Towards a practical simplex method for second order cone programming

Towards a practical simplex method for second order cone programming Towards a practical simplex method for second order cone programming Kartik Krishnan Department of Computing and Software McMaster University Joint work with Gábor Pataki (UNC), Neha Gupta (IIT Delhi),

More information

5.1 Introduction to the Graphs of Polynomials

5.1 Introduction to the Graphs of Polynomials Math 3201 5.1 Introduction to the Graphs of Polynomials In Math 1201/2201, we examined three types of polynomial functions: Constant Function - horizontal line such as y = 2 Linear Function - sloped line,

More information

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

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 16 Cutting Plane Algorithm We shall continue the discussion on integer programming,

More information

AN EXPERIMENTAL INVESTIGATION OF A PRIMAL- DUAL EXTERIOR POINT SIMPLEX ALGORITHM

AN EXPERIMENTAL INVESTIGATION OF A PRIMAL- DUAL EXTERIOR POINT SIMPLEX ALGORITHM AN EXPERIMENTAL INVESTIGATION OF A PRIMAL- DUAL EXTERIOR POINT SIMPLEX ALGORITHM Glavelis Themistoklis Samaras Nikolaos Paparrizos Konstantinos PhD Candidate Assistant Professor Professor Department of

More information

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

Advanced Operations Research Techniques IE316. Quiz 2 Review. Dr. Ted Ralphs Advanced Operations Research Techniques IE316 Quiz 2 Review Dr. Ted Ralphs IE316 Quiz 2 Review 1 Reading for The Quiz Material covered in detail in lecture Bertsimas 4.1-4.5, 4.8, 5.1-5.5, 6.1-6.3 Material

More information

Graphs that have the feasible bases of a given linear

Graphs that have the feasible bases of a given linear Algorithmic Operations Research Vol.1 (2006) 46 51 Simplex Adjacency Graphs in Linear Optimization Gerard Sierksma and Gert A. Tijssen University of Groningen, Faculty of Economics, P.O. Box 800, 9700

More information

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision Alignments to SuccessMaker Providing rigorous intervention for K-8 learners with unparalleled precision OH.Math.7.RP Ratios and Proportional Relationships OH.Math.7.RP.A Analyze proportional relationships

More information

Defense Technical Information Center Compilation Part Notice

Defense Technical Information Center Compilation Part Notice UNCLASSIFIED Defense Technical Information Center Compilation Part Notice ADP013759 TITLE: A Robust Algorithm for Least Absolute Deviations Curve Fitting DISTRIBUTION: Approved for public release, distribution

More information

Dense Matrix Algorithms

Dense Matrix Algorithms Dense Matrix Algorithms Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar To accompany the text Introduction to Parallel Computing, Addison Wesley, 2003. Topic Overview Matrix-Vector Multiplication

More information

Computational issues in linear programming

Computational issues in linear programming Computational issues in linear programming Julian Hall School of Mathematics University of Edinburgh 15th May 2007 Computational issues in linear programming Overview Introduction to linear programming

More information

Linear Programming with Bounds

Linear Programming with Bounds Chapter 481 Linear Programming with Bounds Introduction Linear programming maximizes (or minimizes) a linear objective function subject to one or more constraints. The technique finds broad use in operations

More information

MATLAB Solution of Linear Programming Problems

MATLAB Solution of Linear Programming Problems MATLAB Solution of Linear Programming Problems The simplex method is included in MATLAB using linprog function. All is needed is to have the problem expressed in the terms of MATLAB definitions. Appendix

More information

Chapter 18 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

Chapter 18 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal. Chapter 8 out of 7 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal 8 Matrices Definitions and Basic Operations Matrix algebra is also known

More information

MATH 2000 Gauss-Jordan Elimination and the TI-83 [Underlined bold terms are defined in the glossary]

MATH 2000 Gauss-Jordan Elimination and the TI-83 [Underlined bold terms are defined in the glossary] x y z 0 0 3 4 5 MATH 000 Gauss-Jordan Elimination and the TI-3 [Underlined bold terms are defined in the glossary] 3z = A linear system such as x + 4y z = x + 5y z = can be solved algebraically using ordinary

More information

A PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS

A PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS Yugoslav Journal of Operations Research Vol 19 (2009), Number 1, 123-132 DOI:10.2298/YUJOR0901123S A PRIMAL-DUAL EXTERIOR POINT ALGORITHM FOR LINEAR PROGRAMMING PROBLEMS Nikolaos SAMARAS Angelo SIFELARAS

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm April 25, 2005 We seek x 1,..., x n 0 which mini- Problem. mizes C(x 1,..., x n ) = c 1 x 1 + + c n x n, subject to the constraint Ax b, where A is m n, b = m 1. Through the introduction

More information

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices 6.1 Solving Systems of Linear Equations Using Matrices Objectives Write the augmented matrix for a linear system. Perform matrix row operations. Use matrices and Gaussian elimination to solve systems.

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Combinatorial Optimization G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/34 Outline 1 Motivation 2 Geometric resolution

More information

Farming Example. Lecture 22. Solving a Linear Program. withthe Simplex Algorithm and with Excel s Solver

Farming Example. Lecture 22. Solving a Linear Program. withthe Simplex Algorithm and with Excel s Solver Lecture 22 Solving a Linear Program withthe Simplex Algorithm and with Excel s Solver m j winter, 2 Farming Example Constraints: acreage: x + y < money: x + 7y < 6 time: x + y < 3 y x + y = B (, 8.7) x

More information

Lecture 2.2 Cubic Splines

Lecture 2.2 Cubic Splines Lecture. Cubic Splines Cubic Spline The equation for a single parametric cubic spline segment is given by 4 i t Bit t t t i (..) where t and t are the parameter values at the beginning and end of the segment.

More information

Other Algorithms for Linear Programming Chapter 7

Other Algorithms for Linear Programming Chapter 7 Other Algorithms for Linear Programming Chapter 7 Introduction The Simplex method is only a part of the arsenal of algorithms regularly used by LP practitioners. Variants of the simplex method the dual

More information

For example, the system. 22 may be represented by the augmented matrix

For example, the system. 22 may be represented by the augmented matrix Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural of matrix) may be

More information

CSE 40/60236 Sam Bailey

CSE 40/60236 Sam Bailey CSE 40/60236 Sam Bailey Solution: any point in the variable space (both feasible and infeasible) Cornerpoint solution: anywhere two or more constraints intersect; could be feasible or infeasible Feasible

More information

Instructor: Barry McQuarrie Page 1 of 6

Instructor: Barry McQuarrie Page 1 of 6 Questions 1. Solve the system by graphing: 3x + y = 2 2x y = 3 2. Solve the system by graphing: x + 3y = 9 y = 1 3 x 2 3. Solve the system by graphing: y = 2x + 5 3y + 6x = 15 4. Solve the system algebraically,

More information

Sequences and Series. Copyright Cengage Learning. All rights reserved.

Sequences and Series. Copyright Cengage Learning. All rights reserved. Sequences and Series Copyright Cengage Learning. All rights reserved. 12.3 Geometric Sequences Copyright Cengage Learning. All rights reserved. 2 Objectives Geometric Sequences Partial Sums of Geometric

More information

Unit.9 Integer Programming

Unit.9 Integer Programming Unit.9 Integer Programming Xiaoxi Li EMS & IAS, Wuhan University Dec. 22-29, 2016 (revised) Operations Research (Li, X.) Unit.9 Integer Programming Dec. 22-29, 2016 (revised) 1 / 58 Organization of this

More information

Chapter 1: Number and Operations

Chapter 1: Number and Operations Chapter 1: Number and Operations 1.1 Order of operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply

More information

Marginal and Sensitivity Analyses

Marginal and Sensitivity Analyses 8.1 Marginal and Sensitivity Analyses Katta G. Murty, IOE 510, LP, U. Of Michigan, Ann Arbor, Winter 1997. Consider LP in standard form: min z = cx, subject to Ax = b, x 0 where A m n and rank m. Theorem:

More information

Unconstrained Optimization

Unconstrained Optimization Unconstrained Optimization Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 13, 2013 1 Denitions Economics is a science of optima We maximize utility functions, minimize

More information

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS A linear programming problem consists of a linear objective function to be maximized or minimized subject to certain constraints in the form of

More information

Transportation problem

Transportation problem Transportation problem It is a special kind of LPP in which goods are transported from a set of sources to a set of destinations subjects to the supply and demand of the source and destination, respectively,

More information

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang Maths for Signals and Systems Linear Algebra in Engineering Some problems by Gilbert Strang Problems. Consider u, v, w to be non-zero vectors in R 7. These vectors span a vector space. What are the possible

More information