HEDEF PROGRAMLAMA ÖRNEK PROBLEM, PDF
HEDEF PROGRAMLAMA ÖRNEK PROBLEM, PDF
A small paint company manufactures two types of paint, latex and enamel. In
production, the company uses 10 hours of labor to produce 100 gallons of latex and
15 hours of labor to produce 100 gallons of enamel. The company has 40 hours of
daily labor and 30 hours of overtime labour available each week. Furthermore, if
enamel paint is produced, latex paint must also be produced. Each paint generates a
profit at the rate of $1.00 per gallon. The company has the following objectives
listed in decreasing priority:
c) Using the solution to the model, determine the deviation from the goal
Latex Enamel
Labour for 100 gallons 10 15
(hours)
Profit for 1 gallon $1 $1
Step 2: State your (functional) constraints
Remember these are your constraints not your goals. Goals do not have to be met
(i.e they can go over or under the required amount) but constraints must always be
met. These constraints are sometimes call functional constraints or hard constraints.
Constraint 2: Latex paint ≥ Enamel paint (i.e. this ensures that if enamel paint is
produced, latex paint is also produced)
Note: In goal programming we are required to meet the objective/ goal with the
highest priority first i.e. in this case Goal 1.
P3: Goal 3 - Produce at least 700 gallons/wk of enamel paint i.e. enamel
paint ≥ 700 gallons/wk
Constraint 2: L ≥ E
Rewriting:
Note: You must always rewrite your constraints such that all decision variables are
on the LHS and all constants are on the RHS.
Note: Remember L is the no. of 100 gallons of latex paint produced per week,
therefore since the profit is $1 per gallon, then the profit for 100 gallons of latex
paint is $100
Note: Remember E is the no. of 100 gallons of enamel paint produced per week,
therefore 7 batches of 100 gallons of enamel has to be produced to get 700 gallons
10 L + 15 E ≤ 40
10 L + 15 E + Y1- – Y1+ = 40
where Y1- is the slack deviation variable and Y1+ is the excess deviation variable for
Goal 1
Yi- : represents how much we must add to make up the goal i.e. the slack (we use
the negative sign to represent we have fallen short of the goal)
Yi+ : represents how much we must subtract to make up the goal i.e. the excess (we
use the positive sign to represent we have exceeded the goal)
Note: We added both deviation variables to the goal constraints unlike what we
would have done for the functional (hard) constraints. This is because, goal
constraints are allowed to go over and go under their constraint value.
Note: The deviation variables have the same units as E and L, that is they are
measured in 100 gallons of paint.
10 L + 15 E = 60
Then
10 L + 15 E + Y1- – Y1+ = 60 – 20 = 40
This means we would have exceeded the goal by 20 hours (60 – 40 = 20 hrs), i.e.
we would be in excess of the goal. Therefore, we have no slack which means our
slack deviation variable, Y1- = 0. Our excess deviation variable would be Y1+ = 60 –
40 = 20.
10 L + 15 E + Y1- – Y1+ = 40
From this goal, if you recall we do not want to go over the 40 daily labour hours
available per week i.e.
10 L + 15 E ≤ 40
We require the profit to be more than $1000, in other words, we do want it to fall
under $1000. The variable that corresponds to us fallen under our goal, is our slack
deviation variable, Y2-. We thus want to make this as small as possible, i.e.
minimize Y2-.
E≥7
E + Y3- – Y3+ = 7
We require that enamel paint production be always above 700 gallons. We thus
have to ensure that our slack deviation variable, Y3-, is as small as possible, i.e.
minimized.
Note: Remember Y3- and Y3+ are both measured in 100 gallons of paint.
Step 9: Write the objective function with priorities
Thus we are required to minimize Y1+, Y2-, Y3-. By minimizing these variables we
will be able to possibly satisfy our goals.
Now we are almost near to writing our objective function. If you recall from Step
3, we said that P1 ≥ P2 ≥ P3, where Pi represented the goal priorities. When we
write the objective function, we use P1, P2,and P3 as the objective variables
coefficients, to denote which variable has the highest priority (these will have
actual meaning/ values when we deal with goal penalties).
Min P1Y1+ + +
P2Y2- P3Y3-
s.t.
10 L + 15 E ≤ 70 (Labour)
L –E ≥0 (Production)
Goal 10 L + 15 E + – Y1+ = 40 (Overtime)
1: Y1 -
Goal 100 L + 100 E + Y2 - – Y2+ = (Profit)
2: 1000
Goal E + Y3 - – =7 (Enamel
3: Y3 + Prod.)
All variables ≥ 0