Assignment #3 - Solutions MATH 3300A (01) Optimization Fall 2015

Similar documents
AM 121: Intro to Optimization Models and Methods Fall 2017

Discuss mainly the standard inequality case: max. Maximize Profit given limited resources. each constraint associated to a resource

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

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

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

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

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

ISE 203 OR I. Chapter 3 Introduction to Linear Programming. Asst. Prof. Dr. Nergiz Kasımbeyli

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

Read: H&L chapters 1-6

Linear Programming Problems

Marginal and Sensitivity Analyses

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

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

Mid-term Exam of Operations Research

Question 2: How do you solve a linear programming problem with a graph?

Chapter 7. Linear Programming Models: Graphical and Computer Methods

INEN 420 Final Review

The Ascendance of the Dual Simplex Method: A Geometric View

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

Math Introduction to Operations Research

VARIANTS OF THE SIMPLEX METHOD

Part 4. Decomposition Algorithms Dantzig-Wolf Decomposition Algorithm

Graphical Analysis. Figure 1. Copyright c 1997 by Awi Federgruen. All rights reserved.

MATLAB Solution of Linear Programming Problems

Graphs that have the feasible bases of a given linear

SENSITIVITY. CS4491 Introduction to Computational Models with Python

Linear Programming Terminology

SEN301 OPERATIONS RESEARCH I PREVIUOS EXAM QUESTIONS

Lesson 11: Duality in linear programming

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

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

4.1 The original problem and the optimal tableau

Algebra Reviews & LP Graphic Solutions

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

Solving Linear Programs Using the Simplex Method (Manual)

Econ 172A - Slides from Lecture 8

Solutions for Operations Research Final Exam

These definitions are only useful within the graphical solution of LP models. Thus, a more general definition is required.

Chapter II. Linear Programming

Linear Programming. Larry Blume. Cornell University & The Santa Fe Institute & IHS

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

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

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

Finite Math Linear Programming 1 May / 7

Lecture 9: Linear Programming

16.410/413 Principles of Autonomy and Decision Making

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

CSE 40/60236 Sam Bailey

1. List the Intercepts of the Inequality and then sketch the graph using the Math 125 method of shading

CSC 8301 Design & Analysis of Algorithms: Linear Programming

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

Some Advanced Topics in Linear Programming

1 Linear programming relaxation

OPERATIONS RESEARCH LECTURE NOTES

Full file at Linear Programming Models: Graphical and Computer Methods

Demo 1: KKT conditions with inequality constraints

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

Optimization. A first course on mathematics for economists Problem set 6: Linear programming

Duality. Primal program P: Maximize n. Dual program D: Minimize m. j=1 c jx j subject to n. j=1. i=1 b iy i subject to m. i=1

4.1 Graphical solution of a linear program and standard form

Practice Final Exam 2: Solutions

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

5. Consider the tree solution for a minimum cost network flow problem shown in Figure 5.

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

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

Linear programming II João Carlos Lourenço

Linear Programming has been used to:

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

LP Graphic Solution & Solver for LP

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

Approximation Algorithms

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL

THE GEOMETRY OF LINEAR PROGRAMMING

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

Math 5490 Network Flows

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

Column Generation in the Integral Simplex Method

Outline: Finish uncapacitated simplex method Negative cost cycle algorithm The max-flow problem Max-flow min-cut theorem

c) How many students took none of the three subjects?

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

Improved Gomory Cuts for Primal Cutting Plane Algorithms

February 10, 2005

PRIMAL-DUAL INTERIOR POINT METHOD FOR LINEAR PROGRAMMING. 1. Introduction

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

Approximation Algorithms: The Primal-Dual Method. My T. Thai

The MIP-Solving-Framework SCIP

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

NOTATION AND TERMINOLOGY

56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998

Design and Analysis of Algorithms (V)

Artificial Intelligence

Lecture Overview. 2 Shortest s t path. 2.1 The LP. 2.2 The Algorithm. COMPSCI 530: Design and Analysis of Algorithms 11/14/2013

Unit.9 Integer Programming

Chapter 1 Linear Programming. Paragraph 4 The Simplex Algorithm

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution.

Linear Programming Motivation: The Diet Problem

Recap, and outline of Lecture 18

ACO Comprehensive Exam October 12 and 13, Computability, Complexity and Algorithms

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

Transcription:

Assignment #3 - Solutions MATH 33A (1) Optimization Fall 15 Section 6.1 1. Typical isoprofit line is 3x 1 +c x =z. This has slope -3/c. If slope of isoprofit line is <-, then Point C is optimal. Thus if -3/c <- or c <1.5 the current basis is no longer optimal. Also if the slope of the isoprofit line is >-1 Point A will be optimal. Thus if -3/c >-1 or c >3 the current basis is no longer optimal. Thus for 1.5 c 3 the current basis remains optimal. For c =.5 x 1 =, x = 6, but z = 3() +.5(6) = $1.. Currently Number of Available Carpentry Hours = b =. If we reduce the number of available carpentry hours we see that when the carpentry constraint moves past the point (4,) the carpentry and finishing hours constraints will be binding at a point where x 1 >4. In this situation b <4 + = 6. Thus for b <6 the current basis is no longer optimal. If we increase the number of available carpentry hours we see that when the carpentry constraint moves past (,1) the carpentry and finishing hours constraints will both be binding at a point where x 1 <. In this situation b >1.Thus if b >1 the current basis is no longer optimal. Thus the current basis remains optimal for 6 b 1. If 6 b 1, the number of soldiers and trains produced will change. 3. If b 3, the demand for soldiers, is increased then the current basis remains feasible and therefore optimal. If, however, b 3 < then the point where the finishing and carpentry constraints are binding is no longer feasible (it has s 3 <). Thus for b 3 > the current basis remains optimal. For b 3 > the point where the carpentry and finishing constraints are still binding remains at (, 6) so producing soldiers and 6 trains remains optimal. 4a. If isocost line is flatter than HIM constraint, point C is optimal. If isocost line is steeper than HIW, point B is optimal. Thus current basis remains optimal if -7/ -c 1 /1-1/6 or 5/3 c 1 35. 4b. Current basis remains optimal if -7/ -5/c -1/6 or 1/7 c 3. 4c. If we decrease HIW requirement optimal solution moves towards D = (, ). We lose feasibility if HIW requirement is () = 4. Increase HIW requirement and optimal solution moves towards C = (1, ). We lose feasibility when HIW requirement = 7(1) = 4. Thus current basis remains optimal for 4,, HIW Requirement 4,,. If HIW = +, the optimal solution is where 7x 1 + x = + and x 1 + 1x = 4. This yields x 1 = 3.6 +.15 and x = 1.4 -.5. 4d. If we decrease HIM requirement optimal solution moves towards A = (4, ). We lose feasibility if HIM requirement is (4) =. Increase HIM requirement and optimal solution moves towards B = (, 14). We lose feasibility when HIM requirement = 14(1) = 16. Thus current basis remains optimal for,, HIW Requirement 16,,. If HIM = +, the optimal solution is where 7x 1 + x = and x 1 + 1x = 4 +. This yields x 1 = 3.6 - /4 and x = 1.4 + 7 /.

4e. If HIW requirement is +, z = 5x 1 + 1x = 3 + 5 so HIW shadow price is -5 (thousand). If HIM requirement is 4 +, z = 5x 1 + 1x = 3 + 7.5, so HIM shadow price is -7.5. 4f. New z-value = 3 - (-) (-5) = $31, Section 6. 1. BV = {x,s 1 }, B =, B -1 =, c BV = [1 ] 1 c BV B -1 = [1 ] 1 = [ 1] Coefficient of x 1 in row = c BV B -1 a 1 -c 1 = [ 1] +1= Coefficient of s in row = c BV B -1 = 1 RHS of row = c BV B -1 b = [ 1] 4 = Column for x 1 = B -1 a 1 = 1 = Column for s = B -1 = 1 RHS of Optimal Tableau = B -1 b = 1 4 = Thus optimal tableau is z + x 1 + s =

x 1 + x + s = x 1 + s 1 - s = Section 6.3 1. Change c 3 to + Δ. Then c BV B -1 = [ +Δ 6].5 4 1.5 = [ 1 + Δ 1-4Δ]. Coefficient of x in row =c BV B -1 a -c = [ 1 + Δ 1-4Δ ] 6-3 = 5 - Δ. 1.5 Thus New row is z + (5-Δ)x + (1 + Δ)s + (1-4Δ)s 3. Current basis remains optimal if satisfies the following 3 inequalities: 5-Δ iff Δ.5 1 + Δ iff Δ -5 1-4Δ iff Δ.5 Thus current basis remains optimal if -5 Δ.5 or -5 c 3 +.5. If c 3 = 1 the current solution is still optimal but z increases by to z =. If c 3 = 5, Δ = 5. Then the tableau for the current optimal basis becomes z -5x + s - 1s 3 = 3 -x + s 1 + s - s 3 = 4 -x + x 3 + s - 4s 3 = x 1 + 1.5x -.5s + 1.5s 3 = Eventually we obtain the new optimal solution z = 1/3, x 3 = 4/3, x 1 = x =.. If c 1 = 55 then Δ = -5. Then c BV B -1 = [ 55].5 4 = [ 1.5.5] 1.5 c BV B -1 b = [ 1.5.5] 4 = 7

6 Coefficient of x in row = [ 1.5.5] - 3 = -1.5. 1.5 Tableau for current optimal basis is now z x 1 x x 3 s 1 s s 3 RHS 1-1.5 1.5.5 7-1 - 4-1 -4 1 1.5 -.5 1.5 After pivoting in x we obtain the new optimal solution z = 7, s 1 = 7., x 3 = 11., x = 1.6. Thus reduction in price of desks has resulted in no desks being manufactured. 3. Denote the RHS of first constraint by 4 + Δ. As long as B -1 4 + Δ the current basis remains optimal. B -1 4 + Δ = 4 + Δ Thus for Δ -4 or b 1 4-4 = 4 the current basis remains optimal. If b 1 = 3 the current basis is still optimal. Thus s x x 1 1 3 3 = B -1 = 6 and new optimal solution is s 1 = 6, x 3 =, x 1 =. The new optimal z-value may be obtained from

3 z = c BV B -1 b = [ 1 1] = 4. Coefficient of Tables in row = [ 1 1] 3-5 = -5. Thus 1.5 current basis is no longer optimal. To compute the new optimal solution we need to determine the column for tables in the current optimal tableau. This is given by 5 B -1 a = 4 3 =.5 1.5 1.5.75 We can now find the new optimal solution from the following tableau: z x 1 x x 3 s 1 s s 3 RHS ---- 1-5 1 1 ---- -5 1-4 ---- 1-4 ---- 1.75 -.5 1.5 ---- Entering x in the basis in row 3 yields the new optimal solution z = 93 1/3, s 1 = 37 1/3, x 3 =, x = /3. 5. The coefficient of home computer tables in row will be [ 1 1] made. 6-36 = 4. Thus current solution remains optimal and no home computer tables will be Section 6.5. max z = 4x 1 + x + 3x 3 s.t. x 1 + x + x 3 1 x 1 + x + x 3-1 x 1, x, x 3

3. min w = 5y 1 + 7y + 6y 3 + 4y 4 s.t. y 1 + y + y 4 4 y 1 + y + y 3 = -1 y 3 + y 4 = y 1, y, y 3 y 4 u.r.s. Section 6.7 3. The dual objective function is w =.5y 1 +.5y. The optimal dual solution is y 1 =.4 y = 1.4 w =.5(.4)+.5(1.4) =.9. Thus rhs of optimal primal tableau's row must be.9. 5. From row of the optimal primal tableau we find that the optimal dual solution is y 1 = y = 1. But then Optimal Primal Obj. Function Value = Optimal Dual Obj. Func. Value = 6() + 1(1) = 1 /= /3 so something is wrong.