Linear_Programming
Linear_Programming
Vyavhare
sachinvyavhare@gmail.com
Linear Programming
Introduction
Linear Programming is a deterministic model in decision sciences. This is an optimisation
technique whereby we consider a given business problem and identify the variables
“concerning the same. These variables are then used to write down the objective function and
the constraints for the given problem situation. Under LPP both these are expressed using the
Linear Relationships only. After the formulation of the given problem we use techniques like
Graphical method and Simplex method to solve it further. Problem formulation is the most
critical step under LPP model. |
(b) Decision Variables: These are the unknowns to be determined from the solution e.g. x, y,
z in the linear equation above.
(c) Constraints: These represent the mathematical equations of the limitations imposed by the
problem situations.
(d) Objective Function: This represents the mathematical equation of the major objective of
the system in terms of the decision variables.
(e) Linear Relationship: Linear Programming deals with the problems in which the objective
function as well as the constraints can be expressed as linear mathematical functions of the
decision variables i.e. the functions in which each variable appears only in one term and only
to the first power. Linear relationships have two properties:
(i) Proportionality (directly proportional) e.g. 2x, - 3y etc.
(g) Feasible Solution: A set of values of the decision variables which Satisfies all the
constraints and the non-negativity condition is a feasible solution. A problem can have many
feasible solutions.
(h) Optimal/Optimum Solution: This is a feasible solution which optimises the objective
function. Normally an optimal solution is unique.
2) Additivity - The value of objective function and total sum of resources = contribution
of cost/profit on each decision variable and sum of the resources earned by decision
variable.
Cj=Coefficient representing the per unit contribution of decision variables Xj, to the value of
objective function.
aij=input-output coefficients thet represent amount of resource (i) consumed per unit of
variables(Xj)
bi= represent total availability of the (i) th resource.
Stages of LPP
Stages of LPP are:
(i) Problem identification through collection of data.
(ii) Problem formulation i.e. to formulate the mathematical problem from the given data.
(iii) Problem solving.
Step 2: Identify the decision variables and assign symbols like x1, x2, x3 or x, y, z, etc.
Step 3: Mention the objective function quantitatively and express it as a linear function of the
decision variables.
Step 4: Express the constraints also as linear equalities or inequalities in terms of the decision
variables.
Step 5: Express the objective function, the constraints and the non-negativity condition from
the steps above in an LPP format as follows:
Subject to
a11 X1 + a12 x2 + a13 x3 + …. + a1n xn (< , = , >) b1
Summarization of LP model:
X1 X2 Xn
Constraint 1
Constraint 2
Constraint 3
Contribution (Cost OR
Profit
Q.1) A company is making two products A and B. The cost of producing product A is Rs.60
and product B is Rs. 80 respectively. As per the agreement, the company has to supply at least
200 units of product B to its regular customers. One Unit of product A require one machine
hour whereas product B has machine hours available abundantly within the company. The total
machine hour available for product A are 400 hours. One unit of product A and product B
requires one labour hour each and total 500 hours are available. The company wants to
minimize the cost of production by satisfying the given requirements. Formulate the problem
as LPP.
Q.2) A factory makes tennis rackets and cricket bats. A tennis racket takes 1.5 hours of machine
time and 3 hours of craftsman’s time in its making while a cricket bat takes 3 hour of machine
time and 1 hour of craftsman’s time. In a day, the factory has the availability of not more than
42 hours of machine time and 24 hours of craftsman’s time. The profit earned on a racket and
Q.3) A merchant plans to sell two types of personal computers − a desktop model and a portable
Laptop model that will cost Rs 30000 and Rs 40000 respectively. He estimates that the total
monthly demand of computers will not exceed 300 units. Determine the number of units of
each type of computers which the merchant should stock to get maximum profit if he does not
want to invest more than Rs 70 lakhs and if his profit on the desktop model is Rs 4500 and on
portable model is Rs 5000.
Q.4) Mr. Rao, the owner of a Readymade garments shop wishes to publish advertisements in
two local daily newspapers, one Marathi and one English. The expected coverage through the
advertisements is 1000 people and 1500 people per advertisement respectively. Each
advertisement in a Marathi newspaper costs Rs 3000 and for an English daily it is Rs. 5,000.
Mr. Rao has decided not to place more than 10 advertisements in the Marathi newspaper and
wants to place at least 6 advertisements in the English daily. The total advertisement budget is
Rs. 50,000/-. Formulate the problem as a LP model.
A 12 0.8
B 20 1.7
C 45 2.5
The company has daily order commitment for 20 units of A and 15 units of both products B
and C. Formulate problem as LP Model to maximize the profit.
After a Linear Programming Problem is expressed in the LP format, the next step is to solve it
to get its solution. Before going for the solution (i.e. the set of values of the decision variables
x1, x2, x3, etc.), the following points must be noted:
(i) Basic Feasible Solution: It is a solution which satisfies the non-negativity condition as well
as the constraints. Thus, a problem can have many feasible solutions.
(ii) Optimum/Optimal Solution: This is a basic feasible solution which optimises (maximises
or minimises) the objective function. A problem normally has a unique optimal solution. |
Q.6) A Firm Makes Two Products X & Y, and has a total production capacity of 9 tonnes per
day, X and Y requiring the same production capacity. The firm has a permanent contract to
supply at least 2 tonnes of X and at least 3 tonnes of Y per day to another company. Each tonne
of X requires 20 machines hours of production time and each tonnes of Y requires 50 machines
hours of production time. The daily maximum number of machine hours is 300. All the firm’s
output can be sold and the profit made is Rs. 80 per tonne of X and Rs. 120 per tonne of Y.
Determine production schedule to maximise the profit. Solve by graphical method.
Q.7) A manufacturer produces two different model: X and Y, of the same product. Model X
makes a contribution of Rs. 50 per unit and model Y, Rs. 30 per unit towards total profit. Raw
material r1 and r2 are required production. At least 18 Kg of r1 and 12 kg of r2 must be used
daily. Also at the most 34 of hours are to be utilized. A quantity of 2 kg of r1 is needed for
model X and 1Kg of r1 for model Y. For each of X and Y, 1 kg of r2 is required. It takes 3
hours to manufacture model X and 2 hours to manufacture model Y. How many units should
be produced to maximize the profit?
Subject to: X1 + x2 ≤ 9
X1 ≥ 2
X2 ≥ 3
20x1 + 50x2 ≤ 300
x1, x2 ≥ 0
Subject to constraints:
X1+2X2 ≤ 40;
3X1+X2 ≥ 30;
4X1+3X2 ≥ 60
X1, X2 ≥ 0