Operations Research Graphical
Operations Research Graphical
•
Example 1.
• Monto wooden soldiers and trains. Each soldier sells for $27, uses $10
of raw materials and takes $14 of labor & overhead costs. Each train
sells for $21, uses $9 of raw materials, and takes $10 of overhead
costs. Each soldier needs 2 hours finishing and 1 hour carpentry; each
train needs 1 hour finishing and 1 hour carpentry. Raw materials are
unlimited, but only 100 hours of finishing and 80 hours of carpentry
are available each week. Demand for trains is unlimited; but at most
40 soldiers can be sold each week. How many of each toy should be
made each week to maximize profits
Solution:-
• Decision variables :-Monto must decide how many soldiers and trains
should be manufactured each week. With this in mind,
• we define:
x1 = the number of soldiers produced per week
x2 = the number of trains produced per week
Objective function -is the function of the decision variables that the
decision maker wants to maximize (revenue or profit) or minimize (costs).
Monto can concentrate on maximizing the total weekly profit (z).
Maximize z = 3x1 + 2x2
• Constraints :-three constraints:
• Finishing time per week
• Carpentry time per week
• Weekly demand for soldiers
• The feasible region is the set of all points satisfying the constraints.
max z = 3x1 + 2x2
2x1 + x2 ≤ 100 (Finishing constraint)
x1 + x2 ≤ 80 (Carpentry constraint)
x1 ≤ 40 (Demand constraint)
x1, x2 ≥ 0 (Sign restrictions)
EX. 1. A company manufactures two products, X and Y by
using three machines A, B, and C. Machine A has 4 hours of
capacity available during the coming week. Similarly, the
available capacity of machines B and C during the coming
week is 24 hours and 35 hours respectively. One unit
ofproduct X requires one hour of Machine A, 3 hours of
machine B and 10 hours of machine C. Similarly
one unit of product Y requires 1 hour, 8 hour and 7 hours of
machine A, B and C respectively. When
one unit of X is sold in the market, it yields a profit of Rs. 5/-
per product and that of Y is Rs. 7/- per
unit. Solve the problem by using graphical method to find the
optimal product mix.
Write in tabular form
• Let the company manufactures the xunits of X &Y and then the linear programming
model is
Maximise 5x+7y
subject to x+y =4,
3x+8y=24
10x+7y=35
Both x & y is greaterthan or equals to zero
Lets take machine A,B&C and we will find boundary
condition if x=0 and y=0 we get
for A machine x+y=4 ,
if x=0,then y=4
if y=0 then x=4 then coordinate will be form for
A machine is (0,4)&(4,0)
similarly sove machine B &C we get
(0,3),(8,0) for B machine
(0,5) &(0,3.5)For C machine