0% found this document useful (0 votes)
5 views9 pages

Optimize Dairy Production Profit Model

This document presents a linear programming problem for a dairy company. The objective is to maximize profits through the optimal production of skim milk, butter, and cheese using two machines, subject to constraints of minimum production, machine time, and total quantity of products. A mathematical model is formulated, and the optimal solution allocates 300 gallons of skim milk, 200 pounds of butter, and 150 pounds of cheese for a total profit of 250.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views9 pages

Optimize Dairy Production Profit Model

This document presents a linear programming problem for a dairy company. The objective is to maximize profits through the optimal production of skim milk, butter, and cheese using two machines, subject to constraints of minimum production, machine time, and total quantity of products. A mathematical model is formulated, and the optimal solution allocates 300 gallons of skim milk, 200 pounds of butter, and 150 pounds of cheese for a total profit of 250.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

"YEAR OF DIALOGUE AND NATIONAL RECONCILIATION"

NATIONAL UNIVERSITY OF PIURA.

FACULTY OF ADMINISTRATIVE SCIENCES.

THEME:

Software application problem.

COURSE:

Operations Research

MEMBERS:

Acedo Vilchez Lizzye Maria.

Castle Bereche Crhistine Scarly

Roa Vilcazan Donald Miguel.

Jasmine Lapulu Seminar

Tocto Huancas José Anibal

TEACHER:

Ing. Carlos Coello Oballe MSc.

CYCLE:

VII CYCLE

PIURA 2018
PROBLEM #4

The company PARMALAT has two different machines to process pure milk and produce milk.
skimmed, butter or cheese. The amount of time required in each machine for
produce each resulting product unit and the net profits are provided in the
next table:

MILK
BUTTER CHEESE
skimmed
MACHINE #1 (mini/gallon) 0.2 0.5 1.5
MACHINE #2 (mini/gallon) 0.3 0.7 1.2
NET INCOME 0.22 0.38 0.72

Assuming that there are 8 hours available on each machine daily, as the Manager of
Department of Administration, formulate a model to determine a production plan
daily that maximizes net corporate profits and produces a minimum of 300 gallons of
skim milk, 200 pounds of butter, and 100 pounds of cheese, in addition to the amount of
products must be 650.

a) Formulate the respective mathematical model.


b) Find the optimal solution and interpret the results.
c) What strategy would you follow to improve the solution to the problem?

Decision variables

X1Number of gallons of skim milk to be produced (machine 1 and machine 2)


X2Number of pounds of butter to be produced (machine 1 and machine 2)
X3Number of pounds of cheese to be produced (machine 1 and machine 2)

Objective function

MAXZ: 0.22 X1+ 0.38 X2+ 0.72 X3


SOLUTION.

a) Formulate the respective mathematical model.

X1 X2 X3 RHS Equation form


Maximize .22 Max .22X1 + .38X2 + .72X3
Skimmed milk production 1 0 0 >= 300 X1 ≥ 300
Butter production 0 1 0 >= 200 X2 >= 200
Cheese production 0 0 1 >= 100 X3 >= 100
Time for machine 1 .2 .5 1.5 <= 480 .2X1 + .5X2 + 1.5X3 <= 480
Time for machine 2 .3 .7 1.2 <= 480 .3X1 + .7X2 + 1.2X3 <= 480
Quantity of products 1 1 1 = 650 X1 + X2 + X3 = 650

b) Find the optimal solution and interpret the results.

1. Results of Linear Programming.

X1 X3 RHS Dual
Maximize .22 .72
Skim milk production 1 0 0 >= 300 -0.5
Butter production 0 1 0 greater than or equal
-0.34 to 200

Cheese production 0 0 1 Greater than or 0equal to 100

Times for machine 1 .2 .5 1.5 <= 480 0


Times for machine 2 .3 .7 1.2 <= 480 0
Quantity of products 1 1 1 = 650 .72
Solution 300 200 150 250
Ranging

Cost Value Limit Limit


Variable Value
Reduced Original Inferior
X1 300 0 .22 -Infinite .72
X2 200 0 .38 -Infinite .72
X3 150 0 .72 .38 Infinite
Valor Value Limit Limit
Surplus
Dual Original Inferior
Milk production
-0.5 0 300 226.92 350
skimmed
Production of
-.34 0 200 105 250
butter
Cheese production 0 50 100 - Infinite 150
Times for
0 95 480 385 Infinite
machine 1
Times for
0 70 480 410 Infinite
machine 2
Quantity of products .72 0 650 600 708.33

3. List of solutions.

Variable State Value


X1 Basic 300
X2 Basic 200
X3 Basic 150
surplus 1 NO Basic 0
surplus 2 NO Basic 0
surplus 3 Basic 50
Leftovers 4 Basic 95
surplus 5 Basic 70
artfcl 6 NO Basic 0
Optimum Value (Z) 250

Interpretation:
X1 = 300 liters of skimmed milk
X2 = 200 liters of butter Production Rhythm
X3 = 150 liters of cheese
Zmax = 250

Surplus:
S4= 95 minutes machine 1
S570 minutes machine 2
4. Iterations.

0 0 0 0 0 0 0 0 0
Variable
Cj Cantidad .2199.. .3799.. .7200.. Artfcl Surplus Artfcl surplus artfcl surplus slack slack slack
Basic
1 1 2 2 3 3 4 5 6
Phase 1–

Iteration
1
1 artfcl 1 300 1 0 0 1 -1 0 0 0 0 0 0 0
1 artfcl 2 200 0 1 0 0 0 1 -1 0 0 0 0 0
1 artfcl 3 100 0 0 1 0 0 0 0 1 -1 0 0 0
0 slack 4 480 0.2 0.5 1.5 0 0 0 0 0 0 1 0 0
0 slack 5 480 0.3 0.7 1.2 0 0 0 0 0 0 0 1 0
1 artfcl 6 650 1 1 1 0 0 0 0 0 0 0 0 1
Zj 1,250 -2 -2 -2 1 1 1 1 1 1 0 0 1
cj-zj 2 2 2 0 -1 0 -1 0 -1 0 0 0

Iteration
2
0 X1 300 1 0 0 1 -1 0 0 0 0 0 0 0
1 artfcl 2 200 0 1 0 0 0 1 -1 0 0 0 0 0
1 artfcl 3 100 0 0 1 0 0 0 0 1 -1 0 0 0
0 slack 4 420.0 0 0.5 1.5 -0.2 0.2 0 0 0 0 1 0 0
0 slack 5 390.0 0 0.7 1.2 -0.3 0.3 0 0 0 0 0 1 0
1 artfcl 6 350 0 1 1 -1 1 0 0 0 0 0 0 1
Zj 650 0 -2 -2 3 -1 1 1 1 1 0 0 1
cj-zj 0 2 2 -2 1 0 -1 0 -1 0 0 0

Iteration
3

0 X1 300 1 0 0 1 -1 0 0 0 0 0 0 0
0 X2 200 0 1 0 0 0 1 -1 0 0 0 0 0
1 artfcl 3 100 0 0 1 0 0 0 0 1 -1 0 0 0
0 slack 4 320.0 0 0 1.5 -0.2 0.2 -0.5 0.5 0 0 1 0 0
0 slack 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5 0 0 .22
cj-zj 0 0 0 0 0 -0.16 0.16 -0.5 0.5 0 0 -0.22
Iteration
7
.22 X1 300 1 0 0 1 -1 0 0 0 0 0 0 0
.38 X2 200 0 1 0 0 0 1 -1 0 0 0 0 0
.72 X3 150 0 0 1 -1 1 -1 1 0 0 0 0 1
0 slack 4 95.0 0 0 0 1.3 -1.3 1 -1 0 0 1 0 -1.5
0 slack 5 70.0 0 0 0 0.9 -0.9 0.5 -0.5 0 0 0 1 -1.2
0 surplus 50 0 0 0 -1 1 -1 1 -1 1 0 0 1
3
Zj 250 0.22 0.38 .72 -0.5 .5 -.34 .34 0 0 0 0 0.72
cj-zj 0 0 0 0.5 -0.5 0.34 -0.34 0 0 0 0 -0.72

5. Dual.

Problem
Original
Maximize X1 X2 X3
Quantity
milk 1 0 0 >= 300
skimmed
Quantity
of 0 1 0 >= 200
butter
Quantity
0 0 1 >= 100
of cheese
Times
0.2 0.5 1.5 <= 480
machine 1
Times
0.3 0.7 1.2 <= 480
machine 2
Quantity
of 1 1 1 = 650
products

Problem
Dual
Amount Amount Times Times
Quantity Amount of
milk of machine machine
of cheese products
skimmed butter 1 2
Minimize -300 -200 -100 480 480 650
X1 -1 0 0 0.2 0.3 1 is greater than or equal to 0.22

X2 0 -1 0 0.5 0.7 1 >= 0.38


X3 0 0 -1 1.5 1.2 1 is greater than or equal to 0.72

Unrestricted
PRIMAL MODEL

MAXZ: 0.22 X 1+ 0.38 X +2 0.72 X 3

Subject A:

Skim milk production X >= 300 1


Butter production X2 >= 200
Cheese production X3 >= 100
Time for machine1 0.2X1 + 0.5X2 + 1.5X3 <= 480
Time for machine 2 0.3X 1 + 0.7X2 + 1.2X3 <= 480
Quantity of products X1 + X2 + 3X = 650

Standard Model

X1 >= 300…Y 1
X2 >= 200... Y2
X3 >= 100…Y 3
0.2X1 + 0.5X2 + 1.5X3 <= 480…Y
4
0.3X1 + 0.7X2 + 1.2X3 <= 480… 5Y
X1 + X2 + 3X = 650...Y
6

Regarding the Dual solution.

Y1 =-0.5 Y3 =0 Y5 =0
Y2 = -0.34 Y4 =0 Y6 =0.72

Gmin= 300 Y1+ 200 Y2+ 100 Y3+ 480 Y4+ 480 Y5+ 650 Y6
Gmin= 300(-0.5) + 200(-0.34) + 100(0) + 480(0) + 480(0) + 650(0.72)
Gmin = -150 - 68 + 468
$250

The general property of Duality is:

$250
Then: Zmax = Gmin
Interpretation.
X1 = 300 liters of skim milk
X2 = 200 liters of butter
X3 = 150 liters of cheese

Replacing in the restrictions:

Quantity of products:
X1+X2+X3= 650
300+200+150 = 650
650 = 650
The required quantity of products, which is 650, is met.

Regarding the times of machine 1:


0.2X1+0.5X2+1.5X3<= 480
0.2(300)+0.5(200)+1.5(150) ≤ 480
60 + 100 + 225 ≤ 480
385 is less than or equal to 480

The hours requirement on machine 1 is met.

Regarding the times of machine 2:


0.3X1+0.7X2+1.2X3≤ 480
0.3(300) + 0.7(200) + 1.2(150) ≤ 480
90 + 140 + 180 ≤ 480
410 ≤ 480

The hours on machine 2 are being fulfilled.

c) What strategy would you follow to improve the solution to the problem?

The daily hours allocation for each machine should be reduced, as we see in the
results we have a surplus of 95 minutes on machine 1 and a surplus of 70 minutes on the
machine 2, which shows a waste of daily hours on both machines
production.

You might also like