The Stinky Fish Store has the following dilemma
· sells 150 gallon fish tanks
· sells about 1 tank each week (there is a 1/7 probability of a customer on a given day, assume uniform sales over the year)
· the tanks are a high profit item (earn $30 per sale)
· 5 days are needed for a new one to be delivered
· The storage cost is $0 (or $0.5) per tank per day
Strategies for maximizing profits
· Strategy 1: Order a new tank each time one is sold
· Strategy 2: Order a new tank once a week.
Question: Which is a better strategy?
要求给出题目的思路和写的程序(用matlab)
[此贴子已经被作者于2008-11-11 20:07:11编辑过]