Using Mathematics To Solve Real Lofe Problems
Using Mathematics To Solve Real Lofe Problems
Using Mathematics To Solve Real Lofe Problems
Abstract
In this paper, to study the applications of Linear Programming( The BIG M Method ) in Business
problems. First we mention construct the Linear Programming Model ( LP Model ). Secondly,
Slack variables, Surplus Variables, Artificial Variables and Modified Problem. Then by using the
BIG M Method to solve the maximization and minimization of real life Business Problems.
1. INTRODUCTION
1.1 Objectives
This study examined relationships between quality of life in people and cognitive
simplex process, we convert the problem constraint inequalities into a system of linear equations
by using a simple device called a slack variable. In particular, to convert the system of problem
--------------- *
into a system of equations, we add variables and to the left sides of * to obtain
The variables and are called slack variables because each makes up the difference ( take
up the slack ) between the left and right sides of the inequalities in *.
mixed problem constraints. The key parts of the method will then be summarized and applied to
Maximize
Subject to
-------------(1)
To form an equation out of the first inequality, we introduce a slack variable , as before, and
write
How can we form an equation out of the second inequality ? We introduce a second variable
The variable is called a surplus variable, because it is the amount (surplus) by which the left
------------- (2)
It can be shown that a basic solution of (2) is not feasible if any of the variables ( excluding P )
are negative. Thus, a surplus variable is required to satisfy the non-negative constraint.
But this basic solution is not feasible, since the surplus variable is negative (which is a
violation of the nonnegative requirements of all variables except P ). The simplex method works
only when the basic solution for a tableau is feasible, so we cannot solve this problem simply by
In order to use the simplex method on problems with mixed constraints, we turn
to an ingenious device called an artificial variable. This variable has no physical meaning in
the original problem (which explains the use of the word " artificial ") and is introduced solely
for the purpose of obtaining a basic feasible solution so that we can apply the simplex method.
An artificial variable is a variable introduced into each equation that has a surplus variable. As
before, to ensure that we consider only feasible basic solutions, an artificial variable is required
original problem, a very large " penalty " is introduced into the objective function. This penalty
is created by choosing a positive constant M so large that the artificial variable is forced to be 0
in any final optimal solution of the original problem. We then add the term to the
objective function :
Maximize
Subject to
----------------- (3)
------------ (4)
We next write the augmented coefficient matrix for (4), which we call the preliminary simplex
The Big M Method – Introducing Slack, Surplus and Artificial Variables to Form the
Modified Problem
Step 1 - If any problem constraints have negative constants on the right side, multiply
both sides by ( -1) to obtain a constraint with a nonnegative constant. (If the
2.1 Example Find the modified problem for the following linear programming problem.
Maximize
Subject to
Solution :
Next,
We introduce the slack, surplus, and artificial variables according to the rules stated in the box
Finally,
Maximize
Subject to
STEP – 1 From the preliminary simplex tableau for the modified problem.
STEP – 2 Use row operations to eliminate the M 's in the bottom row of the preliminary
STEP – 3 Solve the modified problem by applying the simplex method to the initial simplex
STEP – 4 Relat the solution of the modified problem to the original problem.
( A) If the modified problem has no solution, then the original problem has no solution.
(B) If all artificial variables are 0 in the solution to the modified problem, the delete the
(C) If any artificial variables are nonzero in the solution to the modified problem, then the
original problem has no solution.
A refinery produces two grades of gasoline, regular and premium, by blending together two
8
components, A and B. Component A has an octane rating of 90 and costs $28 a barrel.
Component B has an octane rating of 110 and costs $32 a barrel . The octane rating for regular
gasoline must be at least 95, and the octane rating for premium must be at least 105. Regular
gasoline sells for $34 a barrel and premium sells for $40 a barrel. Currently, The company has
30,000 barrels of component A and 20,000 barrels of component B. It also has orders for 20,000
barrel s of regular and 10,000 barrels of premium that must be filled. Assuming that all the
Solution:
The amount of regular and premium gasoline produced must be sufficient to meet the existing
orders
Regular
Premium
90
90
C = 28( )
10
R = 34( )
The profit is
= 34( ) 28( )
To find the maximum profit , we must solve the following linear programming problem
Maximize
Subject to
and
11
Maximize
Subject to
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000 Eliminate M
1 0 1 0 0 0 1 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
-5 0 15 0 0 0 0 0 0 0 1 0 0 0 0
0 -15 0 5 0 0 0 0 0 0 0 0 1 0 0
-----------------------------------------------------------------------------------------------------------------------------
-6 -12 -2 -8 0 0 0 M 0 M 0 M 0 M 1 0
12
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000 Eliminate M
1 0 1 0 0 0 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
-5 0 15 0 0 0 0 0 0 0 1 0 0 0 0
0 -15 0 5 0 0 0 0 0 0 0 0 1 0 0
--------------------------------------------------------------------------------------------------------------------------------
-M-6 -12 -M-2 -8 0 0 M 0 0 M 0 M 0 M 1 -20,000M
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000 Eliminate M
1 0 1 0 0 0 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
-5 0 15 0 0 0 0 0 0 0 1 0 0 0 0
0 -15 0 5 0 0 0 0 0 0 0 0 1 0 0
-----------------------------------------------------------------------------------------------------------------------------
13
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000 Eliminate M
1 0 1 0 0 0 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
−5 0 15 0 0 0 0 0 0 0 1 0 0 0 0
0 −15 0 5 0 0 0 0 0 0 0 0 1 0 0
-----------------------------------------------------------------------------------------------------------------------------
4M-6 -M-12 -16M-2 -M-8 0 0 M 0 M 0 M 0 0 M 1 -30,000M
Enter
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 20,000
1 0 1 0 0 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
Exit 0 15
15 0 0 0 0 0 0 0 1 0 0 0 0
0 0 5 0 0 0 0 0 0 0 0 1 0 0
-----------------------------------------------------------------------------------------------------------------------------------
14
4M-6 14M-12 -16M-2 -6M-8 0 0 M 0 M 0 M 0 M 0 1 -30,000M
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 20,000
1 0 1 0 0 0 1 0 0 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
0 1 0 0 0 0 0 0 0 0 0 0 0
0 -15 0 5 0 0 0 0 0 0 0 0 1 0 0
--- -----------------------------------------------------------------------------------------------------------------------------------
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
0 0 1 0 1 0 0 0 0 0 0 0 20,000
0 0 0 0 0 1 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
0 1 0 0 0 0 0 0 0 0 0 0 0
Exit 0 0 5 0 0 0 0 0 0 0 0 1 0 0
------------------------------------------------------------------------------------------------------------------------------------
15
14M-12 0 -6M-8 0 0 M 0 M 0 M 0 1
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
0 0 1 0 1 0 0 0 0 0 0 0 20,000
0 0 0 0 0 1 0 0 0 0 0 20,000
0 1 0 1 0 0 0 0 1 0 0 0 0 0 10,000
0 1 0 0 0 0 0 0 0 0 0 0 0
0 -3 0 1 0 0 0 0 0 0 0 0 0 0
---------------------------------------------------------------------------------------------------------------------------------------
14M-12 0 -6M-8 0 0 M 0 M 0 M 0 1
Enter
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
3 0 0 0 1 0 0 0 0 0 20,000
0 0 0 0 0 1 0 0 0 0 0 20,000
Exit 0 4 0 0 0 0 0 0 1 0 0 0 10,000
0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------------------------------------------------------------
16
- 4M-36 0 0 0 0 M 0 M 0 1
1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 30,000
3 0 0 0 1 0 0 0 0 0 20,000
0 0 0 0 0 1 0 0 0 0 0 20,000
0 1 0 0 0 0 0 0 0 0 0 2,500
0 1 0 0 0 0 0 0 0 0 0 0 0
0 -3 0 1 0 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------------------------------------------------------------
- 4M-36 0 0 0 0 M 0 M 0 1
Enter
1 0 0 0 1 0 0 0 0 0 0 27,500
0 0 0 0 1 0 0 0 12,500
Exit 0 0 0 0 0 1 0 0 0 0 0 20,000
0 1 0 0 0 0 0 0 0 0 0 2,500
0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 7,500
--------------------------------------------------------------------------------------------------------------------------------------------
17
0 0 0 0 0 M 0 M+9 1
1 0 0 0 1 0 0 0 0 0 0 27,500
0 0 0 0 1 0 0 0 12,500
1 0 0 0 0 0 0 0 0 0 0 15,000
0 1 0 0 0 0 0 0 0 0 0 2,500
0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 7,500
--------------------------------------------------------------------------------------------------------------------------------------------
0 0 0 0 0 M 0 M+9 1
Enter
0 0 0 0 1 0 0 12,500
Exit 0 0 0 0 1 0 7,500
1 0 0 0 0 0 0 0 0 0 0 15,000
0 1 0 0 0 0 0 0 0 0 0 25,000
0 1 0 0 0 0 0 0 0 0 5,000
0 0 0 1 0 0 0 0 0 0 0 7,500
-------------------------------------------------------------------------------------------------------------------------------------
18
0 0 0 0 0 M+5 M+9 1 190,000
0 0 0 0 1 0 0 12,500
0 0 0 0 1 0 10,000
1 0 0 0 0 0 0 0 0 0 0 15,000
0 1 0 0 0 0 0 0 0 0 0 25,000
0 1 0 0 0 0 0 0 0 0 5,000
0 0 0 1 0 0 0 0 0 0 0 7,500
---------------------------------------------------------------------------------------------------------------------------------------
Exit 0 0 0 0 1 0 0 0 10,000
0 0 0 0 1 0 10,000
1 0 0 0 0 0 0 0 0 0 0 15,000
0 1 0 0 0 0 5,000
0 1 0 0 0 0 0 0 0 0 5,000
0 0 0 1 0 1 0 15,000
-------------------------------------------------------------------------------------------------------------------------------------
19
0 0 0 0 12 M+2 M 1 280,000
0 0 0 0 1 0 0 0 15,000
0 0 0 0 1 0 10,000
1 0 0 0 0 0 0 0 0 0 0 15,000
0 1 0 0 0 0 5,000
0 1 0 0 0 0 0 0 0 0 5,000
0 0 0 1 0 1 0 15,000
-------------------------------------------------------------------------------------------------------------------------------------
0 0 0 0 12 M+2 M 1 280,000
0 0 0 0 1 0 0 0 15,000
0 0 0 0 0 5,000
1 0 0 0 0 0 0 26,250
0 1 0 0 0 3,750
0 1 0 0 0 0 8,750
0 0 0 1 0 0 0 0 11,250
-------------------------------------------------------------------------------------------------------------------------------------------
20
P 0 0 0 3 11 M M 1 310,000
The refinery should blend 26,250 barrels of component A and 8,750 barrels of component B to produce 35,000 barrels of regular.
They should blend 3,750 barrels of component A and 11,250 barrels of component B to produce 15,000 barrels of premium.
objective function, we have only to maximize its negative. Figure illustrates the fact that the
minimum value of a function f occurs at the same point as the maximum value of the function
conversely. Thus, we can find the minimum value of a function f by finding the maximum
m ---------------- •
O X
-m -------------------
A tire company has plants in Chicago and Detroit . The Chicago plant can make 600 radials and
100 standard tires per day . The Detroit plant can make 300 radials and 100 standard tires per
day. Its costs $20,000 per day to operate the Chicago plant and $15,000 per day to operate the
22
Detroit plant. The company has a contract to make at least 24,000 radials and 5,000 standard
tires. How many days should each plant be scheduled to minimize operating costs?
solution
Minimize C =
Subject to
Maximize =
Subject to
Maximize
Subject to
23
+ 20,000 + 15,000 M 0 0 M 1
Enter
P + 20,000 + 15,000 M 0 M 0 1
1 0 0 0 40
+20,000 + 15,000 M 0 M 0 1
24
Enter
1 0 0 0 40
---------------------------------------------------------------------
P 0 +5,000 M 0 1
1 0 0 0 40
0 1 0 20
---------------------------------------------------------------------
0 +5,000 M 0 1
1 0 30
0 1 0 20
----------------------------------------------------------------------------------
P 0 0 100 1
Since the bottom row has no negative indicator the optimal solution for the modified problem is
Thus
Min C =
The minimum operating costs are $900,000 when the Chicago plant operates 30 days and the
4. Conclusion
This paper is to teach the various tools and techniques so that we will be able to
Acknowledgement
Thanks to Daw Hninn Moe San, Professor and Head, Department of Mathematics, Co-operative
University, Thanlyin. I would like to thank all people help to me for this paper.
References
1. Raymond A Barnet & Michael R. Ziegler, Finite Mathematics, For Business, Economics,
2. Howard L.Rolf, Raymond J.Cannon, Jr. & Gaerth Willams, Mathematics for Management,