ON
BACHELOR OF TECHNOLOGY
IN
BY
MANISHAKAR
SHALINI BAJPAI
2007
CERTIFICATE
record of research carried out by Mr. Manishakar & Ms. Shalini Bajpai under my
…………………………………
Member Member
Approved
Dean
been generated during the work and are genuine. Data / information
obtained from other agencies have been duly acknowledged. None of the
results embodied in this project report have not been submitted to any
Date: Manishakar
ACKNOWLEDGEMENT i
ABSTRACT ii
LIST OF ABBREVIATIONS iv
I INTRODUCTION 1
1.1 Scope 3
1.2 Importance 6
1.3 Justification 7
1.4 Objectives 8
II REVIEW OF LITERATURE 9
3.1 Definition 11
IV METHODOLOGY 16
Linear Constraints
REFERENCES 23
APPENDIX 26
ACKNOWLEDGEMENT
(Process & Food Engg.), who extended every possible help. We are
S.R.’s Canneries for his permission and cooperation for collection of data
for their kind help and advice. Finally we are thankful to our parents &
this work.
Manishakar
Shalini Bajpai
ABSTRACT
Studies were done on the data collected from S.R.’s Canneries for evaluating the
optimal solution using simplex method. The studies included formulating the objective
function and constraints from collected data and achieving optimal solution by the
application of simplex method. The studies revealed that more profitable products should
be manufactured in large quantities to get maximum profit and simplex method helps in
finding the optimum no. of units to be manufactured for getting maximum profit.
LIST OF TABLES
objective function
Max. : Maximum
Min. : Minimum
etc. : et cetra
Opt : optimum
LP : Linear Programming
min. : Minutes
hr. : Hour
g. : Gram
kg. : Kilogram
Rs. : Rupees
CHAPTER I
INTRODUCTION
to the best possible effect. Optimization is called into play every day in
• Prescribe a solution
problem.
2. Controllable inputs are the set of decision variables which affect the
problems, where both the objective function to be optimized and all the
optimization.
problems are:
values of the variables that provide the best value of the objective
function.
example, they may express the idea that the number of workers
1.1 SCOPE
constraints.
media.
tour. Such type of problem can be solved with the help of the
distribution.
sales incentives.
1.3 JUSTIFICATION
1.4 OBJECTIVES
REVIEW OF LITERATURE
equality constraints.
caussian elimination.
cost as criteria.
Fiacco and Mc. Cormic (1968) introduced the Interior Point Method.
Lagrange’s Method.
Walvekar and Lambert (1970) discussed the use of geometric
Programming.
operations. Production cost and total time were taken as objective and
his model.
based generative CAPP system. The formulated models are solved by the
THEORETICAL CONSIDERATION
3.1. DEFINITION
example, how does a food processing company decide where to buy raw
where to sell final product and at what prices. Many of the large scale
methods developed during world war-II to deal with the massive logistical
problems, where both the objective function to be optimized and all the
optimization.
3.2.1 Analysis
methods.
3.2.3 Verification
3.2.4 Validation
3.2.6 Variable
The values of the variables are not known when one starts the
problem. The variables usually represent things that can adjust or control,
for example the rate at which to manufacture items. The goal is to find
values of the variables that provide the best value of the objective
function.
3.2.7 Objective function
3.2.8 Constraint
to express limits on the possible solutions. For example they may express
day.
function of x 1 , x 2 …... , x n .
‘SIMPLEX METHOD’.
components in LP test assembly because they are the means by which test
……………………………………………………………..
……………………………………………………………..
and,
x1,x2,……….,xn>0
METHODOLOGY
canning and production of tomato ketchup, mixed pickle, mixed jam and
orange marmalade etc. With a strong rural and co-operative base, the
distribution and finished goods data were collected by regular visits to the
company.
Profit/15 g. pack = 7%
Profit/ 15 g. packs = 9%
4.2.4 Orange Marmalade
Profit/ 15 g. = 11%
Table 4.1 Data for Different Products
up
Production
(Rs.)
Profit/Unit* 6.5 4.9 6.05 5.85 -
(Rs.)
CONSTRAINTS
Maximize,
.0212x1 ≤ 8.075
.0233x2 ≤ 9.4666
1x1 ≥ 300
1x2 ≥ 300
1x3 ≥ 50
1x4 ≥ 200
MATHEMATICAL EQUATIONS
.0212x1 + s2 = 8.075
.0233x2 + s3 = 9.4666
1x1 – s5 + a1 = 300
1x2 – s6 + a2 = 300
1x3 – s7 + a3 = 50
1x4 – s8 + a4 = 200
Where,
Optimal Value
(units*)
1. x1 380.8962
2. x2 353.1593
3. x3 70.3361
4. x4 200
5. Z Rs.5801.8392
(15 g. sachet), 353159 pieces of mixed pickle (15 g. sachet), 70336 pieces
Dantzig, G., A. Orden, and P. Wolfe. "The Generalized Simplex Method for
U P, 1963.
McGraw-Hill, 1959.
Sierksma, Gerard. Linear and Integer Programming: Theory and Practice. 2nd
Sposito, Vincent. Linear and Nonlinear Programming. Ames, Iowa: Iowa UP,
1975.
Strang, Gilbert. Linear Algebra and Its Applications. 3rd ed. San Diego:
Harcourt, 1988.
MacMillan, 1976.
Wu, Nesa, and Richard Coppins. Linear Programming and Extensions. New
26
0 S1 0 .1876 0 .2111 1 0 0 0 .200 0 .2111 0 -.200 0 -.2111 0 128.945 610.82
0 S2 0 0 0 0 0 1 0 0 .0212 0 0 0 -.0212 0 0 0 1.715 -
0 S3 0 .0233 0 0 0 0 1 0 0 0 0 0 0 0 0 0 9.4666 -
0 S4 0 0 0 .0351 0 0 0 1 0 0 .0351 0 0 0 -.0351 0 7.7338 220.336
6.5 x1 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 0 300 -
-M a2 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 300 -
6.05 x3 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 50 -
-M a4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200 200
Zj 6.5 -M 6.05 -M 0 0 0 0 -6.5 M -6.05 M 6.5 -M 6.05 -M 22252.5
0-.500
M
Cj - Zj 0 4.9 + 0 5.85 + 0 0 0 0 6.5 -M 6.05 -M -M 0 -M - 6.5 0
M M -6.05
0 S1 0 .1876 0 0 1 0 0 0 .200 0 .211 .2111 -.200 0 -.2111 -.211 86.725 462.286
1
0 S2 0 0 0 0 0 1 0 0 .0212 0 0 0 -.0212 0 0 0 1.715 -
0 S3 0 .0233 0 0 0 0 1 0 0 0 0 0 0 0 0 0 9.4666 406.2918
0 S4 0 0 0 0 0 0 0 1 0 0 .0351 .0351 0 0 -.0351 -.035 0.7138 -
7
6.05 x1 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 0 300 -
-M a2 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 300 300
6.05 x3 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 50 -
5.85 x4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200 -
Zj 6.5 -M 6.05 5.85 0 0 0 0 -6.5 M -6.05 -5.85 6.5 -M 6.05 5.85 3422.5
Cj - Zj 0 4.9 0 0 0 0 0 0 6.5 -M 6.05 5.85 -M 0 -M – -M – -300M
+M -6.5 6.05 5.85
27
0 S1 0 0 0 0 1 0 0 0 .200 .1876 .2111 .2111 -.200 -.187 -.2111 -.2111 30.445 152.225
2
0 S2 0 0 0 0 0 1 0 0 .0212 0 0 0 -.0212 0 0 0 1.715 80.896
0 S3 0 0 0 0 0 0 1 0 0 .0233 0 0 0 -.023 0 0 2.4766 -
3
0 S4 0 0 0 0 0 0 0 1 0 0 .0351 .0351 0 0 -.0311 -.0357 0.7138 -
6.5 x1 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 0 300 -
4.9 x2 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 300 -
6.05 x3 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 50 -
5.85 x4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200 -
Zj 6.5 4.9 6.05 5.85 0 0 0 0 -6.5 -4.9 -6.05 -5.85 6.5 4.9 6.05 5.85 4892.5
Cj - Zj 0 0 0 0 0 0 0 0 6.5 4.9 6.05 5.85 -M – -M – -M – -M –
6.5 4.9 6.05 5.85
0 S1 0 0 0 0 1 - 0 0 0 .1876 .2111 .2111 0 -.187 -.2111 -.2111 14.2657 67.5779
9.433 6
7
0 S5 0 0 0 0 0 47.16 0 0 1 0 0 0 -1 0 0 0 80.8962 -
98
0 S3 0 0 0 0 0 0 1 0 0 .0233 0 0 0 -.023 0 0 2.4766
3
0 S4 0 0 0 0 0 0 0 1 0 0 .0351 .0351 0 0 -.0351 -.0351 0.7138 20.3369
6.5 x1 1 0 0 0 0 47.16 0 0 0 0 0 0 0 0 0 0 380.8962 -
98
4.9 x2 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 300 -
6.05 x3 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 50 -
5.85 x4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200 -
Zj 6.5 4.9 6.05 5.85 0 306.6 0 0 0 -4.9 -6.05 -5.85 0 4.9 6.05 5.85 5418.325
037 3
Cj - Zj 0 0 0 0 0 - 0 0 0 4.9 6.05 5.85 -M -M – -M – -M –
306.6 4.9 6.05 5.85
037
0 S1 0 0 0 0 1 - 0 - 0 .1876 0 0 0 -.187 0 0 9.9727 53.1593
9.433 6.014 6
9 2
0 S5 0 0 0 0 0 47.16 0 0 1 0 0 0 -1 0 0 0 80.8962 -
28
98
0 S3 0 0 0 0 0 0 1 0 0 .0233 0 0 0 -.023 0 0 2.4766 106.291
3 8
0 S7 0 0 0 0 0 0 0 28.49 0 0 1 1 0 0 -1 -1 20.3361 -
6.5 x1 1 0 0 0 0 47.16 0 0 0 0 0 0 0 0 0 0 380.8962 -
98
4.9 x2 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 0 0 300 -
6.05 x3 0 0 1 0 0 0 0 28.49 0 0 0 1 0 0 0 1 70.3361 -
5.85 x4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200 -
Zj 6.5 4.9 6.05 5.85 0 306.6 0 172.3 0 -4.9 0 0.2 0 4.9 0 11.9 5541.358
37 6 7
Cj - Zj 0 0 0 0 0 - 0 - 0 4.9 0 -.2 -M -M – -M -M –
306.6 172.3 4.9 11.9
0 27 6
29
0 S6 0 0 0 0 5.3 50.28 0 - 0 1 0 0 0 -1 0 0 53.1593
304 73 32.05
86
0 S5 0 0 0 0 0 47.16 0 0 1 0 0 0 -1 0 0 0 80.8962
98
0 S3 0 0 0 0 . 1.171 1 7469. 0 0 0 0 0 0 0 0 1.2379
124 6 6530
1
0 S7 0 0 0 0 0 0 0 28.49 0 0 1 1 0 0 -1 -1 20.3361
x1 1 0 0 0 0 47.16 0 0 0 0 0 0 0 0 0 0 380.8962
98
x2 0 1 0 0 5.3 - 0 - 0 0 0 0 0 0 0 0 353.1593
304 50.28 32.05
73 86
x3 0 0 1 0 0 0 0 28.49 0 0 0 1 0 0 0 1 70.3361
x4 0 0 0 1 0 0 0 0 0 0 0 -1 0 0 0 1 200
Zj 6.5 4.9 6.05 5.81 26. 60.19 0 15.27 0 0 0 0.2 0 0 0 11.9 5801.83 92
118
9
Cj - Zj 0 0 0 0 - -60.19 0 - 0 0 0 -0.2 -M -M -M -M –
26. 15.27 11.9
118
30