[其他]線性規劃問題

看板Math作者 (阿伸)時間14年前 (2011/04/17 00:32), 編輯推噓0(003)
留言3則, 1人參與, 最新討論串1/1
1. Suppose that you now have $60 us dollars and 60 francs in your hand. 2. you can buy 4 francs by spending $1 us dollar; also,you can buy $1 us dollar by spending 3 francs 3. you are trying to maximize the number of us dollars that you can have in hand after the transaction commplete 4. How do you compute the # of us dollars you are going to have in hand? --- You now have $60 + the # of us dollars you have bought (by paying francs) - the # of us dollars you have spent(spent for buying francs) 我的想法為 Max Z=60+X1-1/3X2 s.t. 0<=X1<=15 X2限制式想不出來 請各位幫忙解答 謝謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.167.97.199

04/17 00:43, , 1F
X1代表US去買francs的量
04/17 00:43, 1F

04/17 00:44, , 2F
所以max Z=60-X1+(4X1+60)/3=80+X1/3 0<=X1<=60
04/17 00:44, 2F

04/17 00:45, , 3F
所以得到100,這樣嗎@@?
04/17 00:45, 3F
文章代碼(AID): #1DgSITcw (Math)