Professional Documents
Culture Documents
08333333 1
Variables x1 x2 x3
Z 15720.83333 x1*300+x2*250+200*x3
x1: No. of units of Super Deluxe Machine
x2: No. of units of Siler Ball special Units produced
x3: No. of units of Bumper King x1 x2 x3
17 14 10
8 12 15
x1*17+14*x2+10*x3 <= 1000 300 250 200
x1*8 + 12* x2 + 15*x3 <= 600
x1<=25
x2<=50 Z 0
x3<=100
15700
15720.83 20.83333
LHS RHS
0 <= 1000
0 <= 600
0 <= 25
0 <= 50
0 <= 100
Problem 2 :
Objective function
z 4000000
No. of Advertising campaign in TV during daytime
No. of Advertising campaign in TV during Prime time.
No. of Advertising campaign in Radio.
No. of Advertising campaign in Magazines.
150000
x1 mf
x2 cb
x3 mm
x3 >= 0.25*(x1+x2+x3)
x2 <= .35*(x1+x2+x3)
0.11*x1+.08*x2+.07*x3 >= 12000
z 150000
decision 90000 0 30000
x1 x2 x3
constraints
0 >= 0
-42000 <= 0
0.25*(x1+x2+x3) x3-0.25*(x1+x2+x3)>=0 12000 >= 12000
.35*(x1+x2+x3) x2-0.35(x1+x2+x3)<=0
z 30000
x1 - No. of nurses who report to the hospital at the beginning of Period 1, i.e., 6 AM
z
x1+x6>=60 Minimize Z = x1+x2+x3+x4+x5+x6
x2+x1>=70
x3+x2>=60
x4+x3>=50
x5+x4>=20
x6+x5>=30
RHS
60 785 WITH 50 PEOPLE REPORTING AT 2 AM
70
60 835 WITH NO ONE REPORTING AT 6 PM AND 2 AM
50
20
30
150
x1
x1
8
x1
x2
x1<=8
x2<=10
z=
x1
x2
5x1+3x2
8
1.6666666666667
45
8
1.6666666666667
no of grade 1 x2 no of grade 2
x2 >= 0
1.666667
>= 0
>= 0
1 + 15*8*x2 >=1800
40x1+36x2 380
<= 8
<= 10
>= 45 200x1+120>= 1800 (divied by )
<= 8
<= 10
>= 45
>= 0
>= 0
x1 No. of Logs cut under scenario 1.
x2 No. of Logs cut under scenario 2.
x3 No. of Logs cut under scenario 3.
x4 No. of Logs cut under scenario 4.
8 10 12 waste
1 2 0 0 4
2 1 1 0 2
3 0 2 0 0
4 1 0 1 0
x1 x2
13 0
2x1 + x2 + x4 >= 276 276 >=
x2 + 2x3 >= 100 100 >=
x4 >= 250 250 >=
x1 + x2 +x3 +x4 <= 350 313 <=
Min z 4x1 + 2x2 52
x3 x4
50 250
276
100
250
350
x1 No. of Barrels of Crude 1 used for blending Super grade
x2 No. of Barrels of Crude 2 used for blending for Super grade
x3 No. of Barrels of Crude 3 used for blending for Super grade
x4 No. of Barrels of Crude 1 used for blending for Premuim grade
x5 No. of Barrels of Crude 2 used for blending for Premuim grade
x6 No. of Barrels of Crude 3 used for blending for Premuim grade
x7 No. of Barrels of Crude 1 used for blending for Regular grade
x8 No. of Barrels of Crude 2 used for blending for Regular grade
x9 No. of Barrels of Crude 3 used for blending for Regular grade
x1 x2 x3 x4 x5 x6 x7 x8 x9
1200 0 300 1200 0 1800 500 0 2000
Octane rating z
12x1 + 6 x2 + 8 x3 >= 10(x1 + x2 + x3)
12 x4 + 6 x5 + 8 x6 >= 8 (x4 + x5 + x6 )
12 x7 + 6 x8 + 8 x9 >= 6( x7 + x8 + x9)
Total production
x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 <= 14000
Sales price per barrel Maximum demand / day
Product Specifications
Average Octane rating of at least 10
Super
At most 1% Sulphur
Average Octane rating of at least 8
Premium
At most 2% Sulphur
Average Octane rating of at least 6
Regular
At most 2.5% Sulphur
Maximize Profit = SP - CP
Total Cost = ((x1+ x4 + x7)*45 + (x2 + x5 + x8)*35 + (x3 + x6 + x9)* 25) + 4* (x1 + x2 + x3 +x4 +x5 + x6 + x7 + x8)
Total Selling Price = (x1 +x2 +x3 )*70 + (x4 + x5 + x6 ) * 60 + ( x7 + x8 + x9) * 50
Profit = ((x1 +x2 +x3 )*70 + (x4 + x5 + x6 ) * 60 + ( x7 + x8 + x9) * 50) - ((x1+ x4 + x7)*45 + (x2 + x5 + x8)*35 + (x3 + x6 + x9)* 25)*4
149000
Purchase price
per barrel
Crude 1 $45
Crude 2 $35
Crude 3 $25
Sulphur
Octane Rating
content
Crude Oil 1 12.00 0.5
Crude Oil 2 6.00 2.00
Crude Oil 3 8.00 3.00
xf1
3
8am - noon 4
noon-4pm 8
4pm-8pm 10
8pm- midnight 6
3
6
7
4
z
Full time consultant
No of Part time consultant
>= 4
>= 8
>= 10
>= 6
>= 2
>= 4
>= 6
>= 4
1504
Compartment Weight capacity (tons) Space capacity (Cubic feet)
Front 12.00 7,000.00
Center 18.00 9,000.00
Back 10.00 5,000.00
Profit
Cargo Weight (tons) Volume (Cubic feet/ton)
($/ton)
1 20 500 320
2 16 700 400
3 25 600 360
4 13 400 290
x1+x2+x3+x4 12
x5+x6+x7+x8 18
x5
x1>=0
x2>=0
x3>=0
x4>=0
x5>=0
x6>=0
x7>=0
x8>=0
x9>=0
x10>=0 z =(X1+X5+X9)*320+(X2+X6+X10)*400+(X3+X7+X11)*360+(X4+X8
x11>=0
x12>=0
x6 x7 x8 x9 x10 x11 x12
3.166667 0 6.333333 0 3.333333 0 6.666667
12 <= 12
18 <= 18
10 <= 10
10.5 <= 20
6.5 <= 16
10 <= 25
13 <= 13
7000 <= 7000
9000 <= 9000
5000 <= 5000
0= 0
0= 0
0= 0
2 >= 0
0 >= 0
10 >= 0
0 >= 0
8.5 >= 0
3.166667 >= 0
0 >= 0
6.333333 >= 0
0 >= 0
3.333333 >= 0
0 >= 0
6.666667 >= 0
)*400+(X3+X7+X11)*360+(X4+X8+X12)*290 13330
x1 x2
0.33333333333333 0
Sun Mon
x1 1 1
x2 0 1
x3 0 0
x4 1 0
x5 1 1
x6 1 1
x7 1 1
8 6
x1+x4+x5+x6+x7 >= 8
x1+x2+x5+x6+x7 >= 6
x1+x2+x3+x6+x7 >= 5
x1+x2+x3+x4+x7 >=4
x1+x2+x3+x4+x5 >= 6
x2+x3+x4+x5+x6 >=7
x3+x4+x5+x6+x7 >= 9
x1 <=
x2 <=
x3 <=
5 4 6 7 9
8 >= 8
6 >= 6
5 >= 5
4 >= 4
6 >= 6
8.66666666666667 >= 7
9 >= 9
0.333333333333333 >= 0
9.33333333333333 0 >= 0
1.33333333333333 >= 0
2 >= 0
2.33333333333333 >= 0
3 >= 0
0.333333333333333 >= 0
s of Peanuts used.
s of Cashews used.
s of Almonds used.
30000
12000
10000
7 x1 + 4 x2 + 2 x3 <= 100
5 x1 + 8 x2 + 7 x3 <= 200
7 x3 <= 20
Maximize Z 50 x1 + 20 x2 + 25 x3
Output per run
(units)
B
4
8
3
x3 - 2x2 >=0
x2 - 2 x1 >= 0
x1 no of new towels
x2 no of old towels laundried on one-day
x3 no of old towels laundries on two-day
Max
Hours
8-9 am
9-10 am
10-11 am
11-12 am
12-1 pm
1-2 pm
2-3 pm
3-4 pm
x1 + x4 + x5<= 15
x2 + x1 + x6<= 5
x3 + x2 + x5 <= 12
x4 + x3 + x6<= 6
Minimize Z
Unit Qty of mixture 1 produced
unit Qty of mixture 2 produced
unit Qty of mixture 3 produced
2 x2 + 1.5 x2 + x3
1
wels laundried on one-day x1
wels laundries on two-day
x1 <=
x1+ x2 <=
x2 + x3 <=
x1 No of Product C is produced
x2 No of Product B is produced
2x1 + x2 <= 2
x1 + 2x2 <= 2
3 x1 + 3 x2 <= 4
Z 3 x1 + 2 x2
Tues Wed Thus
1 1 1
1 1 1
Clerks
5 fc1 + pc1
4 fc1 + pc1 + fc2 +pc2
6 fc1 + pc1 + fc2 + pc2 +p c3
8 pc1 + fc2 +pc2 + pc3 +pc4
10 fc1 +pc2 + pc3 + pc4 + p5
9 fc1 + fc2 + pc3 + pc4 +pc5
7 fc1 + fc2 + pc4+pc5
4 fc2 + pc5
(fc1 + fc2)>= 0.4 ( pc1 + pc2 + pc3 + pc4 + pc5 + fc1 + fc2)
fc1 , fc2 >= 1
Minimize Z
12 am-6 am 15
6 am-12 pm 5
12 pm - 6 pm 12
6 pm- 12 am 6
x1 + x4 + x5<= 15
x2 + x1 + x6<= 5
x3 + x2 + x5 <= 12
x4 + x3 + x6<= 6
x1 + x2 + x3 <= 50
x3 <= 10
3 x1 + 6 x2 + 5 x3 <= 200
x1,x2,x3 >= 0
Maximize Zx1 * 150 + x2 * 200 + 300 * x3
Material Labor Profit
A 2 4 40
B 3 3 35
60 96
Max z 40 x1 + 35 x2
1.00 6 AM to 10 AM 60.00
2.00 10 AM to 2 PM 70.00 x1
3.00 2 PM to 6 PM 60.00 x2
4.00 6 PM to 10 PM 50.00 x3
5.00 10 PM to 2 AM 20.00 x4
6.00 2 AM to 6 AM 30.00 x5
x6
x1 x2
60 10
x1 + x6 >= 60
x1+x2 >=70
x2 + x3 >= 60
x3 + x4 >= 50
x4 + x5 >=20
x5 + x6 >= 30
x1>=0
x2>=0
x3>=0
x4>=0
x5>=0
x6>=0
z 150
x1 No of Grade 1 officer
x2 No of Grade 2 officer
no. of nurses that comes in period 1
no. of nurses that comes in period 2 25*x1*8 +15*x2*8 >=1800
no. of nurses that comes in period 3
no. of nurses that comes in period 4 x1 <= 8
no. of nurses that comes in period 5 x2 <= 10
no. of nurses that comes in period 6
(25*x1*8*0.02)*2+(15*x2*8*.05)*2
380
RETURN RF
A 0.09 5 500000
B 0.15 8
x1 + x2 = 500000
5x1 + 8x2 <= 6
x1 No of grade 1 officers
x2 No of grade 2 officers
x1 <= 10
x2 <= 15
P1 P2
M1 5 0 50
M2 10 18 90
M3 0 10 50
N1 10
N2 15
P1 P2
N1 2 1 10
N2 3 2 15
Company
1500 30
15
8 hrs x1 2
x2 0
x3 0
Minimize
2 x2 + 4 x4 + 2 x6 + x7 + 2 x9 >= 400
x2 + x5 + x6 + 2 x7 >= 200
x3 + x5 + 2 x8 + x9 >= 300
x1 tv
x2 radio
x3 newspaper
x1 unit of F1
x2 unit of f2
F1
B1 3
B2 4
Cost 6
3 x1 + 5 x2 >= 50
4x1 + 3 x2 >= 60
Minimize
x1
x2
6 x1 + 5 x2 <= 500
4 x1 + 6 x2 <= 400
6 x1 + 5 x1 >= 300
9 x1 + 5 x2 >= 200
x
y
z
x
y
z
Maximze
x1 equity
x2 debt
x1 + x2 500000
75000
x1 <= 300000
x2 <= 300000 0.30 x1 + 0.08 x2 >= 75000
2x1 + 4 x2 >= 60
3x1 + x2 >= 40
Table Chair
Type 1 4 2
Type 2 3 5
man hours 5 3
50 30
Profit
P1 3
P2 4
15
6
2
0
1
0
1
Remaining 60 Rmaining
21 27 15 21 27
0 0 0 x4 4 0 0 0
1 0 9 x5 0 1 1 12
0 1 3 x6 2 1 0 9
x7 1 2 0 3
x8 0 0 2 6
x9 2 0 1 3
x4 + 2 x6 + x7 + 2 x9 >= 400
+ x6 + 2 x7 >= 200
+ 2 x8 + x9 >= 300
x3 <= 20000000
0 x1 + 1000000 x2 + 200000 x3
F2
5 50
3 60
3
Z 6 x1 + 3 x2
No. of operation of P1
No. of operations of P2
200
x y z
4000 2
6000 1.5
2000 4
20000
x1 + x2 + x3 <= 200
10*x1 + 12*x2 + 10 *x3 <= 20000
Yeld SP 4000 * x1*2 + 6000 * x2 * 1.5 + 2000 * x3 * 4
2000
1500
1000
A B
2 1
3 2
7.5 12
7 8
0 0 3
2 0 1
1 0 2
1 1 0
0 1 1
57
x1 No. of gallons of pure apple juice to produce
x2 No. of gallons of pure Grape juice to produce
x3 No. of gallons of pure Cranberry juice to produce
x4 No. of gallons of Apple-grape juice to produce
x5 No. of gallons of Apple-Cranberry juice to produce
Super
Deluxe 17.00 8.00 $300
Machine
Silver Ball
14.00 12.00 $250
Special
Bumper
10.00 15.00 $200
King
x1
x2
x3
x1
17 x1 + 14 x2 + 10 x3 <=
8 x1 + 12 x2 + 15 x3 <= 6
x1 <= 25
x2 <= 50
x3 <= 100
x1 >= 0
x2 >= 0
x3 >= 0
Maximize Z
x3 >= 0.25*( x1 + x2 + x3 )
x2 <= 0.35 * (x1 + x2+ x3)
x1,x2,x3,x4 >=0
Product Specifications
x2 x3
17 x1 + 14 x2 + 10 x3 <= 1000
8 x1 + 12 x2 + 15 x3 <= 600
wage/hr
4
3
5 x1 + 3 x2 >= 45
WageCost 8*x1*4 + 8*x2* 3
32 x1 + 24 x2
Cost to company (0.02*25*x1*8 + 0.05 * 15*x2 * 8)* 2
(4 x1 + 6 x2 )*2
40 x1 + 36 x2
Day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
2 Television
Prime
Daytime
Time
Cost of an advertising
$75,000
unit $40,000
No. of potential
customers reached per ### ###
unit
No. of women
customers reached per ### ###
unit
x1 >= 3
x2 >= 2
x3 >= 5 Maximize 400000 x1 + 900000 x2 +
x3 <= 10
x4 >= 5
x4 <= 10
4 Minimal
Clock
Period No. of
Time
6 AM to nurses
1.00 60.00
10 AM
10 AM
2.00 70.00
to 2 PM
2 PM to
3.00 60.00
66PM
PMto
4.00 50.00
10
10PM
PM
5.00 20.00
to 2 AM
2 AM to
6.00 30.00
6 AM
x1 + x6 >= 60
x1 + x2 >= 70
x2 + x3 >= 60
x3 + x4 >= 50
x4 + x5 >= 20
x5 + x6 >= 30
Maximize Z = x1 + x2 + x3 + x4 + x5 + x6
6 Stock Cutting
8 10 12
x1 1 0 1
x2 1 1 0
x3 2 0 0
x4 0 2 0
x1
x2
x3
x4
x1 + x2 + 2 x3 >= 276
x2 + 2 x4 >= 100
x1 >= 250
Minimize Z 2 x2 + 4 x3
Average attendance
sun
58,000.00
7 x1 1
42,000.00
5 x2 0
35,000.00
4 x3 0
25,000.00
3 x4 1
44,000.00
6 x5 1
51,000.00
6 x6 1
68,000.00 9 x7 1
x1 + x4+ x5 + x6 + x7 >= 7
x1 + x2 + x5+ x6+ x7 >= 5
x1 +x2 + x3 + x6+ x7 >= 4
x1 + x2 +x3 +x4 + x7 >= 3
x1 +x2 + x3+ x4+ x5 >= 6
x2 + x3+ x4+ +x5+ x6 >= 6
x3 + x4 + x5+ x6 + x7 >= 9
Radio Magazin
es
$30,000
$15,000
### ###
### ###
Remaining
0 350 20
2
4
0
1 1 1 1 0 0
1 1 1 1 1 0
0 1 1 1 1 1
0 0 1 1 1 1
1 0 0 1 1 1
1 1 0 0 1 1
1 1 1 0 0 1
Cost Category Each TV commerEach Magazine Each Sunday Ad
Ad Budget 300 150 100
Planning budget 90 30 40
Expected exposure 130 600 500
x1 no of times ad comes on TV
x2 no of times ad comes in magzines
x3 no of times ad comes on Sunday Newspaper
x1 x2 x3
0 20 10
300 x1 + 150 x2 + 100 x3 <= 4000
90 x1 + 30 x2 + 40 x3 <= 1000 LHS
x1 <= 5 4000
1000
Maximize Z 130 x1 + 600 x2 + 500 x3 0
17000
x1 No of hrs. worked by V
x2 No. of hrs worked by Ra
x1 x2 x3 x3 No. of hrs worked by Sw
2 3 2
<= 320
>= 2
>= 3
>= 2
>= 0
>= 0
>= 0
No. of working days available for next 2 months No. of hrs working on daily basis.
15 3
20 3
16 3