inequality+linear programming

2011-04-08 4:09 am
Inequality
1. If the solution of ax - b > 0 is x < 5, then the solution of bx - a > 0 is
A. x > 1/5
B. x < 1/5
C. x < -1/5
D. x > -1/5

Linear programming (Just want to ask how to set constraints)
2. A 24-hour fast food shop employs 20 full-time workers and 40 part-time workers. Under the policy of the fast food shop, there must be at least 8 full-time workers for all sessions. Moreover, the ratio of the number of full-time workers to that of part-time workers must be at least 2 to 3 in daytime sessions and at least 1 to 3 during overnight sessions.
Suppose the shop employs x full-time workers and y part-time workers for daytime sessions.

Write the all constraints on x and y.

The answer is
1. x ≥ 8
2. x ≤ 12
3. 3x - 2y ≥ 0
4. 3x - y ≤ 12
5. x and y are non-negative integers.

Just want to ask how to set the 2nd and 3rd one.

Urgent, thanks for help.
更新1:

Yeah i made some typo mistake it should be 3x - y ≤ 20

回答 (1)

2011-04-08 5:23 am
✔ 最佳答案
1)ax - b > 0
ax > b
x > b/a when a > 0
x < b/a when a < 0
So x < b/a = 5 and a < 0.Then the solution of bx - a > 0 is
bx > a
(b/a)x < 1 since a < 0
5x < 1
x < 1/5
(B)
2)Daytime : x full-time , y part-time
Overnight : 20 - x full-time , 40 - y part-time(5. x and y are non-negative integers.)
There must be at least 8 full-time workers for all sessions :x ≥ 8 and 20 - x ≥ 8
==>
1. x ≥ 8
and
2. x ≤ 12The ratio of the number of full-time workers to that of part-time workers must be at least 2 to 3 in daytime sessions :x : y ≥ 2 : 3
3x ≥ 2y==>3. 3x - 2y ≥ 0and at least 1 to 3 during overnight sessions :(20 - x) : (40 - y) ≥ 1 : 3
60 - 3x ≥ 40 - y==>4. 3x - y ≤ 20But your given answer is 4. 3x - y ≤ 12


收錄日期: 2021-04-21 22:20:39
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20110407000051KK01001

檢視 Wayback Machine 備份