Professional Documents
Culture Documents
Operation Research (Pe405) : Unit-2: Linear Programming: Formulation
Operation Research (Pe405) : Unit-2: Linear Programming: Formulation
Operation Research (Pe405) : Unit-2: Linear Programming: Formulation
Unit-2:
Linear Programming:
Formulation
Develop a model
• Rule of thumb, even if an experienced manager, in all likehood may not provide the
right answer in such cases.
• The decision problem can be formulated and solved as mathematical programming
problem.
• For example, a manager may be faced with the problem of deciding the appropriate
product mix of the four product.
Iconic Model
Physical Model
Analogue Model
Model
Verbal Model
Symbolic Model Deterministic
Model
Mathematical
Model
Probabilistic
Model
Mathematical Programming
A company manufactures two different types of products: P1 and P2. Each products
requires processing on milling machine and drilling machine per week. But each type
of machine has limited hours available per week. The net profit per unit of product,
resource requirements of the product and availability of resources are summarized in
table:
Processing time (Hours) Machine-hours
Machine type
Products P1 Products P2 available per week
Milling machine 2 5 200
Drilling machine 4 2 240
Profit/unit (Rs.) 250 400
Solution:
𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒, 𝑍 = 250𝑥1 + 400𝑥2
Subject to,
2𝑥1 + 5𝑥2 ≤ 200
4𝑥1 + 2𝑥2 ≤ 240
𝑥1 , 𝑥2 ≥ 0
A furniture manufacturer company plans to make two products: chairs and tables from
its available resources which consists of 400 square feet of mahogany timber board
and 450 man-hours of labor. It knows that to make a chair requires 5 square feet
timber, 10 man-hours and yields a profit of Rs. 45, while each table uses 20 square
feet timber, 15 man-hours and profit of Rs. 80. The problem is to determine how many
chairs and tables the company can make keeping within its resources constraints so
that it maximize the profit.
• Solution:
• Decision Variables:
• Objective function:
• Set of constraints:
• Non-negativity restriction:
• Decision Variables:
Let, X1 = No. of chairs to be produced by company
X2 = No. of tables to be produced by company
• Objective function:
𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑃𝑟𝑜𝑓𝑖𝑡 , 𝑍 = 45𝑥1 + 80𝑥2
• Set of constraints:
5𝑥1 + 20𝑥2 ≤ 400
10𝑥1 + 15𝑥2 ≤ 450
• Non-negativity restriction:
𝑥1 , 𝑥2 ≥ 0
1. Proportionality
• A basic assumption of linear programming is that proportionality exists in the
objective function and the constrains equations.
• For example, if one unit of a product is assumed to contribute Rs 10 towards the
profit, then the total contribution would be equal to 10X.
2. Additivity:
• Another assumption underlying the linear programming model is that the objective
function and constraints inequalities both, the total of all the objectives is given by
the sum total of each activity conducted separately.
• Thus, the total profit in the objective function is determine by the sum of profit
contributed by each of the product separately.
Operation Research: PE405
Assumptions in Linear Programming (Cont…):
3. Continuity
• It is also an assumption of a linear programming model that , the decision variable
are continuous.
• As a consequence combinations of output with fractional values in the context of
production problem are possible and obtained frequently.
2
• For example, the best solution to a problem might be to produce 5 units of the
3
1
product A and 10 units of product B per week.
3
4. Certainty:
• A further assumption underlying a linear programming model is that the various
parameters, namely, the objective function coefficients , the coefficients of
constraints and resources values are known with certainty.
• The linear programming is obviously deterministic in nature.
Operation Research: PE405
Assumptions in Linear Programming (Cont…):
5. Finite choices:
• A linear programming model also assumes that a limited number of choices are
available to a decision-maker and the decision variables do not assume negative
value.
• For instance, in the production problem, the output cannot obviously be negative,
because a negative production implies that we should be able to reverse the
production process and convert the finished output into the raw materials.
Vitcos (Anand) has 26 bus with 30 passenger seats and 13 bus with 50 passenger
seats. Each bus needs 1 driver and 1 conductor. Vitcos wants to carry at least 440
passengers on a certain route and has 30 conductors available. Formulate model to
find the optimum number of assignment of drivers to be recruited.
• Solution:
1. Decision Variables:
2. Objective function:
3. Set of constraints:
4. Non-negativity restriction:
Solution:
• Decision Variables:
Let, X1 = No. of grade I inspector assigned for inspection
X2 = No. of Grade II inspector assigned for inspection
• Set of Constraints:
Grade I inspection can check 20 pieces/hour
per day = 20×8×X1 = 160X1
• Objection Function:
Objective function is assignment of inspectors that minimize the daily inspection
costs:
Inspector
Grade-I Grade-II
Cost/hour (Rs) 50 40
Error Cost (Rs) 30 30
Accuracy 96% 92%
Error 4% 8%
• Objection Function:
Minimize (Cost), Z = 592𝑋1 + 588.8𝑋2
Subject to,
40𝑋1 + 28𝑋2 ≥ 1500 (No. of pieces to be inspected constraint )
𝑋1 ≤ 10 (Grade-I inspector constraint)
𝑋2 ≤ 15 (Grade-II inspector constraint)
𝑋1 , 𝑋2 ≥ 0
Where, 𝑋1 , 𝑋2 , … … … , 𝑋𝑛 ≥ 0
4𝑥1 + 4𝑥2 = 40
12
We get,
x2 = 10 when x1 = 0 (0,10) & 9
4𝑥1 + 4𝑥2 = 40
x1 = 10 when x2 = 0 (10,0)
6
Now plot the second constraint line
on the graph.
3
5𝑥1 + 10𝑥2 = 60
5𝑥1 + 10𝑥2 ≤ 60
12
(12,0) & (0,6)
• From the second constraint: 9
4𝑥1 + 4𝑥2 ≤ 40
4𝑥1 + 4𝑥2 ≤ 40
6 D
(10,0) & (0,10)
• Find feasible region from the C
3 Feasible
common area covered by the Region 5𝑥1 + 10𝑥2 ≤ 60
constraints. 0 x1
A0 3 6 9 B 12 15
• The closed polygon A-B-C-D is
the feasible region.
Operation Research: PE405
Graphical Method: Example-1 (Cont.)
• The objective function value at each of the corner point of the closed polygon is
computed by substituting its coordinates I the objective function as:
• Coordinates at:
A (0,0) B (10,0) C (8,2) D (0,6)
𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒, 𝑍 = 6𝑥1 + 8𝑥2
𝑍 𝐴 = (6 × 0) + (8 × 0) = 0
𝑍 𝐵 = 6 × 10 + 8 × 0 = 60
𝑍 𝐶 = (6
6×8
8) + (8
8×2
2) = 64 * Optimum Point
𝑍 𝐷 = (6 × 0) + (8 × 6) = 48
• The Z value is he maximum for the corner point C. Hence the corresponding
solution is optimum (Z=64 and x1=8 & x2=2).
Operation Research: PE405
Linear Programming: Graphical Method (Example-2)
Solve the following LP problem using graphical method.
𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒, 𝑍 = 2𝑥1 + 3𝑥2
Subject to,
𝑥1 + 𝑥2 ≥ 6
7𝑥1 + 𝑥2 ≥ 14
where, 𝑥1 , 𝑥2 ≥ 0
• From the first constraint:
𝑥1 + 𝑥2 = 6 --------------(0,6) & (6,0)
• From the second constraint:
7𝑥1 + 𝑥2 = 14 -------------(2,0) & (0,14)
• Plot variable x1 on the X-axis and x2 on the Y-axis.
Operation Research: PE405
Graphical Method: Example-1 (Cont.)
where, 𝑥1 , 𝑥2 ≥ 0