MASSACHUSETTS INSTITUTE OF TECHNOLOGY

Similar documents
Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients.

Linear Programming and the Simplex Method

Optimization Methods MIT 2.098/6.255/ Final exam

subject to A 1 x + A 2 y b x j 0, j = 1,,n 1 y j = 0 or 1, j = 1,,n 2

IP Reference guide for integer programming formulations.

NUMERICAL METHODS FOR SOLVING EQUATIONS

Solutions for the Exam 9 January 2012

Linear Programming! References! Introduction to Algorithms.! Dasgupta, Papadimitriou, Vazirani. Algorithms.! Cormen, Leiserson, Rivest, and Stein.

TRANSPORTATION AND ASSIGNMENT PROBLEMS

Markov Decision Processes

Optimization Methods: Linear Programming Applications Assignment Problem 1. Module 4 Lecture Notes 3. Assignment Problem

The Method of Least Squares. To understand least squares fitting of data.

A NEW APPROACH TO SOLVE AN UNBALANCED ASSIGNMENT PROBLEM

Essential Question How can you recognize an arithmetic sequence from its graph?

Mathematical Notation Math Finite Mathematics

Infinite Sequences and Series

Optimally Sparse SVMs

x a x a Lecture 2 Series (See Chapter 1 in Boas)

Scheduling under Uncertainty using MILP Sensitivity Analysis

Differentiable Convex Functions

10-701/ Machine Learning Mid-term Exam Solution

Machine Learning Brett Bernstein

multiplies all measures of center and the standard deviation and range by k, while the variance is multiplied by k 2.

6.3 Testing Series With Positive Terms

TEACHER CERTIFICATION STUDY GUIDE

Mathematics: Paper 1

1. By using truth tables prove that, for all statements P and Q, the statement

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

6.003 Homework #3 Solutions

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

Kinetics of Complex Reactions

Math 113 Exam 3 Practice

Integer Linear Programming

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Recurrence Relations

ECE 8527: Introduction to Machine Learning and Pattern Recognition Midterm # 1. Vaishali Amin Fall, 2015

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Measures of Spread: Standard Deviation

ARITHMETIC PROGRESSIONS

ROLL CUTTING PROBLEMS UNDER STOCHASTIC DEMAND

Support vector machine revisited

Chapter 23. The Economics of Resources. Chapter Outline. Chapter Summary

Section 5.1 The Basics of Counting

The Simplex algorithm: Introductory example. The Simplex algorithm: Introductory example (2)

LINEAR PROGRAMMING. Introduction. Prototype example. Formulation of the LP problem. Excel Solution. Graphical solution

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Math 61CM - Solutions to homework 3

Linear Support Vector Machines

Frequentist Inference

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ

Signals & Systems Chapter3

MIXED REVIEW of Problem Solving

Properties and Tests of Zeros of Polynomial Functions

Chapter Vectors

Chapter 8: Estimating with Confidence

Introduction to Optimization, DIKU Monday 19 November David Pisinger. Duality, motivation

Fourier Series and the Wave Equation

( ) = p and P( i = b) = q.

(VII.A) Review of Orthogonality

Introduction to Machine Learning DIS10

Statistics 511 Additional Materials

CHAPTER 10 INFINITE SEQUENCES AND SERIES

WORKING WITH NUMBERS

Massachusetts Institute of Technology

Academic. Grade 9 Assessment of Mathematics. Released assessment Questions

Chapter 8 Interval Estimation

6.1. Sequences as Discrete Functions. Investigate

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

A New Solution Method for the Finite-Horizon Discrete-Time EOQ Problem

PROPERTIES OF AN EULER SQUARE

ECE-S352 Introduction to Digital Signal Processing Lecture 3A Direct Solution of Difference Equations

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

The Quark Puzzle A 3D printable model and/or paper printable puzzle that allows students to learn the laws of colour charge through inquiry.

Position Time Graphs 12.1

The Ratio Test. THEOREM 9.17 Ratio Test Let a n be a series with nonzero terms. 1. a. n converges absolutely if lim. n 1

6.041/6.431 Spring 2009 Final Exam Thursday, May 21, 1:30-4:30 PM.

Recitation 4: Lagrange Multipliers and Integration

AP Calculus AB 2006 Scoring Guidelines Form B

ST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n.

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Section A assesses the Units Numerical Analysis 1 and 2 Section B assesses the Unit Mathematics for Applied Mathematics

Bertrand s Postulate

SCORE. Exam 2. MA 114 Exam 2 Fall 2017

ECE 564/645 - Digital Communication Systems (Spring 2014) Final Exam Friday, May 2nd, 8:00-10:00am, Marston 220

Mathematical Induction

Weight Moving Average = n

Quadratic Functions. Before we start looking at polynomials, we should know some common terminology.

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

CSE 202 Homework 1 Matthias Springer, A Yes, there does always exist a perfect matching without a strong instability.

REGRESSION (Physics 1210 Notes, Partial Modified Appendix A)

Section 1 of Unit 03 (Pure Mathematics 3) Algebra

First, note that the LS residuals are orthogonal to the regressors. X Xb X y = 0 ( normal equations ; (k 1) ) So,

Algebra of Least Squares

Math 10A final exam, December 16, 2016

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

Generalized Semi- Markov Processes (GSMP)

Zeros of Polynomials

Transcription:

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 15.053 Optimizatio Methods i Maagemet Sciece (Sprig 2007) Problem Set 3 Due March 1 st, 2007 at 4:30 pm You will eed 116 poits out of 137 to receive a grade of 5. Problem 1: Britey s New Life (30 Poits) This problem allows you to practice the simplex algorithm ad to review some cocepts from geometry. Sice splittig with Kevi, Britey is slowly learig the harsh realties of havig to maage o her ow. She o loger has Kevi to help her with takig care of the kids, cleaig the house, maagig the garde, doig laudry, ad most importatly solvig her liear programs. Havig ot take a liear programmig class, she turs to you for help. Britey s goal is to maximize her utility poits. Curretly Britey eeds to divide her hours each day betwee activities icludig: partyig with Paris ad Lidsey, cuttig her hair, ad takig care of her childre. Accordig to her mother, each hour of partyig is worth 5 utility poits; each hour she speds o her hair is worth 3 utility poits; ad each hour takig care of the kids is worth 1 utility poit. Due to the fact she has ot toured or sold a CD i more the 5 years, Britey caot sped more the $6 i a give day. Partyig costs Britey $1 a hour. (Fortuately, Paris pays for all her driks. Hair stylig costs $1 a hour, ad carig for the kids costs $3 a hour. (She actually watches while she pays a local teeager to care for them.) I a give day, Britey has at most 15 uits of eergy to sped. Partyig for oe hour takes up 6 eergy uits; hair stylig for a hour takes up 3 eergy uits; ad carig for the kids for oe hour takes up 6 eergy uits. We assume that the total time spet o these activities ca be at most 24 hours. Ay amout of time ot sped o these activities, she speds sleepig. Usig Britey s cosideratios above formulate a liear program that will optimally allocate the umber of hours to partyig, hair stylig, ad carig for the kids. (Hit: Your LP should have exactly three variables) Page 1 of 9

Covert the LP i Part A to stadard form by addig variables. For each variable you added write a setece about what that variable represets. Is the costrait that models the total amout of time spet i a day o the three activities must be 24 hours or less redudat. If it is explai why ad remove it, if ot explai why ad leave it i the formulatio. Idetify a feasible solutio where all basic variables are slack variables. Part E: Usig your solutio i part D fill out the first Simplex Tableau. Part F: Solve the problem usig the Simplex Method. For each iteratio write dow the startig Tableau ad idicate the pivot elemet. Part G: Does Britey have multiple optimal ways to divide her time? Please explai your aswer. Part H: I the form of a lie segmet express all of the optimal solutios to Britey s problem. Problem 2: Turkey Tim ad the Simplex Tableau (25 Poits) This problem is meat to help defie some of the coditios that arise whe ruig the simplex method o a stadard form problem. Turkey Tim was tryig to fid the optimal solutio to a maximizatio problem i decisio variables x j 0 (for j = 1, 2,,7). After performig several pivots, he came up with a tableau similar to the oe below. However, Turkey Tim was watchig the West crush the East i the NBA all star game while workig o the problem, ad he smudged some of the elemets i the simplex tableau with buttered popcor. Ollie replaced these questioable elemets i the tableau with the letters (variables) A,B,C,D,E, ad F hopig that you (a bright studet takig 15.053) will be able to explai to Tim iformatio about the values that these letters ca represet. Cosider this liear programmig problem i caoical form (depedig o F), described i terms of the followig iitial tableau: Page 2 of 9

z x 1 x 2 x 3 x 4 x 5 x 6 x 7 RHS 1 0 0 0 A 3 B C 1 0 0 1 0 D 1 0 3 F 0 0 0 1-2 2 E -1 2 0 1 0 0 0-1 2 1 3 What is the curret objective value? Which of the variables are curretly i the basis? What is the curret basic feasible solutio? You may express your aswer i terms of the letters A to F if eeded. Parts D-G: for each statemet below, give sufficiet coditios o all six ukows A, B, C, D, E, F such that the statemet is true. If there is othig that ca be doe to make the statemet true please explai why. If there are several ways of accomplishig this, please state oly oe. The correspodig basic solutio is feasible but ot optimal Part E: The correspodig basic solutio is feasible, ad there is a choice of the eterig variable so that the first simplex iteratio idicates that the optimal cost is ifiity (ubouded from above). Part F: The correspodig basic solutio is feasible, x 6 is a cadidate for eterig the basis. Moreover, if x 6 is the eterig variable, the x 3 leaves the basis. Part G: The correspodig basic solutio is feasible, x 7 is a cadidate for eterig the basis. Moreover, if x 7 eters the basis, the the solutio ad the objective value remai uchaged after the pivot. This is called a degeerate BFS ad a degeerate pivot, ad we will lear more about these types of BFS s ext week Page 3 of 9

Part H: Suppose A=4, B=0, C=-2 ad F=3. Perform a pivot usig the simplex algorithm. Idicate the variable that eters the basis, the variable that leaves the basis, ad the total chage i profit. Also, write the resultig tableau. (The aswer for some of the coefficiets of the tableau will be i terms of D ad E, which were ot specified.) Why is the Simplex Method ot so simple at first? Relax, Tim. Everythig is difficult at first. After a bit of practice the Simplex Method will be as easy as carvig a Turkey. Bur!!!! Problem 3: Simplex Paths (25 Poits) This problem is meat to help you develop a uderstadig of how the simplex method moves form corer to corer. It should give some isights ito pivotig. Our four frieds: Ollie the Owl, Tim the Turkey, Cleaver the Beaver, ad Nooz the Fox are all performig the simplex method with the feasible regio show below, all usig the same objective fuctio. Labels of the corer poits A: (0,0,0) F: (0,1,1) B: (1,0,0) G: (1,0,1) C: (0,1,0) H: ( 1,1/2/,1) D: (0,0,1) I: (1,1,1/2) E: (1,1,0) J: (1/2,1,1) Poit (0, 0, 0) is ot visible here. (0, 0, 1) (1, 0, 1) (1,.5, 1) (.5, 1, 1) (0, 1, 1) (1, 0, 0) (1, 1,.5 ) (1, 1, 0) (0, 1, 0) Page 4 of 9

Tim suggests the followig the followig pairs of corer poits could result from successive iteratios. (A, B) (B, D) (E, H) (A, I) For each pair determie if Tim is correct ad explai your reasoig. Suppose each character starts the simplex method at Poit A. listed below are the paths each foud by ruig the algorithm o the objective fuctio, resultig i the optimal solutio H. Ollie s Path: A B G H Cleaver s Path: A E I H Nooz s Path: A C E B A D G H For each of the above, determie from the iformatio give if the path could have resulted whe ruig the simplex method o the problem. If ot explai why ot. Now suppose each character decides to use a differet objective fuctio. They will start ruig the simplex method at poit A. Their objectives are listed below: Tim s Objective: Mi z = x 1 + 2x 2 3x 3 Ollie s Objective Mi z = 5x 1 2x 2 4x 3 Nooz s Objective Mi z = 2x 1 7x 2 2x 3 For each of the followig objective fuctios determie which variable eters the basis as the first iteratio, ad what the ext corer poit will be. What is the improvemet i the objective fuctio. (If there are differet choices of a eterig variable, choose ay of the oes that are possible.) Does the feasible regio i the picture represet a problem i stadard form, or does it represet a problem with iequality costraits. How may iequalities are there, other tha oegativity costraits. Please explai your aswer. Problem 4: Variables that come ad Go (21 Poits) Page 5 of 9

This problem is meat to build isight ito how the simplex method works ad to coect the mathematics behid the simplex method with the geometry of the simplex method. Suppose we are solvig a miimizatio problem ad the variable x 3 is about to leave the basis. What ca you say about the z-row coefficiet of x 3 prior to the pivot? After the pivot is carried out, ca the z-row coefficiet of x 3 ca be less the zero. Explai your aswer. Is it true that a variable that has just left the basis ca ot reeter o the very ext iteratio? Briefly explai. Commet: a variable that has left the basis ca reeter o ay subsequet iteratio after the first iteratio. For a liear program with variables, how may times ca a variable (say x 1 ) eter ad leave the basis? (Give oe aswer, ad you do ot eed to justify it.) a. at most 1 time. b. at most 2 times. c. possibly more tha 2-1 times. Part E: What is the maximum umber of corer poits (bfs s) for a liear program with 3 liearly idepedet equality costraits ad 5 variables as well as o-egativity costraits? Problem 5: Plaig for Expressjet Airlies (15 Poits) The idea behid the problem is to cotiue to build your skills at formulatig liear programs ad to practice abstractio. Page 6 of 9

Expressjet Airlies will o loger operate flights exclusively for Cotietal Airlies but also for their ow idepedet ew airlies Express Jet. Maagemet believes that they will eed the followig umber of pilots over the ext five years. Year 1: 60 Pilots Year 2: 70 Pilots Year 3: 50 Pilots Year 4: 65 Pilots Year 5: 75 Pilots At the begiig of each year, the compay must decide how may pilots should be fired or hired. It costs Expressjet $4000 to hire a pilot ad $2000 to fire a pilot. A pilot s salary is $10,000 per year, as they are all flyig o UROP wages. At the begiig of year 1, Expressjet has 50 pilots. A pilot hired at the begiig of a year may be used to meet the curret year s requiremets ad is paid full salary for the curret year. It is feasible (but expesive) to have too may pilots Formulate a LP to miimize Expressjets s labor costs over the ext five years. Defie a set of variables ad data poits ad formulate the abstracted versio of the problem. Be sure to clearly idicate the costats ad variables you defie. (For example, let h j be the cost of hirig a pilot i year j; let f j be the cost of firig a pilot i year j; ad make up otatio for ay other terms you eed.) Problem 6: The Kapsack Problem (20 Poits) This problem is meat to help you practice abstract formulatio ad to build isight ito the feasible regios of stadard form problems with a sigle costrait. New best frieds, Lace Armstrog ad Matthew McCoaughey have decided to go o a campig trip to Napa Valley to sped some quality time aloe together. (Nothig is implied by this statemet.). They ca pick betwee two types of food: Lea Cuisie ad Hugry Ma diers to put i their back packs. Lea Cuisies weigh a 1 pouds ad have a utility of c 1. Hugry ma diers weight a 2 pouds ad have a utility of c 2. The kapsack they will carry ca hold at most b pouds. Page 7 of 9

Assumig fractioal items are allowed, formulate a liear program that will maximize the utility of Lace ad Matt s backpack. Is it true that if: c 2 c 1 a 2 a 1 b The the pair ca maximize utility by fillig the kapsack with Hugry Ma diers. a 2 Briefly, explai your aswer. (Please ote that a formal argumet or proof is ot ecessary.) Suppose ow that there are items. Each item i has weight a i ad utility c i. Formulate the abstracted versio of part A. What is the optimal solutio to part C i terms of the coefficiet vectors a ad b? (HINT: geeralize what you leared i part b.) Part E: Give a set of coditios that eed to be preset so that multiple optimal solutios exist. (HINT: your aswer should follow from your aswer to part D.) Challege Problem C: (10 Poits) Cosider the followig LP: Page 8 of 9

Maximize subject to j i =1 cx j aij x j = b i for i = 1 to m i =1 x j 0 for j = 1 to Suppose that x, x 1 2,..., x is a optimal solutio. Suppose that c1 is decreased ad all of the * * * other c s are kept the same, ad that x1, x2,..., x is the ew optimal solutio. Show that * x 1 x 1. Part B (5 poits): Suppose that 0 is a corer poit for the followig feasible regio. ij i =1 ax 0 for i = 1 to m j Show that it is the oly corer poit. A formal proof is ot eeded Page 9 of 9