Unrestricted-in-Sign Variables

Slides:



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

IEOR 4004 Midterm Review (part I)
Solving LP Models Improving Search Special Form of Improving Search
Chapter 5 Sensitivity Analysis: An Applied Approach
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc. 1 Chapter 5 Sensitivity Analysis: An Applied Approach to accompany Introduction to.
Operation Research Chapter 3 Simplex Method.
Variables that are unrestricted in sign LI Xiao-lei.
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
Degeneracy and the Convergence of the Simplex Algorithm LI Xiao-lei.
L16 LP part2 Homework Review N design variables, m equations Summary 1.
Sections 4.1 and 4.2 The Simplex Method: Solving Maximization and Minimization Problems.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Managerial Decision Modeling with Spreadsheets
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Basic Linear Programming Concepts Lecture 2 (4/1/2015)
QM B Linear Programming
Linear Programming: Fundamentals
QM B Lego Simplex. Scenario You manufacture tables and chairs. Tables and chairs are manufactured from small and large bricks. Small brick Large brick.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Linear Programming David Kauchak cs161 Summer 2009.
Linear Programming - Standard Form
Presentation: H. Sarper
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Chapter 4 Simplex Method
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  Jan Fábry Linear Programming.
Duality Theory LI Xiaolei.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
The big M method LI Xiao-lei.
MIT and James Orlin © Chapter 5. Sensitivity Analysis presented as FAQs –Points illustrated on a running example of glass manufacturing. –Also the.
The Simplex Algorithm The Simplex Algorithm LI Xiao-lei.
Operations Research I IE 416 California State Polytechnic University, Pomona Operations Research I IE 416 California State Polytechnic University, Pomona.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
Chapter 4 The Simplex Algorithm( 單體法 ) and Goal Programming Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc.
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
1 Chapter 4 The Simplex Algorithm PART 2 Prof. Dr. M. Arslan ÖRNEK.
Chapter 10 Advanced Topics in Linear Programming
CSC 445/545 is done at 4:30 so I did NOT fill in the box for 4:30 for our class. Please put your name here. Please put your as well. 1.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
LINEAR AND INTEGER PROGRAMMING The Simplex Method: A tutorial in three acts.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Copyright © 2016, 2012 Pearson Education, Inc
Linear Programming Wyndor Glass Co. 3 plants 2 new products –Product 1: glass door with aluminum framing –Product 2: 4x6 foot wood frame window.
1 LP-3 Symplex Method. 2  When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
Chapter 3 Introduction to Linear Programming to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c)
Chapter 4 The Simplex Algorithm and Goal Programming
L15 LP Problems Homework Review Why bother studying LP methods History N design variables, m equations Summary 1.
Linear Programming for Solving the DSS Problems
Linear Programming – Introduction
Linear programming Simplex method.
MBA 651 Quantitative Methods for Decision Making
© EMC Publishing, LLC.
Gomory Cuts Updated 25 March 2009.
Systems of Linear Equations; Substitution and Elimination
The application of mathematics and the scientific
Part 3. Linear Programming
Objective Vocabulary Solve linear programming problems.
Linear Programming SIMPLEX METHOD.
Linear programming Simplex method.
Module B Linear Programming.
Chapter 4 The Simplex Algorithm
Introduction to Linear Programming
Presentation transcript:

Unrestricted-in-Sign Variables In solving LPs with the simplex algorithm, we used the ratio test to determine the row in which the entering variable became a basic variable. Recall that the ratio test depended on the fact that any feasible point required all variables to be nonnegative. Thus, if some variables are allowed to be unrestricted in sign (urs), the ratio test and therefore the simplex algorithm are no longer valid. In this section, we show how an LP with unrestricted-in-sign variables can be transformed into an LP in which all variables are required to be nonnegative.

For each urs variable xi, we begin by defining two new variables xi` and xi``. Then substitute xi `- xi`` for xi in each constraint and in the objective function. Also add the sign restrictions xi ` and xi `` . The effect of this substitution is to express xi as the difference of the two nonnegative variables xi ‘and xi’’. Because all variables are now required to be nonnegative, we can proceed with the simplex.

Example- Baker Problem A baker has 30 oz of flour and 5 packages of yeast. Baking a loaf of bread requires 5 oz of flour and 1 package of yeast. Each loaf of bread can be sold for 30¢. The baker may purchase additional flour at 4¢/oz or sell leftover flour at the same price. Formulate and solve an LP to help the baker maximize profits (revenues costs).

Baker Problem Define x1 = number of loaves of bread baked x2 = number of ounces by which flour supply is increased by cash transactions Therefore, x2 > 0 means that x2 oz of flour were purchased, and x2 <0 means that x2 ounces of flour were sold (x2 = 0 means no flour was bought or sold). After noting that x1 ≥ 0 and x2 is urs, the appropriate LP is

Objective function z = 30x1-4x2 Subject to 5x1 ≤ 30+x2 x1 ≤ 5 x1 ≥ 0 and x2 is urs

Put x2=x2`- x2`` Maximize z= 30x1-4x2’+4x2`` S.T 5x1 ≤ 30+x2`-x2`` x1 ≤ 5 x1,x2`,x`` ≥ 0

Maximize z= 30x1-4x2’+4x2`` S.T 5x1-x2`+x2`` ≤ 30 x1 ≤ 5 x1,x2`,x`` ≥ 0

Maximize z= 30x1-4x2’+4x2`` z- 30x1+4x2’-4x2``=0 5x1-x2`-x2`` +s1=30 S.T 5x1-x2`-x2`` +s1=30 x1 +s2 = 5 x1,x2`,x`` ≥ 0 z- 30x1+4x2’-4x2``=0

Simplex Method z x1 X2` X2`` s1 s2 sol Basic var ration 1 -30 4 -4 z=0 z=0 5 -1 30 S1=30 S2=5

Simplex Method x1 -30 5 z X2` X2`` s1 s2 sol Basic var ration 1 4 -4 z=0 5 -1 30 S1=30 6 S2=5

Simplex Method x1 -30 5 S2=5 z X2` X2`` s1 s2 sol Basic var ration 1 4 -4 z=0 5 -1 30 S1=30 S2=5

Simplex Method s2 is leaving and x1 in entering z x1 X2` X2`` s1 s2 sol Basic var ration 1 4 -4 30 150 z=150 5 -1 S1=30 S2=5

Simplex Method s2 is leaving and x1 is entering z x1 X2` X2`` s1 s2 sol Basic var ration 1 4 -4 30 150 z=150 -1 -5 5 S1=5 x1=5

Simplex Method s1 is leaving and x2`` is entering z x1 X2` X2`` s1 s2 sol Basic var ration 1 4 -4 30 150 z=150 -1 -5 5 S1=5 x1=5 inf

Simplex Method s1 is leaving and x2``is entering z x1 X2` X2`` s1 s2 sol Basic var ration 1 4 -4 30 150 z=150 -1 -5 5 S1=5 x1=5

Simplex Method s2 is leaving and x1 is entering z x1 X2` X2`` s1 s2 sol Basic var ration 1 4 10 170 z=170 -1 -5 5 X2``=5 x1=5