Associate Professor of Computers & Informatics - Benha University

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

IEOR 4004 Midterm Review (part I)
1. Set up the phase 1 dictionary for this problem and make the first pivot: Maximize X 1 + X X 3 + X 4 subject to -X 1 + X X 4 ≤ -3 -X 1 +
Linear Programming Problem
Lecture 3 Linear Programming: Tutorial Simplex Method
Understanding optimum solution
Linear Programming (LP) (Chap.29)
Linear Programming – Simplex Method
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Linear Programming Fundamentals Convexity Definition: Line segment joining any 2 pts lies inside shape convex NOT convex.
The Simplex Method: Standard Maximization Problems
Introduction to the Simplex Algorithm Active Learning – Module 3
Operation Research Chapter 3 Simplex Method.
Minimization by Dr. Arshad zaheer
Linear Programming (LP)
The Simplex Method.
Problem Set # 4 Maximize f(x) = 3x1 + 2 x2 subject to x1 ≤ 4 x1 + 3 x2 ≤ 15 2x1 + x2 ≤ 10 Problem 1 Solve these problems using the simplex tableau. Maximize.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
The Two-Phase Simplex Method LI Xiao-lei. Preview When a basic feasible solution is not readily available, the two-phase simplex method may be used as.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 6 Supplement Linear Programming.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
Solving Linear Programming Problems: The Simplex Method
Linear Programming – Simplex Method
Algebraic Simplex Active Learning – Module 4 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology.
Chapter 4 Linear Programming: The Simplex Method
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
EXAMPLE 1 Solve a system graphically Graph the linear system and estimate the solution. Then check the solution algebraically. 4x + y = 8 2x – 3y = 18.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Linear Programming.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Solving Linear Program by Simplex Method The Concept
LINEAR PROGRAMMING.
Stat 261 Two phase method.
Chap 10. Sensitivity Analysis
Lecture 3.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Linear programming Simplex method.
The Two-Phase Simplex Method
Gomory Cuts Updated 25 March 2009.
Chapter 4 Linear Programming: The Simplex Method
Solve a system of linear equation in two variables
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chapter 3 The Simplex Method and Sensitivity Analysis
Dual simplex method for solving the primal
Part 3. Linear Programming
Linear Programming SIMPLEX METHOD.
Associate Professor of Computers & Informatics - Benha University
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Well, just how many basic
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Linear Programming – Sensitivity Analysis
Linear Programming Problem
Part 3. Linear Programming
Simplex method (algebraic interpretation)
Presentation transcript:

Associate Professor of Computers & Informatics - Benha University Operations Research 1 Dr. El-Sayed Badr Associate Professor of Computers & Informatics - Benha University Alsayed.badr@fsc.bu.edu.eg Dr. El-Sayed Badr 2014

2. All the variables are non-negative. The Simplex Method and Sensitivity Analysis The development of the simplex method computations is facilitated by imposing two requirements on the constraints of the problem: All the constraints (with the exception of the non-negativity of the variables) are equations with nonnegative right-hand side. 2. All the variables are non-negative. Dr. El-Sayed Badr 2012

How to convert max problem to min problem ? Dr. El-Sayed Badr 2014

The Slack Variables Dr. El-Sayed Badr 2014

The Surplus Variables Dr. El-Sayed Badr 2014

Graph all constraints, including non-negativity restriction TRANSITION FROM GRAPHICAL TO ALGEBRAIC SOLUTION Algebraic Method Graphical Method Represent the solution space by m equations in n variables and restrict all variables to non-negativity m < n. Graph all constraints, including non-negativity restriction The system has infinity of feasible solutions. Solution space consists of infinity of feasible points. Determine the feasible basic solution of the equations. Identity feasible corner points of the solution space. Candidates for the optimum solution are given by a finite number of basic feasible solutions. Candidates for the optimum solution are given by a finite number of corner points. Use the objective function to determine the optimum basic feasible solution from among all the candidates Use the objective function to determine the optimum corner point from among all the candidates. 6

Example: n = 4 m = 2 7

Basic Solutions and Basic Feasible Solutions Objective value, z Feasible? Corner point Basic solution Basic variables Non-Basic variables Yes A (4, 5) (x3, x4) (x1, x2)=(0,0) - No F (4, -3) (x2, x4) (x1, x3) =(0,0) 7.5 B (2.5, 1.5) (x2, x3) (x1, x4) =(0,0) 4 D (2, 3) (x1, x4) (x2, x3) =(0,0) E (5, -6) (x1, x3) (x2, x4) =(0,0) 8 C (1, 2) (x1, x2) (x3, x4) =(0,0) 8

Iterative Nature of the Simplex Method 9

The Simplex Method (Reddy Mikks Problem): 10

1- Entering Variable 2- Leaving Variable solution x6 x5 x4 x3 x2 x1 z (المقام صفرا،يهمل) (المقام سالب،يهمل) (المقام صفرا،يهمل) (المقام سالب،يهمل) solution x6 x5 x4 x3 x2 x1 z Basic z-row -4 -5 1 x3-row 24 4 6 x4-row 2 x5-row -1 x6-row 1- Entering Variable 2- Leaving Variable 11

solution x6 x5 x4 x3 x2 x1 z Basic -4 -5 1 الصف المحورى 24 4 6 2 -1 -4 -5 1 الصف المحورى 24 4 6 2 -1 12

solution x6 x5 x4 x3 x2 x1 z Basic 20 1 4 2 5 5/6 -2/3 1 4 1/6 2/3 2 -1/6 4/3 5 5/3 13

solution x6 x5 x4 x3 x2 x1 z Basic 21 ½ ¾ 1 3 -1/2 ¼ 3/2 -1/8 5/2 -5/4 ½ ¾ 1 3 -1/2 ¼ 3/2 -1/8 5/2 -5/4 3/8 1/2 -3/4 1/8 14

Another Example : Minimization Problem solution x5 x4 x3 x2 x1 z Basic -5 -3 3 1 Pivot row -2 2 -1 Dr. El-Sayed Badr 2012

solution x5 x4 x3 x2 x1 z Basic 1.5- -1.5 -9.5 1 0.5 1.5 -1 -0.5 -3.5 -1.5 -9.5 1 0.5 1.5 -1 -0.5 -3.5 16

Simplex Algorithm 17

Question1: Solve the following Linear Problem Klee-Minty Question1: Solve the following Linear Problem 18

Question2: What is the situation if our problem Simplex Algorithm Question2: What is the situation if our problem Contains constraints of the kind ( <= , >= and = = ) ? Answer1: 1- Dual Simplex Algorithm. 2- Two-Phase Method. 3- Big M-Method. 4-……. 19