21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

Similar documents
Chapter 2 Solving Linear Programs

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Special Situations in the Simplex Algorithm

Simplex method summary

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

Practical Guide to the Simplex Method of Linear Programming

1 Solving LPs: The Simplex Algorithm of George Dantzig

Solving Linear Programs

4.6 Linear Programming duality

Linear Programming. March 14, 2014

Linear Programming Notes VII Sensitivity Analysis

Chapter 6: Sensitivity Analysis

Linear Programming in Matrix Form

Nonlinear Programming Methods.S2 Quadratic Programming

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

OPRE 6201 : 2. Simplex Method

9.4 THE SIMPLEX METHOD: MINIMIZATION

Duality in Linear Programming

Degeneracy in Linear Programming

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Linear Programming. April 12, 2005

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

Standard Form of a Linear Programming Problem

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming: Theory and Applications

Row Echelon Form and Reduced Row Echelon Form

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

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

Mathematical finance and linear programming (optimization)

Linear Programming Problems

Question 2: How do you solve a matrix equation using the matrix inverse?

What is Linear Programming?

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

Creating a More Efficient Course Schedule at WPI Using Linear Optimization

Network Models 8.1 THE GENERAL NETWORK-FLOW PROBLEM

Solving Linear Programs in Excel

Using CPLEX. =5 has objective value 150.

56:171 Operations Research Midterm Exam Solutions Fall 2001

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

3. Linear Programming and Polyhedral Combinatorics

26 Linear Programming

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem

Optimization Theory for Large Systems

Study Guide 2 Solutions MATH 111

24. The Branch and Bound Method

The number of marks is given in brackets [ ] at the end of each question or part question. The total number of marks for this paper is 72.

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

Solving Linear Programs using Microsoft EXCEL Solver

Minimizing costs for transport buyers using integer programming and column generation. Eser Esirgen

Linear Program Solver

0.1 Linear Programming

LU Factorization Method to Solve Linear Programming Problem

CPLEX Tutorial Handout

Computational aspects of simplex and MBU-simplex algorithms using different anti-cycling pivot rules

Equilibrium computation: Part 1

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models

Sensitivity Analysis with Excel

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Scheduling Algorithm with Optimization of Employee Satisfaction

Using EXCEL Solver October, 2000

Discrete Optimization

Linear Programming. Solving LP Models Using MS Excel, 18

8 Square matrices continued: Determinants

Decision Mathematics D1 Advanced/Advanced Subsidiary. Tuesday 5 June 2007 Afternoon Time: 1 hour 30 minutes

Proximal mapping via network optimization

by the matrix A results in a vector which is a reflection of the given

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Nonlinear Optimization: Algorithms 3: Interior-point methods

Zeros of a Polynomial Function

How To Understand And Solve A Linear Programming Problem

5.5. Solving linear systems by the elimination method

Optimization Modeling for Mining Engineers

OPTIMIZATION. Schedules. Notation. Index

Lecture 3: Finding integer solutions to systems of linear equations

Chapter 13: Binary and Mixed-Integer Programming

A Constraint Programming based Column Generation Approach to Nurse Rostering Problems

Decision Mathematics D1. Advanced/Advanced Subsidiary. Friday 12 January 2007 Morning Time: 1 hour 30 minutes. D1 answer book

A Direct Numerical Method for Observability Analysis

1.5 SOLUTION SETS OF LINEAR SYSTEMS

Linear Programming Notes V Problem Transformations

9th Max-Planck Advanced Course on the Foundations of Computer Science (ADFOCS) Primal-Dual Algorithms for Online Optimization: Lecture 1

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

Using row reduction to calculate the inverse and the determinant of a square matrix

Approximation Algorithms

An Introduction to Linear Programming

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York.

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Duality in General Programs. Ryan Tibshirani Convex Optimization /36-725

Linear Programming I

[1] Diagonal factorization

Advanced Lecture on Mathematical Science and Information Science I. Optimization in Finance

Transcription:

Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial variables, is to solve a single linear program in which the objective function is augmented by a penalty term comprising the sum of the artificial variables. Assuming an artificial variable is introduced for each constraint, the objective function to be maximized is n m z(m) = c j x j M j=1 j=1 i where M is a large number. a. When the solution to the original problem is finite, prove that the solution to the problem of maximizing z(m) subject to the original set of constraints is identical to the former. b. If the solution to the original problem is unbounded, how will this manifest itself in the solution to the modified problem with objective function z(m)? c. If the solution to the original problem is infeasible, how will this manifest itself in the solution to the modified problem with objective function z(m)? 21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20. 22. Put the problem below into the simplex form by first multiplying each constraint by 1 and then adding slack variables. Let the slacks provide an initial basic solution. Solve using the dual simplex method. Minimize z = 3x 1 + 7x 2 + 4x 3 + 5x 4 subject to 2x 1 + x 2 + 3x 3 + 4x 4 7 x 1 + 2x 2 + 4x 3 + 2x 4 6 3x 1 + 4x 2 + x 3 + x 4 5 23. The optimal tableau for the following linear program is given below. Maximize z = 5x 1 3x 2 + 4x 3 x 4 subject to 3x 1 + 4x 2 + 3x 3 5x 4 13 5x 1 3x 2 + x 3 + 2x 4 15

Coefficients Row Basic z x 1 x 2 x 3 x 4 x s1 x s2 RHS 0 z 1 5.11 1.637 0 0 0.19 1.546 33.2 1 x 3 0 2.1 0.636 1 0 0.12 0.455 9.1 2 x 4 0 1.091 1.12 0 1 0.091 0.273 2.91 a. If the right-hand sides of the original two constraints are changed to 20 and 5, respectively, the rightmost column of the tableau becomes (24.110, 5.915, 0.455). Write out the new tableau for this basic solution and use the dual simplex method to reoptimize. b. Starting from the tableau given above, add the constraint, x 1 + x 2 + x 3 + x 4 10. Put the tableau into the simplex form and use the dual simplex method to find the new optimal solution. 24. Let u j be an upper bound for x j. It is always possible to solve an LP that contains simple variable upper bounds by adding the constraints x j u j to the model. This is inefficient, however, because each such constraint increases the size of the basis by one; the work required to solve an LP goes up accordingly. Fortunately, the simplex algorithm can be modified to account implicitly for simple upper bounds. This means that they don t have to be added to the tableau as a separate row. a. When the bounded variable simplex method is used, variables at either their lower or upper bound are generally considered nonbasic. How should the rule used to select an entering variable be modified to account for a variable that is nonbasic at its upper bound. Hint: refer to the interpretation of the objective coefficients in Eq. (6) in Section 3.4 as marginal values. b. How should the optimality test be modified to account for variables at their upper bound. c. Modify Definition 5 regarding degeneracy when variable upper bounds are treated implicitly by the simplex method. Should Definition be modified as well? Explain. d. Explain how the ratio test used to determine the leaving variable has to be modified to account for simple upper bounds. Hint: there are three cases that must be considered. 25. Linear programming may be used to solve a relaxation of an integer program. The problems below represent binary integer programming models in which the requirement that the variables be either 0 or 1 has been replaced with the less restrictive requirement that the variables be between 0 and 1. The bounded variable simplex algorithm is particularly useful for solving this kind of problem since all the structural variables are bounded by 1.

a. Referring to the modifications suggested in Exercise 24, solve the following linear program with the bounded variable simplex method. Maximize 4x 1 + 4x 2 + 25x 3 + 29x 4 + 12x 5 subject to 49x 1 + 30x 2 + 19x 3 + 29x 4 + 91x 5 130 0 x j 1, j = 1,,5 b. Continuous knapsack problem. Develop a simple algorithm for solving the single constraint linear program n Maximize z = c j x j j=1 subject to n j=1 a j x j b 0 x j 1, j = 1,,n Solve the linear program in part (a) with your algorithm. 26. For the problem below, construct the tableau with the following information: (i) x s1, x s2 and x s3 are the slack variables for the three constraints, (ii) x 2, x 4, x s2 and x s3 are nonbasic, (iii) x 1, x 3 and x s1 are basic, (iv) upper bounds on x j are treated implicitly. Manipulate the tableau to obtain the simplex form and use the bounded variable simplex technique mentioned in Exercise 24 to obtain the optimal solution. Minimize 3x 1 + 7x 2 + 4x 3 + 5x 4 subject to 2x 1 + x 2 + 3x 3 + 4x 4 6 x 1 + 2x 2 + 4x 3 + 2x 4 6 3x 1 + 4x 2 + x 3 + x 4 6 0 x j 1, j = 1, 2, 3, 4

31. Starting form the tableau given below, use the usual rules for selecting the entering and leaving variables, and perform two iterations of the simplex method. Show the corresponding tableaus in their entirety. Coefficients Row Basic z x 1 x 2 x 3 x 4 x 5 RHS 0 z 1 0 3 0 0 5 20 1 x 3 0 0 2 1 0 4 10 2 x 1 0 1 1 0 0 2 0 3 0 0 3 0 1 0 15 x 4 32. From the tableau given in Exercise 31, determine the original formulation of the problem, assuming that x 3, x 4 and x 5 are slack variables. 34. Solve the linear program below to completion by hand. Comment on any characteristics the final solution may possess. Maximize z = 2x 1 x 2 + 3x 3 + 5x 4 subject to x 1 x 2 3x 3 < 10 2x 1 + x 2 4x 4 < 5 5x 3 + 4x 4 < 20 40. A linear program is given below along with the optimal tableau. Maximize z = 5x 1 3x 2 + 4x 3 x 4 subject to 3x 1 + 4x 2 + 3x 3 5x 4 13 5x 1 3x 2 + x 3 + 2x 4 15

Coefficients Row Basic z x 1 x 2 x 3 x 4 x s1 x s2 RHS 0 z 1 5.11 1.637 0 0 0.19 1.546 33.2 1 x 3 0 2.1 0.636 1 0 0.12 0.455 9.1 2 x 4 0 1.091 1.12 0 1 0.091 0.273 2.91 a. For this solution give the matrices B, B 1, x B, c B, and b. b. What are the primal and dual solutions given by the tableau? c. Which constraints are tight and which are loose for the optimal solution? 41. In each case below, say as much as you can about the basic solution associated with the given data. a. B 1 = 0 1 0 and b = 6 5 b. B 1 = 0 1 0 and b = 4 42. What can you say about the next basic solution when given the information below? Assume that the entering variable has a negative reduced cost. a. B 1 = 0 1 0, b = 4 14, entering column A s = 1 1 4.5 b. B 1 = 0 1 0, b = 4 14, entering column A s = 2 1 1.25 43. Consider the following linear program. Maximize z = 2x 1 + 3x 2 + x 3 + 4x 4 subject to x 1 x 3 + x 4 5

x 1 + 2x 2 + x 4 6 x 2 + 2x 3 + 0.5x 4 Let the slacks be variables x 5 through x 7, and let x be the artificial variable introduced for the first constraint. The problem is to be solved with the revised simplex algorithm coupled with the two-phase method. Perform two complete iterations of the algorithm using the most negative reduced cost rule to determine the variable to enter the basis. Show the basis inverse after each iteration. 44. You are given the following linear program. Maximize z =x 1 + 2x 2 + 3x 3 subject to x 1 + 2x 2 + 3x 3 6 3x 1 + 2x 2 + x 3 6 x 1 + x 2 + x 3 10 x 1 0, x 2 0, x 3 0 a. Let x 4, x 5 and x be the slack variables for the three constraints, and let x 6 and x 7 be the artificial variables for the first two constraints. Write out the problem that is to be solved in phase 1. b. Perform the first iteration of the revised simplex method for the problem defined in part (a). Complete the iteration through the pivot operation that shows the new basis inverse. c. At the end of phase 1, the basic variables are (in this order) x 3, x 1 and x (the slack variable for the third constraint). The corresponding basis and basis inverse are shown below. Perform the next revised simplex iteration appropriate for this problem. Complete the iteration through the pivot operation that shows the new basis inverse and calculate the new BFS. B = 3 1 0 1 3 0 1 1 1 and B 1 = 3/ 1/ 0 1/ 3/ 0 1/4 1/4 1 d. At optimality x 3, x 4 and x 5 are the basic variables. The corresponding basis and basis inverse are shown below. What are the primal and dual optimal solutions?

B = 3 1 0 1 0 1 1 0 0 and B 1 = 0 0 1 1 0 3 0 1 1 e. Using the solution implied by the information in part (d), change the RHS of constraint 3 in the original problem to 6. Perform one iteration of the dual simplex algorithm in an attempt to make the solution feasible. Go so far as to determine the values for the variables in the next basic solution. Has feasibility been obtained? 45. (Simple Upper Bounds) The problem below has one constraint with simple upper bounds on the variables. Maximize z = 4x 1 + 35x 2 + 25x 3 + 29x 4 + 12x 5 subject to 50x 1 + 30x 2 + 20x 3 + 30x 4 + 100x 5 90 0 x j 1, j = 1,,5 Consider the solution with x 1 and x 2 at their upper bounds, x 4, x 5 and x 6 (the slack variable) at zero, and x 3 basic. For the simplex method modified to accommodate simple upper bounds as discussed in Exercise 24, find the following for this solution. a. The basis matrix. b. The basis inverse. c. The dual variables. d. The reduced costs. e. From the reduced costs, tell which variables are candidates to enter the basis. f. If x 1 is allowed to decrease from its upper bound, does x 3 increase or decrease? How much can x 1 decrease?