回複:just delete that sentence

來源: 2010-05-09 15:59:48 [舊帖] [給我悄悄話] 本文已被閱讀:

OK.Optimal policy:
1)If you sell y carts ,no $100,you buy all ,get the $100,and close door,OR sell all.
F(y)=[100xy+(100-y)(x*y+100)]/100.
y=(100x-100)/2x,you get Max.
2)If you sell y carts ,no $100,you buy till get $100,and then sell "0" all.OR sell all.
F(y)=[100xy+(100-y)(x*y+100)+(100-y)/2]/100
y=(100x-100)/2x,(Max)though y is the same,but gain is more.
Good luck.