Operation Research Lab Manual - Lab 03
Operation Research Lab Manual - Lab 03
(NUML)
Rawalpindi Campus
Department of Engineering and Computer Sciences
Operation Research
Lab. Manual
Prepared by:
is applicable to solve the LPP involving two decision variables x1, and x2, we usually take these
decision variables as x, y instead of x1, x2. To solve an LPP, the graphical method includes two
major steps.
i. The determination of the solution space that defines the feasible solution (Note that the
set of values of the variable x1, x2, x3,....xn which satisfy all the constraints and also the
non-negative conditions is called the feasible solution of the LPP).
ii. The determination of the optimal solution from the feasible region.
iii. There are two techniques to find the optimal solution of an LPP. Corner Point Method
and ISO- PROFIT (OR ISO-COST).
We may come across LPP which may have no feasible (infeasible) solution or may have
unbounded solution. If the intersection of the constraints is empty and the problem has no
feasible solution. Therefore the given L.P.P has no solution.
CONCLUSIONS:
The graphical method of solving an LPP is possible only if there are two decision variables (say
x and y). This method is not suitable if there are three or more decision variables. In this case,
there is a powerful method called 'simplex method'. The wide usage of liner programming helps
in business and economics, to use the resources available in a planned and economical way. We
have just learnt the basics of LPP; there is in fact a lot to learn. A lot of research work is carried
all over the world which is based on LPP.
There are a few limitations of linear programming
i. Linear programming is applicable only to problems where the constraints and objective
function are linear i.e., where they can be expressed as equations which represent straight
Example:
A company manufactures and sells two (2) types of products: ‘A’ and ‘B’.
The cost of the product for each unit of ‘A’ and ‘B’ is $200 and $150 respectively.
Each unit of ‘A’ yields a profit of $20 and each unit of ‘B’ yields a profit of $15 on selling.
Company estimates the monthly demand of ‘A’ and ‘B’ to be maximum of 500 units in all.
The production budget for month is set at $ 50,000. How many units should be the company
manufacture in order to earn maximum profit from its monthly sales of ‘A’ and ‘B’.
Tabular form:
Solution:
1- Assume that X1 = A & X2 = B
2- Objective Function:
Maximize Profit: Z= 20 X1 + 15 X2
3- Constraints:
Set “Problem Title”, “No of variables” and “No. of Constraints” as per your requirement and
press “Enter”
As per data of Example 1,we have to Enter following values in Tora as shown below:
Lab Task: Find Optimal Solution of the following problem using Tora and prepare a lab report
on it!
Problem:
A boutique chocolatier has two products:
• Its flagship assortment of triangular chocolates, called Pyramide,
• and the more decadent and deluxe Pyramide Nuit.
How much of each should it produce to maximize profits?
• Every box of Pyramide has a a profit of $1.
• Every box of Nuit has a profit of $6.
• The daily demand is limited to at most 200 boxes of Pyramide and 300 boxes of Nuit.
• The current workforce can produce a total of at most 400 boxes of chocolate per day.