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

Similar documents
Linear Programming Problems

Linear programming II João Carlos Lourenço

Lecture 9: Linear Programming

CSE 40/60236 Sam Bailey

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

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

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

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

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

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

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.

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

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

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

Some Advanced Topics in Linear Programming

The Simplex Algorithm

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

CSC 8301 Design & Analysis of Algorithms: Linear Programming

AM 121: Intro to Optimization Models and Methods Fall 2017

CASE STUDY. fourteen. Animating The Simplex Method. case study OVERVIEW. Application Overview and Model Development.

4.1 Graphical solution of a linear program and standard form

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

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

Read: H&L chapters 1-6

Other Algorithms for Linear Programming Chapter 7

Solutions for Operations Research Final Exam

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

Math Models of OR: The Simplex Algorithm: Practical Considerations

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

3. Replace any row by the sum of that row and a constant multiple of any other row.

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

Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs

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

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

An iteration of the simplex method (a pivot )

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

Discrete Optimization. Lecture Notes 2

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

Artificial Intelligence

Lesson 17. Geometry and Algebra of Corner Points

Marginal and Sensitivity Analyses

CMPSCI611: The Simplex Algorithm Lecture 24

16.410/413 Principles of Autonomy and Decision Making

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

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

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

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

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

COLUMN GENERATION IN LINEAR PROGRAMMING

CSE 460. Today we will look at" Classes of Optimization Problems" Linear Programming" The Simplex Algorithm"

EXTENSION. a 1 b 1 c 1 d 1. Rows l a 2 b 2 c 2 d 2. a 3 x b 3 y c 3 z d 3. This system can be written in an abbreviated form as

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

Introduction to Operations Research

THE simplex algorithm [1] has been popularly used

MATLAB Solution of Linear Programming Problems

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

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

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

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

Linear programming and duality theory

Chapter 4: The Mechanics of the Simplex Method

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Linear Programming and its Applications

What s Linear Programming? Often your try is to maximize or minimize an objective within given constraints

The Ascendance of the Dual Simplex Method: A Geometric View

LECTURE 6: INTERIOR POINT METHOD. 1. Motivation 2. Basic concepts 3. Primal affine scaling algorithm 4. Dual affine scaling algorithm

An example of LP problem: Political Elections

Linear Programming Applications. Software for Linear Programming

Linear Programming. Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

Chapter II. Linear Programming

5.3 Cutting plane methods and Gomory fractional cuts

Previously Local sensitivity analysis: having found an optimal basis to a problem in standard form,

Notes for Lecture 18

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

VARIANTS OF THE SIMPLEX METHOD

Module 4 Lecture Notes 1. Use of software for solving linear programming problems

Solving Linear Programs Using the Simplex Method (Manual)

Convex Optimization CMU-10725

CS483 Analysis of Algorithms Lecture 09 Linear Programming 01

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

ORF 307: Lecture 14. Linear Programming: Chapter 14: Network Flows: Algorithms

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

Recap, and outline of Lecture 18

Primal Simplex Algorithm for the Pure Minimal Cost Flow Problem

4.1 The original problem and the optimal tableau

Graphs that have the feasible bases of a given linear

5.4 Pure Minimal Cost Flow

Improved Gomory Cuts for Primal Cutting Plane Algorithms

I will illustrate the concepts using the example below.

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

CSc 545 Lecture topic: The Criss-Cross method of Linear Programming

Lecture Notes 2: The Simplex Algorithm

Tribhuvan University Institute Of Science and Technology Tribhuvan University Institute of Science and Technology

Simultaneous Solving of Linear Programming Problems in GPU

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

Chapter 15 Introduction to Linear Programming

Generalized Network Flow Programming

Transcription:

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 constraints are treated in standard linear programming 4

Summation Form of the Standard LP Problem 5

Matrix Form of the Standard LP Problem 6

8.2.2 Transcription to Standard LP Non-Negative Constraint Limits Treatment of <= Type Constraints Treatment of >= Type Constraints 7

Unrestricted Variables Require that all design variables to be nonnegative in the standard LP problem If a design variable x j is unrestricted in sign, it can always be written as the difference of two non-negative variables 8

EXAMPLE 8.1 CONVERSION TO STANDARD LP FORM 9

10

BASIC CONCEPTS the optimum solution for the LP problem always lies on the boundary of the feasible set. The solution is at least at one of the vertices of the convex feasible set (called the convex polyhedral set). 11

Convexity of LP Since all functions are linear in an LP problem, the feasible set defined by linear equalities or inequalities is convex (Section 4.8). Also, the cost function is linear, so it is convex. Therefore, the LP problem is convex, and if an optimum solution exists, it is a global optimum, as stated in Theorem 4.10. 12

Write the linear system in a tableau 13

EXAMPLE 8.5 PIVOT STEP Obtain a new canonical form by interchanging the roles of the variables x1 and x4 (i.e., make x1 a basic variable and x4 a nonbasic variable). 14

15

Simplex method Searches through only the basic feasible solutions and stops once an optimum solution is obtained 16

Determine three basic solutions using the Gauss-Jordan elimination method 17

18

19

20

8.5 THE SIMPLEX METHOD EXAMPLE 8.7 STEPS OF THE SIMPLEX METHOD 21

The graphical solution to the problem Optimum solution along line CD. z*=4. 22

1. Convert the problem to the standard form the cost function expression as the last row. the cost function is in terms of only the nonbasic variables x1 and x2. This is one of the basic requirements of the Simplex method that the cost function always be in terms of the nonbasic variables When the cost function is only in terms of the nonbasic variables, then the cost coefficients in the last row are the reduced cost coefficients 23

2. Initial basic feasible solution 24

3. Optimality check If all of the nonzero entries of the cost row are nonnegative, then we have an optimum solution because the cost function cannot be reduced any further and the Simplex method is terminated. Since there are negative entries in the nonbasic columns of the cost row, the current basic feasible solution is not optimum 25

4. Selection of a nonbasic variable to become basic Select a variable associated with the smallest value in the cost row 26

5. Selection of a basic variable to become nonbasic Selection of the row with the smallest ratio as the pivot row maintains the feasibility of the new basic solution (all x i >= 0). 27

6. Pivot step 28

7. Optimum solution This solution is identified as point D in the figure. We see that the cost function has been reduced from 0 to -4. The coefficients in the nonbasic columns of the last row are non-negative so no further reduction of the cost function is possible. Thus, the foregoing solution is the optimum point. Note that for this example, only one iteration of the Simplex method gave the optimum solution. In general, more iterations are needed until all coefficients in the cost row become non-negative 29

EXAMPLE 8.8 SOLUTION BY THE SIMPLEX METHOD 30

31

32

33

8.6.1 Artificial Variables When there are >= type constraints in the linear programming problem, surplus variables are subtracted from them to transform the problem into the standard form. The equality constraints, if present, are not changed because they are already in the standard form. For such problems, an initial basic feasible solution cannot be obtained by selecting the original design variables as nonbasic (setting them to zero), as is the case when there are only <= type constraints. To obtain an initial basic feasible solution, the Gauss- Jordan elimination procedure can be used to convert Ax=b to the canonical form. 34

However, an easier way is to introduce non-negative auxiliary variables for the >= type and equality constraints, define an auxiliary LP problem, and solve it using the Simplex method. The auxiliary variables are called artificial variables. These are variables in addition to the surplus variables for the >= type constraints. They have no physical meaning, but with their addition we obtain an initial basic feasible solution for the auxiliary LP problem by treating the artificial variables as basic along with any slack variables for the <= type constraints. All other variables are treated as nonbasic (i.e., set to zero). 35

EXAMPLE 8.12 INTRODUCTION OF ARTIFICIAL VARIABLES 36

standard form 37

canonical form introduce non-negative artificial variables 38

8.6.2 Artificial Cost Function The artificial variable for each equality and >= type constraint is introduced to obtain an initial basic feasible solution for the auxiliary problem. These variables have no physical meaning and need to be eliminated from the problem. To eliminate the artificial variables from the problem, we define an auxiliary cost function called the artificial cost function and minimize it subject to the constraints of the problem and the non-negativity of all of the variables. 39

The artificial cost function is simply a sum of all the artificial variables and will be designated as w 40

8.6.3 Definition of the Phase I Problem Since the artificial variables are introduced simply to obtain an initial basic feasible solution for the original problem, they need to be eliminated eventually. This elimination is done by defining and solving an LP problem called the Phase I problem. The objective of this problem is to make all the artificial variables nonbasic so they have zero value. 41

EXAMPLE 8.13 PHASE I OF THE SIMPLEX METHOD 42

EXAMPLE 8.13 PHASE I OF THE SIMPLEX METHOD 43

Now the Simplex iterations are carried out using the artificial cost row to determine the pivot element. In the initial tableau, the element a 31 =1 is identified as the pivot element 44

45

46

Since both of the artificial variables have become nonbasic, the artificial cost function has attained a zero value. This indicates the end of Phase I of the Simplex method. Now we can discard the artificial cost row and the artificial variable columns x 5 and x 6 in Table 8.17 and continue with the Simplex iterations using the real cost row to determine the pivot column. 47

EXAMPLE 8.14 USE OF ARTIFICIAL VARIABLES FOR >= TYPE CONSTRAINTS 48

49

50

51