Mixed Integer Prog - Excel Solver Practice Example
Mixed Integer Prog - Excel Solver Practice Example
Integer Programming (IP) Models Integer Programming Graphical Solution Computer Solution of Integer Programming Problems With Excel and QM for Windows
Press Lathe
A 0 - 1 Integer Model (1 of 2)
Recreation facilities selection to maximize daily usage by residents. Resource constraints: $120,000 budget; 12 acres of land. Selection tennis S l ti constraint: t i t either ith swimming i i pool l or t i center t (not both). Data:
Recreation Facility Swimming pool Tennis Center Athletic field Gymnasium Expected Usage (people/day) 300 90 400 150 Cost ($) 35,000 10,000 25,000 90,000 Land Requirement (acres) 4 2 7 3
A 0 - 1 Integer Model (2 of 2)
Integer Programming Model: Maximize Z = 300x1 + 90x2 + 400x3 + 150x4 subject to: $35,000x1 + 10,000x2 + 25,000x3 + 90,000x4 $120,000 4x1 + 2x2 + 7x3 + 3x4 12 acres x1 + x2 1 facility x1, x2, x3, x4 = 0 or 1 x1 = construction of a swimming pool x2 = construction of a tennis center x3 = construction of an athletic field x4 = construction of a gymnasium
7
Rounding non-integer solution values up to the nearest integer value can result in an infeasible solution A feasible solution is ensured by rounding down noninteger solution values but may result in a less than optimal (sub-optimal) solution.
10
Maximize Z = $100x1 + $150x2 subject to: 8,000x1 + 4,000x2 $40,000 15x1 + 30x2 200 ft2 x1, x2 0 and integer Optimal Solution: Z = $1,055.56 x1 = 2.22 2 22 presses x2 = 5.55 lathes
12
13
14
15
16
17
Recreational Facilities Example: M i i Z = 300 Maximize 300x1 + 90x 90 2 + 400x 400 3 + 150x 150 4 subject to: $35,000x1 + 10,000x2 + 25,000x3 + 90,000x4 $120,000 4x1 + 2x2 + 7x3 + 3x4 12 acres x1 + x2 1 facility x1, x2, x3, x4 = 0 or 1
18
19
Exhibit 5.8
20
10
21
22
11
23
24
12
25
26
13
27
28
14
15
31
32
16
0 1 Integer Programming Modeling Examples Fixed Charge and Facility Example (1 of 4) Which of six farms should be purchased that will meet current production capacity at minimum total cost, including annual fixed costs and shipping costs? Data:
Shipping Costs
Plant A B C Available Capacity (tons,1000s) 12 10 14
Farms
1 2 3 4 5 6
Annual Fixed Projected Annual Costs Harvest (tons, 1000s) ($1000) 405 11.2 390 10.5 450 12.8 368 9.3 520 10.8 465 9.6
Farm 1 2 3 4 5 6
A 18 13 16 19 17 14
Plant B 15 10 14 15 19 16
C 12 17 18 16 12 12
33
17
35
36
18
0 1 Integer Programming Modeling Examples Set Covering Example (1 of 4) APS wants to construct the minimum set of new hubs in the following twelve cities such that there is a hub within 300 miles of every city:
Cities 1. Atlanta 2. Boston 3. Charlotte 4. Cincinnati 5. Detroit Pittsburgh 6. Indianapolis 7 Mil k 7. Milwaukee 8. Nashville 9. New York 10. Pittsburgh 11. Richmond 12. St. Louis Cities within 300 miles Atlanta, Charlotte, Nashville Boston, New York Atlanta, Charlotte, Richmond Cincinnati, Detroit, Indianapolis, Nashville, Pittsburgh Cincinnati, Detroit, Indianapolis, Milwaukee, Cincinnati, Detroit, Indianapolis, Milwaukee, Nashville, St. Louis D t it Indianapolis, I di li Milwaukee Mil k Detroit, Atlanta, Cincinnati, Indianapolis, Nashville, St. Louis Boston, New York, Richmond Cincinnati, Detroit, Pittsburgh, Richmond Charlotte, New York, Pittsburgh, Richmond Indianapolis, Nashville, St. Louis
37
38
19
39
40
20
41
Total Integer Programming Modeling Example Model Formulation (2 of 3) Step 1: Formulate the Integer Programming Model Maximize Z = $85,000x1 + 60,000x2 subject to: x1 + x2 10 salespeople $10,000x1 + 7,000x2 $72,000 expense budget x1, x2 0 or integer Step 2: Solve the Model using QM/Excel for Windows
42
21
43
22