LP Goal Programming (Linear Programming)
LP Goal Programming (Linear Programming)
Slide 1
Goal Programming
Slide 2
Goal Programming Formulation
Slide 5
GP Example: Conceptual Products
Slide 6
GP Example: Formulation
Variables
x1 = number of CP400 computers produced weekly
x2 = number of CP500 computers produced weekly
di- = amount the right hand side of goal i is deficient
di+ = amount the right hand side of goal i is exceeded
Functional Constraints
Availability of memory modules: 2x1 + x2 < 1000
Availability of external hard drives: x2 < 500
Availability of cases: x1 + x2 < 600
Slide 7
GP Example: Formulation
Goals
(1) 200 CP400 computers weekly:
x1 + d1- - d1+ = 200
(2) 500 total computers weekly:
x1 + x2 + d2- - d2+ = 500
(3) $250(in thousands) profit:
.2x1 + .5x2 + d3- - d3+ = 250
(4) 400 total man-hours weekly:
x1 + 1.5x2 + d4- - d4+ = 400
Non-negativity:
x1, x2, di-, di+ > 0 for all i
Slide 8
GP Example: Formulation
Objective Functions
Slide 9
GP Example: Formulation
Formulation Summary
Min P1(d1-) + P2(d2-) + P3(d3-) + P4(d4+)
s.t. 2x1 +x2 < 1000
+x2 < 500
x1 +x2 < 600
x1 +d1- -d1+ = 200
x1 +x2 +d2- -d2+ = 500
.2x1+ .5x2 +d3- -d3+ = 250
x1+1.5x2 +d4- -d4+ = 400
x1, x2, d1-, d1+, d2-, d2+, d3-, d3+, d4-, d4+ > 0
Slide 10
GP Example: Graphical Solution
Iteration 1
To solve graphically, first graph the functional
constraints. Then graph the first goal: x1 = 200. Note
on the next slide that there is a set of points that
exceed x1 = 200 (where d1- = 0).
Slide 11
GP Example: Graphical Solution
400
Points
Satisfying
200
Goal 1
x1
200 400 600 800 1000 1200
Slide 12
GP Example: Graphical Solution
Iteration 2
Now add Goal 1 as x1 > 200 and graph Goal 2:
x1 + x2 = 500. Note on the next slide that there is still a
set of points satisfying the first goal that also satisfies
this second goal (where d2- = 0).
Slide 13
GP Example: Graphical Solution
x1
200 400 600 800 1000 1200
Slide 14
GP Example: Graphical Solution
Iteration 3
Now add Goal 2 as x1 + x2 > 500 and Goal 3:
.2x1 + .5x2 = 250. Note on the next slide that no points
satisfy the previous functional constraints and goals
and satisfy this constraint.
Thus, to Min d3-, this minimum value is achieved
when we Max .2x1 + .5x2. Note that this occurs at x1 =
200 and x2 = 400, so that .2x1 + .5x2 = 240 or d3- = 10.
Slide 15
GP Example: Graphical Solution
Slide 17
GP Example 2: Conceptual Products
Slide 18
GP Example 2: Conceptual Products
Slide 19
GP Example 2: Conceptual Products
Slide 20
GP Example 2: Formulation
Variables
x1 = number of CP400 computers produced weekly
x2 = number of CP500 computers produced weekly
x3 = number of CP600 computers produced weekly
di- = amount the right hand side of goal i is deficient
di+ = amount the right hand side of goal i is exceeded
Functional Constraints
Availability of memory modules: 2x1 + x2 + x3 < 1000
Availability of external hard drives: x2 + x3 < 500
Availability of cases: x1 + x2 + x3 < 600
Slide 21
GP Example 2: Formulation
Goals
(1) 200 CP400 computers weekly:
x1 + d1- - d1+ = 200
(2) 500 total computers weekly:
x1 + x2 + x3 + d2- - d2+ = 500
(3) $250(in thousands) profit:
.2x1 + .5x2 + .9x3 + d3- - d3+ = 250
(4) 400 total man-hours weekly:
x1 + 1.5x2 + 2x3 + d4- - d4+ = 400
Non-negativity:
x1, x2, x3, di-, di+ > 0 for all i
Slide 22
GP Example 2: Conceptual Products
Objective Functions
Slide 23
GP Example 2: Conceptual Products
Priority 1 Formulation
Min d1-
s.t. 2x1 +x2 +x3 < 1000
+x2 +x3 < 500
x1 +x2 +x3 < 600
x1 +d1- -d1+ = 200
x1 +x2 +x3 +d2- -d2+ = 500
.2x1+ .5x2 +.9x3 +d3- -d3+ = 250
x1+1.5x2 +2x3 +d4- -d4+ = 400
x1, x2, x3, d1-, d1+, d2-, d2+, d3-, d3+, d4-, d4+ > 0
Slide 24
GP Example 2: Conceptual Products
Slide 25
GP Example 2: Conceptual Products
Priority 2 Formulation
Min d2-
( include the previous 7 constraints,
i.e. 3 functional constraints and 4 goal
constraints )
( add the constraint: d1- = 0 )
Slide 26
GP Example 2: Conceptual Products
Slide 27
GP Example 2: Conceptual Products
Priority 3 Formulation
Min 5d3- + d4+
( include the previous 8 constraints
i.e. 3 functional constraints and 4 goal
constraints and d1- = 0 )
Slide 28
GP Example 2: Conceptual Products
Slide 29
GP Example 2: Conceptual Products
Final Solution
Slide 30