Linear Programming
Linear Programming
LINEAR PROGRAMMING
Table of Contents
1.7 Summary
1.8 Glossary
1.9 Terminal Questions
1.10 Answers
1.11 Suggested Books
1.1 Linear Programming: Introduction
Linear programming is taken into consideration as a vital method that is used to
discover the premier aid utilization. The term “linear programming” includes phrases
which include linear and programming. The word “linear” defines the connection among
a couple of variables with diploma one. The word “programming” defines the manner of
choosing the pleasant answer from numerous alternatives.
Linear Programming is broadly utilized in Mathematics and a few different areas
which include economics, business, telecommunication, and production fields. In this
article, allow us to speak the definition of linear programming, its components, a simplex
technique with linear programming problems.
2. The relationship between the constraints and the objective function should be
linear.
Constraints
Data
Objective Functions
The following are the five characteristics of the linear programming problem:
3. Application in military
1. Linearity- The assumption states that there is a proportional relationship among the
relevant variables. That is the number of resources required for a given activity level is
directly proportional to the level of that activity.
2. Divisibility- This means that fractional values of the decision variables are permitted.
3. Certainty- The various parameters, namely, the objective function coefficients, the
coefficient of equations/inequalities constraints and the constraints(resources) values are
known with certainty.
4. Non-Negative- This assumption states that the values of the decision variables are
always greater than or equal to zero.
5. Additivity- Total output for a given combination of activity levels is the algebraic sum
of the output of each individual process.
6. Continuity- This assumption states that the decision variables are continuous.
1.7 Limitation of Linear Programming
1. Linear programming technique does not consider the problem related to uncertainty.
2. In linear programming techniques if the variables are quite large, then the technique
became complex, and use of computer is essential.
4. In linear programming the parameters are assumed to be constant but in real life it
keeps on changing.
When a problem is identified then the next step is to make a mathematical model.
Formulation of an LPP refers to translating the real-world problem into the form of
mathematical equations which could be solved. It usually requires a thorough
understanding of the problem. In decision making all the decision are taken trough some
variables which are known as decision variables. The model of any linear programming
will have following steps:
Step 1: Identify the ‘n’ number of decision variables which govern the behaviour of
the objective function (which needs to be optimized).
Step 2: Identify the set of constraints on the decision variables and express them in
the form of linear equations /in equations. This will set up our region in the n-
dimensional space within which the objective function needs to be optimized. Don’t
forget to impose the condition of non-negativity on the decision variables i.e., all of
them must be positive since the problem might represent a physical scenario, and
such variables can’t be negative.
Step 3: Express the objective function in the form of a linear equation in the decision
variables.
Step 4: Optimize the objective function either graphically or mathematically.
Solution:
Step 1: The decision variables: Since the question has asked for an optimum number of
calculators, that’s what our decision variables in this problem, would be. Let,
Therefore, we have 2 decision variables in this problem, namely ‘x’ and ‘y’.
Step 2: The constraints: Since the company can’t produce a negative number of
computers in a day, a natural constraint would be:
x≥0
y≥0
However, a lower bound for the company to sell computers is already supplied in the
problem. We can note it down as:
x ≥ 150
y ≥ 100
We have also been given an upper bound for these variables, owing to the limitations on
production by the company. We can write as follows:
x ≤ 250
y ≤ 200
Besides, we also have a joint constraint on the values of ‘x’ and ‘y’ due to the minimum
order on a shipping consignment; given as:
x + y ≥ 250
Step 3: Objective Function: Clearly, here we need to optimize the Net Profit function. The
Net Profit Function is given as:
P = -20x + 50y
Example 2: A firm produces three products P, Q and R. These products are processed on
three different machines M1, M2 and M3. The time required manufacturing one unit of
each of the three products and the daily capacity of the three machines are given in the
table below:
It is required to determine the daily number of units to be manufactured for each product.
The profit per unit for product P, Q and R is Rs. 2, Rs.4 and Rs.8 respectively. It is
assumed that all the amounts produced are consumed in the market. Formulate the
mathematical (L.P.) model that will maximise the daily profit.
Solution:
Therefore, we have 3 decision variables in this problem, namely ‘x’, ‘y’ and ‘z’.
Step 2: The constraints: Since the company can’t produce a negative number of products
in a day, a natural constraint would be:
x≥0
y≥0
z≥0
Put into words the influencing factors or constraints. These occur generally because of
constraints on availability (resources) or requirements (demands). Express these
constraints also as linear equations/inequalities in terms of variables.
Here, constraints are on the machine capacities and can be mathematically expressed as
2x+ 3y + 2z ≤ 440
4x+ 0y + 3z ≤ 470
2x+ 5y + 0z ≤ 430
Step 3: Objective Function: Mention the objective function quantitatively and express it
as a linear function of variables. In the present situation, objective is to maximize the
profit. i.e.,
Z = 4x1+ 3x2 + 6x3
Solution:
Let x1 and x2 denote the number of grade I and grade II inspectors that may be assigned
the job of quality control inspection.
The objective is to minimise the daily cost of inspection.
Now the company has to incur two types of costs; wages paid to the inspectors and the
cost of their inspection errors. The cost of grade I inspector/hour is
Rs. (5 + 3 X 0.04 X 20) = Rs. 7.40.
Similarly, cost of grade II inspector/hour is
Rs. (4 + 3 X 0.08 X 14) = Rs. 7.36.
⸫ The objective function is minimise Z = 8(7.40x1 + 7.36x2) = 59.20 x1 + 58.88x2.
Constraints are
on the number of grade I inspectors: x1 ≤ 10,
on the number of grade II inspectors: x2 ≤ 15
on the number of pieces to be inspected daily: 20
x 8x1 + 14 x 8x2 ≥ 1500
or 160x1 + 112x2 ≥ 1500
where, x1, x2 ≥ 0.
(2) Write all the constraints in the form of equations and draw the graph
(4) Find the coordinates of each vertex (corner points) of the feasible region. The
coordinates of the vertex can be obtained either by inspection or by solving the two
equations of the lines intersecting at the point
(5) By substituting these corner points in the objective function, we can get the values of
the objective function
(vi) If the problem is maximization, then the maximum of the above values is the
optimum value. If the problem is minimization, then the minimum of the above values is
the optimum value
Step 1: Convert the inequality constraint as equations and find co-ordinates of the line.
Step 2: Plot the lines on the graph.
(Note: If the constraint is ≥ type, then the solution zone lies away from the center.
If the constraint is ≤ type, then solution zone is towards the center.)
Step 3: Obtain the feasible zone.
Step 4: Find the co-ordinates of the objectives function (profit line)