Académique Documents
Professionnel Documents
Culture Documents
PROGRAMMING
PAWAN KUMAR
PAWAN KUMAR MEENA
PRANAY MOHADIKAR
PRASHANT MATHUR
PRATEEK
2K12/ME/121
2K12/ME/122
2K12/ME/123
2K12/ME/124
2K12/ME/125
CONTENTS
INTRODUCTION
GOAL PROGRAMMING VERSUS LINEAR
PROGRAMMING
TERMINOLOGY
TYPES OF GOAL PROGRAMMING
GOAL FORMULATION
SOLVING GOAL PROGRAMMING PROBLEMS
GRAPHICALLY
MODIFIED SIMPLEX METHOD FOR GOAL
PROGRAMMING
INTRODUCTION
Introduced by Charnes and Cooper in 1960s
Provides a method of dealing with a collection
of goals, rather than an explicit objective
function.
Objective is to minimize the deviation from
each of the goals that have been established.
Constraints are soft in that you may violate
one (i.e. not meet one goal) if it means you
can make better progress toward one of the
other goals.
TERMINOLOGY
ASPIRATION LEVEL
Specific value associated with the desired or
acceptable level of the objective
Used to measure achievement of the objective
GOAL
An objective in conjunction with an aspiration
level
GOAL DEVIATION
Difference between what we aspire to and what
we accomplish w.r.t. objective
Can be high or low
TYPES OF GOAL
PROGRAMMING
Weights method
the single objective function is the weighted
sum of the of the functions representing the
goals of the problem.
MIN Z= w1d1+w2d2++wndn
Preemptive method
prioritizes the goals in order of importance,
then optimizes one goal at a time.
MIN Z= P1d1+P2d2++Pndn
GOAL FORMULATION
Three
(1) fi(x)
(2) fi(x)
(3) fi(x)
possible goals
>bi
fi(x)+di--di+=bi
<bi
fi(x)+di--di+=bi
= bi
fi(x)+di--di+=bi
Min di+
Min diMin(di++di-)
Mathematical Formulation
Maximize
subject to
profit =$7X1+$6X2
2X1+ 3X2 12 (wiring hours)
6X1+ 5X2 30 (assembly hours)
X1, X2 0(nonnegative)
where
X1 = number of chandeliers produced
X2 = number of ceiling fans produced
Goal Formulation
Goal Formulation
Goal Formulation
The
Goal Formulation
subject to
7X1 + 6X2 + d1 d1+ = 30(profit constraint)
2X1 + 3X2 + d2 d2+ = 12 (wiring hours)
6X1 + 5X2 + d3 d3+ = 30 (assembly hours)
X2 + d4 d4+ = 7 (ceiling fan constraint)
All Xi, di variables 0
GOAL
PRIORITY
Reach a profit as
much above $30 as
possible
P1
P2
Avoid assembly
department overtime
P3
Produce at least
seven ceiling fans
P4
X2
7
Minimize Z = P1d1
6
5
4
3
d1+
2
1
d1
7X1 + 6X2 = 30
0
|
X1
X2
7
Minimize Z = P1d1 + P2d2
6
5
d1+
4
3
2X1 + 3X2 = 12
d2+
1
0
7X1 + 6X2 = 30
d2
X1
X2
The third goal is to avoid
7
d4+
overtime in the assembly
X2 = 7
department
d4
6
We want d3+ to be as close to
A Minimize Z = P d + P d + P d + + P d
1 1
2 2
3 3
4 4
zero as possible
d3+
5
This goal can be obtained
D
Any point inside the feasible
d
4
3
region bounded by the first three
constraints will meet the three
d1+
3
most critical goals
The fourth constraint seeks to
d2+
6X1 + 5X2 = 30
2
minimize d4
C
To do this requires eliminating
B
2X1 + 3X2 = 12
1
the area below the constraint
line X2 = 7 which is not possible
7X1 + 6X2 = 30
0
given the previous, higher
|
|
|
|
|
|
priority, constraints
1
2
3
4
5
6 X
1
1. The variables in the problem are listed at the top, with the
decision variables (X1 and X2) first, then the negative
deviational variables and, finally, the positive deviational
variables. The priority level of each variable is assigned on
the very top row.
2. The negative deviational variables for each constraint
provide the initial basic solution. This is analogous to the use
of slack variables in the earlier simplex tableaus. The priority
level of each variable in the current solution mix is entered
in the Cj column.
P1
P2
P4
P3
QUANTITY
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
bi
P1
d1
30
P2
d2
12
d3
30
P4
d4
Zj
P4
P3
P2
12
P1
30
P4
P3
P2
2 Pivot
3 column
0
P1
Cj Zj
P1
P2
P4
P3
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
QUANTITY
X1
6/7
1/7
1/7
30/7
P2
d2
9/7
2/7
2/7
24/7
d3
1/7
6/7
6/7
30/7
P4
d4
Zj
P4
P3
P2
9/7
2/7
2/7
24/7
P1
P4
P3
P2
9/7
2/7
2/7
P1
Cj Zj
Pivot column
Final solution
Cj
P1
P2
P4
P3
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
QUANTITY
d2+
8/5
3/5
3/5
X2
6/5
1/5
1/5
d1+
1/5
6/5
6/5
P4
d4
6/5
1/5
1/5
Zj
P4
6/5
1/5
1/5
P3
P2
P1
P4
6/5
1/5
1/5
P3
P2
P1
Cj Zj
In the final solution the first three goals have been fully achieved with
no negative entries in their Cj Zj rows
But the positive number in the d3+ at the P3 priority level (shaded cell)
tells us that if we try to force d3+ into the solution mix, it will be at the
expense of the P3 goal which has already been satisfied
0 chandeliers produced
6 ceiling fans produced
= $6 over the profit goal
= 6 wiring hours over the minimum set
1 fewer fan than desired
THE END