Professional Documents
Culture Documents
Optimization Model
Sharisse Gomez, Alyssa Onorario, Abegail Romas
Department of Mathematics, Physics, and Computer Science
University of the Philippines Mindanao
June 2021
In this report, the goal is to formulate a model to solve an optimization problem. This consists
of four main parts: 1) Problem Overview, 2) Model Formulation, 3) Solution and Analysis, and 4)
Discussion.
1 Problem Overview
The employees of Dunder Mifflin Scranton are selling handmade bobble head figures and scented
candles to raise funds for rabies awareness.
From their calculations, each bobble head figure makes a profit of $3 and every scented candle
makes a profit of $2. There are two significant stages involved in making these items: pre-production
and production. A bobble head figure requires 1 hour of pre-production and 2 hours of production.
A scented candle requires 1 hour of pre-production and 1 hour of production.
Each week, the employees can obtain all the needed raw materials but the pre-production hours
must not be greater than 80 and the production hours must not be greater than 100. The demand
for bobble head figures is unlimited but at most 40 scented candles can be bought each week. Now,
the goal of the Dunder Mifflin Scranton employees is to maximize their weekly profit.
2 Model Formulation
2.1 Variables
From the optimization problem, two decision variables are identified. These are defined as follows.
• x - the number of bobble head figures produced per week
• y - the number of scented candles produced per week
2.2 Constraints
The following are the constraints established by the problem.
• There can only be at most 80 pre-production hours.
1
2.3 Assumptions
• The values of x and y are always positive, i.e., x, y > 0.
• The decision variables, x and y, can assume both fractional and integer values.
max z (1)
max z = 3x + 2y (2)
2x + y ≤ 100
x + y ≤ 80
y ≤ 40
max 3x + 2y
s.t. 2x + y ≤ 100
x + y ≤ 80 (3)
y ≤ 40
x, y > 0
2
Figure 1: Table for graphical solution
Next, the x and y intercepts from Figure 1 are plotted first on the graph as shown below in
Figure 2.
Then, the lines 2x + y = 100 and x + y = 80 can be plotted as shown in Figure 3. Since it was
assumed that x, y > 0, the graph will only be on the first quadrant.
3
Finally, the line y = 40 can also be graphed, and the points where all the lines intersect are
plotted as shown in Figure 4.
Now that the convex set for the constraints have been graphed, the feasible region can now be
determined. In Figure 5 below, the region shaded with purple is the feasible region, which is given
by the polygon EGBH. All the points in this region will satisfy the linear inequalities defining the
constraints. However, the problem is finding the optimal solution. To obtain this, the corner-point
method will be demonstrated.
4
Figure 6: Performing the corner-point method to find the optimal solution
Listed in Figure 6 above are the coordinates of the points on the corners of the feasible region.
These points are used to evaluate the values of the objective function z = 3x + 2y, and the results
are compared to determine the maximum value.
Observe that among points B, G, E, and H, the values of the coordinates of point H result to
the largest value of z which is 170. Therefore, the optimal solution lies in point H, where x = 30
and y = 40. This means that the Dunder Mifflin Scranton employees must make 30 bobble head
figures and 40 scented candles per week to earn a maximum weekly profit of $170.
3.2 Analysis
The optimal solution found to generate the maximum weekly profit is to make 30 bobble head
figures (x) and 40 scented candles (y). To test whether this solution is valid, consider the constraints
established in the problem.
The first constraint is 2x + y ≤ 100. Substituting x = 30 and y = 40 to the inequality gives
2(30) + 40 ≤ 100
60 + 40 ≤ 100
100 ≤ 100
which is true.
The second constraint is x + y ≤ 80. Substituting x = 30 and y = 40 to the inequality gives
30 + 40 ≤ 80
70 ≤ 80
4 Discussion
In this report, the problem was to maximize the weekly profit of the Dunder Mifflin Scranton
employees who are selling bobble head figures and scented candles. After the decision variables,
constraints, and assumptions were established, the optimization model was formulated and it was
given by
5
max 3x + 2y
s.t. 2x + y ≤ 100
x + y ≤ 80
y ≤ 40
x, y > 0
Since this is a linear program, it was solved using the Graphical Solution and Corner-point
method. A feasible region was determined, and this region defines all the possible values of weekly
profit that the Dunder Mifflin Scranton employees could generate. The goal was to find the optimal
solution, that is, the values of the decision variables that would generate the maximum amount of
profit. If this optimal solution exists, it must occur among the extreme points of the convex set
formed by the set of constraints. So, the objective function z = 3x + 2y was evaluated using the
values of the corner points of the feasible region. Among the four corner points, the point H(30, 40)
resulted to the largest value of the objective function. Thus, the optimal solution lies in point H,
and this means that the Dunder Mifflin Scranton employees must make 30 bobble head figures and
40 scented candles per week to earn a maximum weekly profit of $170.
6
References
[1] GeoGebra - Dynamic Mathematics for Everyone (2021, June 8). Graphing Calculator. GeoGebra.
https://www.geogebra.org/graphing?lang=en