hw04solutions

# hw04solutions - IEOR 162 Linear Programming Spring 2007...

This preview shows pages 1–2. Sign up to view the full content.

IEOR 162 Linear Programming Spring 2007 Homework 4 Solutions 3.12.4 (4 points) Data: T = the number of months p t = purchase price per 1000 bushels of wheat during month t s t = selling price per 1000 bushels of wheat during month t Variables: x t = amount of wheat (in 1000 bushel units) to purchase during month t y t = amount of wheat (in 1000 bushel units) to sell during month t I t = inventory of wheat (in 1000 bushel units) at the end of month t Formulation: max T t =1 ( s t y t - p t x t ) s.t. I 0 = 6 (1) I t = I t - 1 + x t - y t t = 1 , . . . , T (2) y t I t - 1 t = 1 , . . . , T (3) I t 20 t = 1 , . . . , T (4) x t , y t , I t 0 t = 1 , . . . , T (5) The objective maximizes the revenue earned from selling minus the costs of purchasing wheat. Constraint 1 sets our initial inventory to 6000 bushels as specified. Constraint set 2 indicates that the inventory on hand at the end of month t is equal to last month’s inventory plus whatever we buy minus whatever we sell. Constraint set 3 asserts that we cannot sell more than the amount we had on hand at the end of the previous month (stipulated in part b of the problem). Constraint set 4 ensures that we do not exceed our

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern