Mathematical Formulation of Linear Programming Problems
Mathematical Formulation of Linear Programming Problems
Mathematical Formulation of Linear Programming Problems
Programming Problems
There are mainly four steps in the mathematical formulation of linear programming problem
as a mathematical model. We will discuss formulation of those problems which involve only
two variables.
Identify the decision variables and assign symbols x and y to them. These decision
variables are those quantities whose values we wish to determine.
Identify the objective function and express it as a linear function of decision variables.
It might take the form of maximizing profit or production or minimizing cost.
There are many real life situations where an LPP may be formulated. The following examples
will help to explain the mathematical formulation of an LPP.
01. A diet is to contain at least 4000 units of carbohydrates, 500 units of fat and 300 units of
protein. Two foods A and B are available. Food A costs 2 dollars per unit and food B costs 4
dollars per unit. A unit of food A contains 10 units of carbohydrates, 20 units of fat and 15
units of protein. A unit of food B contains 25 units of carbohydrates, 10 units of fat and 20
units of protein. Formulate the problem as an LPP so as to find the minimum cost for a diet
that consists of a mixture of these two foods and also meets the minimum requirements.
Sub Topics
Suggested answer:
Suggested answer:
Mathematical Formulation
Suggested answer:
Back to Top
\ Total cost = 2x + 4y
Minimize Z = 2x + 4y
02. In the production of 2 types of toys, a factory uses 3 machines A, B and C. The time
required to produce the first type of toy is 6 hours, 8 hours and 12 hours in machines A, B
and C respectively. The time required to make the second type of toy is 8 hours, 4 hours and
4 hours in machines A, B and C respectively. The maximum available time (in hours) for the
machines A, B, C are 380, 300 and 404 respectively. The profit on the first type of toy is 5
dollars while that on the second type of toy is 3 dollars. Find the number of toys of each type
that should be produced to get maximum profit.
Suggested answer:
Back to Top
Mathematical Formulation
Back to Top
\ Total profit = 5x + 3y
The LPP formulated for the given problem is:
Linear Programming
Operations management often presents complex problems that can be modeled by linear
functions. The mathematical technique of linear programming is instrumental in solving a
wide range of operations management problems.
Linear programming models consist of an objective function and the constraints on that
function. A linear programming model takes the following form:
Objective function:
Constraints:
In this system of linear equations, Z is the objective function value that is being optimized, Xi
are the decision variables whose optimal values are to be found, and ai, bij, and ci are
constants derived from the specifics of the problem.
Linear programming requires linearity in the equations as shown in the above structure. In a
linear equation, each decision variable is multiplied by a constant coefficient with no
multiplying between decision variables and no nonlinear functions such as logarithms.
Linearity requires the following assumptions:
Divisibility - the decision variables can be divided into non-integer values, taking on
fractional values. Integer programming techniques can be used if the divisibility
assumption does not hold.
In addition to these linearity assumptions, linear programming assumes certainty; that is, that
the coefficients are known and constant.
Problem Formulation
With computers able to solve linear programming problems with ease, the challenge is in
problem formulation - translating the problem statement into a system of linear equations to
be solved by computer. The information required to write the objective function is derived
from the problem statement. The problem is formulated from the problem statement as
follows:
1. Identify the objective of the problem; that is, which quantity is to be optimized. For
example, one may seek to maximize profit.
2. Identify the decision variables and the constraints on them. For example, production
quantities and production limits may serve as decision variables and constraints.
3. Write the objective function and constraints in terms of the decision variables, using
information from the problem statement to determine the proper coefficient for each
term. Discard any unnecessary information.
5. Arrange the system of equations in a consistent form suitable for solving by computer.
For example, place all variables on the left side of their equations and list them in the
order of their subscripts.
The following guidelines help to reduce the risk of errors in problem formulation:
Make sure that each variable in the objective function appears at least once in the
constraints.
Consider constraints that might not be specified explicitly. For example, if there are
physical quantities that must be non-negative, then these constraints must be included
in the formulation.
Constraints exist because certain limitations restrict the range of a variable's possible values.
A constraint is considered to be binding if changing it also changes the optimal solution. Less
severe constraints that do not affect the optimal solution are non-binding.
Tightening a binding constraint can only worsen the objective function value, and loosening a
binding constraint can only improve the objective function value. As such, once an optimal
solution is found, managers can seek to improve that solution by finding ways to relax
binding constraints.
Shadow Price
The shadow price for a constraint is the amount that the objective function value changes per
unit change in the constraint. Since constraints often are determined by resources, a
comparison of the shadow prices of each constraint provides valuable insight into the most
effective place to apply additional resources in order to achieve the best improvement in the
objective function value.
The reported shadow price is valid up to the allowable increase or allowable decrease in the
constraint.