本區搜索:
Yahoo!字典
打印

[Core] 3條linear programming 唔識做

[隱藏]

3條linear programming 唔識做

1. A bus company has to send 240 students to a barbecue site. There are now 8 drivers, 4 mini-buses which can carry 16 people each, and 6 coaches which can carry 52 people each available. If x mini-buses and y coaches are used, write down all the constraints about x and y.

2. A farmer raises x pigs and y cows under the following constraints.
  • The total number of pigs and cows should be less than 10.
  • The number of cows should not be more than twice the number of pigs

Given the constraints are
x+y<10
y ≤ 2x
x and y are non-negative integers

If the profit of the selling a cow is 3 times that of selling a pig, how many livestocks of each type should the farmer raise to obtain the maximum profit?


3. A merchants buys 50 kg of grade A tea, 180kg of grade B tea and110 kg of grade C tea to prepare two tea mixtures P and Q. Mixture P is prepared by mixing grade B tea and grade C tea in the ratio of 3:1. Mixture Q is prepared by mixing grade A, grade B and grade C tea in the ratio of 1:2:2. If the merchant prepares x kg of mixture P and y kg of mixture Q, write down all the constraints about x and y.

跪求高手解答
   

TOP

3.
Mixture P    B(3x/4)   C(x/4)
Mixture Q  A(y/5) B(2y/5)  C(2y/5)
so the constraints are
y/5<=50
3x/4+2y/5<=180
x/4+2y/5<=110

TOP

2. 3 pigs and 6 cows

TOP

1.  x+y<=8
    x<=4
    y<=6
   16x+52y>=240
x and y are non-negative integers

[ 本帖最後由 數痴夢王 於 2016-3-24 12:19 PM 編輯 ]

TOP

回覆 4# 數痴夢王 的帖子

thanks!!!

TOP

重要聲明:小卒資訊論壇 是一個公開的學術交流及分享平台。 論壇內所有檔案及內容 都只可作學術交流之用,絕不能用商業用途。 所有會員均須對自己所發表的言論而引起的法律責任負責(包括上傳檔案或連結), 本壇並不擔保該等資料之準確性及可靠性,且概不會就因有關資料之任何不確或遺漏而引致之任何損失或 損害承擔任何責任(不論是否與侵權行為、訂立契約或其他方面有關 ) 。