Professional Documents
Culture Documents
c07 Ip Models
c07 Ip Models
Sect.
1
Inv
Inv_2
3
FixedIP
FixedNet
4
LocIP
LocNet
LocTran
5
Cover
6
TSP
TSP_Trans
MST
SPT
SPT_Net
7
Cutting
8
Non_Lin_Coef
Non_Lin
Page 1
Instructions
Chapter 7
Operations Research Models and Methods
Paul A. Jensen and Jonathan F. Bard
Integer Programming Models
http://www.me.utexas.edu/~jensen/ORMM/computation/unit/mp_add/index.html
Instructions
To use this workbook, you must first load the Math Programming add-ins. See the Excel help file topic
"About add-ins" before continuing.
For cases using the LP/IP Solver you must first load the Math Programming and the LP/IP Solver add-ins.
This workbook comes without control buttons. To make the buttons choose the Add Buttons commands
from both the Math Programming add-in. This adds buttons to all the worksheets.
Page 2
Instructions
Add-ins used
Math Programming - Linear/Excel Solver
Math Programming - Linear/Excel Solver
None
Math Programming - Linear/Excel Solver
Page 3
Linear Model Name: Inv Solver: Jensen LP/IP Tree Nodes
1 Type: LP1 Type: Linear-Integer Simplex Iter.
0 Change Goal: Max Sens.: No Comp. Time
1 Objective: 40 Side: No
1 Solve
1 Variables I-1 I-2 I-3 I-4 I-5 I-6
100 Vary Name: A1 A2 A3 A4 B1 B2
100 Values: 1 0 1 0 0 0
0 Lower Bounds:
Change Relation 0 0 0 0 0 0
60 Upper Bounds: 1 1 1 1 1 1
5 8 12 16 19 20
12 20 30 44 48 55
Algorithmic Details for problem Inv. Objective value: 40
Jensen LP Solution Algorithm Solution Var 1 Var 2
Start Solution 1 0
Add Artificial and Slack Variables
Slack Variable: 13 added for constraint 1.
Start Phase 2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
1 12 0 -20 1
2 11 13 -19 0.9375
3 -12 11 -1.770833 0.0545455
4 1 0 -1.272727 1
5 9 0 -1.090909 1
6 8 12 -0.727273 0.45
7 7 8 -0.2 0.75
8 -11 7 -1 0.0625
9 8 0 -0.083333 1
Node 0 Optimal: z = 40.8958333333333
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
10 -9 14 -0.625 0.7666667
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 1 Optimal: z = 40.7999996185303
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
11 12 14 -1.833333 0.1272727
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
12 3 12 -0.272727 0.2916666
Node 2 Optimal: z = 40.6249996758997
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
13 12 14 -2.291667 0.1272727
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
14 4 12 -0.090909 0.2333333
Node 3 Optimal: z = 40.5666663169861
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
15 12 14 -1.833333 0.1272727
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 4 Optimal: z = 40.5454542311755
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
16 6 14 -0.818182 0.1555555
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
17 10 6 -1.333333 0.1590909
Node 5 Optimal: z = 40.5454542040825
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
18 6 14 -1.022727 0.1555555
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
19 2 6 -0.333333 0.35
Node 6 Optimal: z = 40.4499997287989
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
20 6 14 -2.25 0.1555555
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 7 Optimal: z = 40.3333330949148
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
21 5 14 -0.866667 0.1794872
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 8 Optimal: z = 40.1538460254669
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
22 13 14 -0.025641 6.9999996
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 9 Optimal: z = 38
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
23 -8 0 -20 1
24 -1 14 -13 0.9230769
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
25 -7 0 -0.538462 1
Node 10 Optimal: z = 37
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
26 -5 0 -39 1
27 -1 14 -13 0.4615385
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 11 Optimal: z = 37.2307692307692
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
28 -6 14 -45 0.4444444
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
29 1 0 -1.666667 0.4615385
30 8 6 -1.333333 0.95
31 7 0 -0.2 1
Node 12 Optimal: z = 39.8
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
32 6 15 -2.25 0.1555556
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 13 Optimal: z = 39.3333332935969
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
33 5 15 -0.866667 0.1794872
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 14 Optimal: z = 39.1538460254669
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
34 13 15 -0.025641 6.9999996
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 15 Optimal: z = 37
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
35 -1 0 -13 1
36 -7 0 -12 1
Node 16 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
37 -5 0 -39 1
Node 17 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
38 -6 14 -45 0.7333333
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
39 1 6 -1.666667 0.9230769
Node 18 Optimal: z = 39.5384615384615
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 19 Infeasible
Add Artificial and Slack Variables
Slack Variable: 13 added for constraint 1.
Start Phase 2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
40 6 13 -15 0.2666667
41 7 0 -1 1
Node 20 Optimal: z = 39
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
42 -2 0 -20 1
43 -8 0 -20 1
44 -7 14 -12 0.3333333
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
45 1 7 -0.583333 0.6153846
Node 21 Optimal: z = 38.6923076923077
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
46 -10 0 -44 1
47 -1 0 -13 0.6153846
Node 22 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
48 -12 14 -55 0.6
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
49 1 0 -1.272727 1
50 8 12 -0.727273 0.45
51 7 8 -0.2 0.75
Node 23 Optimal: z = 39.75
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
52 -4 14 -30 0.8
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
53 8 4 -0.666667 0.3
54 7 0 -0.2 0.25
Node 24 Optimal: z = 40.2
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
55 12 15 -2.75 0.0545455
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
56 4 12 -0.090909 0.1
Node 25 Optimal: z = 40.1000000437101
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
57 12 15 -1.833333 0.0545455
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 26 Optimal: z = 40.0909091071649
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
58 6 15 -0.818182 0.0666667
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
59 10 6 -1.333333 0.0681818
Node 27 Optimal: z = 40.0909090936184
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
60 6 15 -1.022727 0.0666667
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
61 2 6 -0.333333 0.15
Node 28 Optimal: z = 40.0500000312924
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
62 6 15 -2.25 0.0666667
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 29 Optimal: z = 40.0000000397364
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
63 5 15 -0.866667 0.0769231
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 30 Optimal: z = 39.9230769712191
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
64 -5 0 -39 0.0769231
65 -1 0 -13 1
66 -7 0 -12 1
Node 31 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
67 -6 14 -45 0.8222222
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
68 1 6 -1.666667 0.6153846
Node 32 Optimal: z = 38.6923076923077
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
69 -2 0 -20 1
70 -1 0 -13 0.6153846
Node 33 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
71 -10 0 -44 1
Node 34 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
72 -12 0 -55 1
Node 35 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
73 -4 14 -30 0.7333333
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
74 1 4 -1.233333 0.6153846
Node 36 Optimal: z = 39.6923076923077
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
75 -3 0 -24 1
76 -8 14 -20 0.3
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
77 1 0 -0.8 0.3846154
78 7 8 -0.2 0.75
Node 37 Optimal: z = 40.75
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
79 -1 15 -1.083333 0.2307692
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 38 Optimal: z = 40.6153846153846
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 39 Infeasible
Add Artificial and Slack Variables
Slack Variable: 13 added for constraint 1.
Start Phase 2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
80 12 13 -20 0.1818182
81 8 12 -0.727273 0.5
Node 40 Optimal: z = 40
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 41 Infeasible
Add Artificial and Slack Variables
Slack Variable: 13 added for constraint 1.
Start Phase 2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
82 12 13 -20 0.1818182
83 3 12 -0.272727 0.4166667
Node 42 Optimal: z = 39.75
Add Artificial and Slack Variables
Slack Variable: 13 added for constraint 1.
Start Phase 2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
84 12 13 -20 0.2181818
85 1 12 -1.272727 0.9230769
86 -3 1 -2.076923 0.0416667
87 8 3 -0.5 0.45
Node 43 Optimal: z = 40.6
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
88 12 14 -2.75 0.1636364
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
89 3 12 -0.272727 0.375
Node 44 Optimal: z = 40.374999910593
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
90 12 14 -2.291667 0.1636364
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
91 4 12 -0.090909 0.3
Node 45 Optimal: z = 40.3
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
92 12 14 -1.833333 0.1636364
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 46 Optimal: z = 40.2727274027738
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
93 6 14 -0.818182 0.2
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
94 10 6 -1.333333 0.2045455
Node 47 Optimal: z = 40.2727274298668
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
95 6 14 -1.022727 0.2
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
96 2 6 -0.333333 0.45
Node 48 Optimal: z = 40.1500002086163
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
97 6 14 -2.25 0.2
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 49 Optimal: z = 40.0000001192093
Branch and Bound artificial added
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
98 5 14 -0.866667 0.2307692
Start Phase2
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Node 50 Optimal: z = 39.7692308104955
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
99 -5 0 -39 0.2307692
100 -1 0 -13 1
Node 51 Infeasible
Add Artificial and Slack Variables
Surplus Variable: 13 added for constraint 1.
Artifical Variable: 14 added for constraint 1.
Start Phase 1
Iterations Iter. Enters Leaves Red. Cost Var. Chg
Var 3 Var 4 Var 5 Var 6 Var 7 Var 8 Var 9 Var 10 Var 11
1 0 0 0 1 1 1 0 0
down at 0
down at 0
down at 0
down at 0
down at 0
down at 0
down at 0
down at 0
5 8 12 16 19 20 0 0 0
12 20 30 44 48 55 0 0 0
0 0 1 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0
1 0 0 0 1 0 0 0 0
0 1 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1
0 0 0 0 0 0 -4 0 0
1 1 0 0 0 0 0 -4 0
0 0 1 1 1 1 0 0 -4
Linear Model Name: FixedIP Solver: Excel Solver
139 Type: LP1 Type: Linear-Integer
22 Change Goal: Min Sens.: No Comp. Time
1 Objective: 139 Side: No
1 Solve
1 Variables I-1 I-2 I-3 I-4 I-5 6
1 Vary Name: y1 y2 y3 y4 y5 x1
1 Values: 1 -2E-17 1 1 0 10
100 Lower Bounds:
Change Relation 0 0 0 0 0 0
Upper Bounds: 1 1 1 1 1 10
7 8 9 10 11 12 13 14 15 16 17 18
x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13
0 7 5 0 4 4 0 0 2E-16 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
10 10 10 10 12 5 5 12 10 10 4 6
4 1 2 2 10 9 9 8 5 5 5 9
0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 -1 0 0 1 1 -1 0 0
0 1 0 0 0 0 0 0 -1 1 0 1
1 0 0 0 0 1 -1 0 0 0 0 0
0 0 -1 1 0 -1 1 0 0 0 -1 0
-1 0 0 0 0 0 0 -1 0 0 1 -1
0 0 1 -1 0 0 0 0 0 0 0 0
0 -1 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0
19 20 21 22
x14 x15 x16 x17
0 2 0 0
0 0 0 0
5 3 3 7
7 1 1 5
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
1 0 0 1
0 -1 1 -1
-1 1 -1 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Network Model Name:FixedNet Solver: Excel Solver
139 Type: Net Type: Linear-Integer
22 Change Goal: Min Sens.: No
1 Objective: 139 Side: Yes
1 Solve
1
1 Vary
100 Vary
Arc Data and Flows
Num. Name Flow Origin Term. Lower Upper Cost Gain Flow_O
I-1 y1 1 0 0 0 1 8 1 1
I-2 y2 0 0 0 0 1 6 1 0
I-3 y3 1 0 0 0 1 9 1 1
I-4 y4 1 0 0 0 1 7 1 1
I-5 y5 0 0 0 0 1 7 1 0
6 x1 10 1 4 0 10 2 1 10
7 x2 0 4 6 0 10 4 1 0
8 x3 7 3 8 0 10 1 1 7
9 x4 5 7 5 0 10 2 1 5
10 x5 0 5 7 0 10 2 1 0
11 x6 4 1 2 0 12 10 1 4
12 x7 4 4 5 0 5 9 1 4
13 x8 0 5 4 0 5 9 1 0
14 x9 0 2 6 0 12 8 1 0
15 x10 2E-11 2 3 0 10 5 1 2E-11
16 x11 0 3 2 0 10 5 1 0
17 x12 0 6 5 0 4 5 1 0
18 x13 0 3 6 0 6 9 1 0
19 x14 0 6 8 0 5 7 1 0
20 x15 2 8 7 0 3 1 1 2
21 x16 0 7 8 0 3 1 1 0
22 x17 0 6 7 0 5 7 1 0
Side Node Data and Balance Constraints
Flow_O Const. Num. Name Fixed Balance
1 N1 14 0
2 N2 -4 0
3 N3 7 0
4 N4 -6 0
5 N5 -9 0
-2E-11 6 N6 0 0
0 7 N7 3 0
-3 8 N8 -5 0
-5
0
Linear Model Name: LocIP Solver: Excel Solver
9880 Type: LP1 Type: Linear-Integer
35 Change Goal: Min Sens.: No Comp. Time
1 Objective: 9880 Side: No
1 Solve
1 Variables I-1 I-2 I-3 I-4 I-5 6
1 Vary Name: y1 y2 y3 y4 y5 z1
1 Values: 1 0 1 1 -3E-17 75
100 Lower Bounds:
Change Relation 0 0 0 0 0 0
Upper Bounds: 1 1 1 1 1 80
7 8 9 10 11 12 13 14 15 16 17 18
z2 z3 z4 z5 x11 x12 x13 x14 x15 x21 x22 x23
0 80 40 0 30 40 0 5 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
80 80 80 80 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10
17 13 25 33 8 21 42 12 37 21 10 31
0 0 0 0 1 0 0 0 0 1 0 0
0 0 0 0 0 1 0 0 0 0 1 0
0 0 0 0 0 0 1 0 0 0 0 1
0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 1 1 1 1 1 0 0 0
-1 0 0 0 0 0 0 0 0 1 1 1
0 -1 0 0 0 0 0 0 0 0 0 0
0 0 -1 0 0 0 0 0 0 0 0 0
0 0 0 -1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0
19 20 21 23 22
24 25 26 27 28 29 30
x24 x25 x31 x33 x32
x34 x35 x41 x42 x43 x44 x45
0 0 0 0 50 30 0 0 0 0 0 40
0 0 0 0 0 0 0 0 0 0 0 0
1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10 1E+10
24 40 42 31 4 14 32 12 24 14 7 12
0 0 1 0 0 0 0 1 0 0 0 0
0 0 0 1 0 0 0 0 1 0 0 0
0 0 0 0 1 0 0 0 0 1 0 0
1 0 0 0 0 1 0 0 0 0 1 0
0 1 0 0 0 0 1 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0
1 1 0 0 0 0 0 0 0 0 0 0
0 0 1 1 1 1 1 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
31 32 33 34 35
x51 x52 x53 x54 x55
0 0 0 0 0
0 0 0 0 0
1E+10 1E+10 1E+10 1E+10 1E+10
37 40 32 12 10
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
1 1 1 1 1
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
Network Model Name: LocNet Solver: Excel Solver
9880 Type: Net Type: Linear-Integer
35 Change Goal: Min Sens.: No
1 Objective: 9880 Side: Yes
1 Solve
0
1 Vary
100 Vary
Arc Data and Flows Node Data and Balance Constr
Num. Name Flow Origin Term. Upper Cost Num. Name
I-1 y1 1 0 0 1 1000 1 S1
I-2 y2 0 0 0 1 1500 2 S2
I-3 y3 1 0 0 1 1700 3 S3
I-4 y4 1 0 0 1 1400 4 S4
I-5 y5 1E-16 0 0 1 1200 5 S5
6 z1 70 0 1 80 20 6 D1
7 z2 3E-11 0 2 80 17 7 D2
8 z3 80 0 3 80 13 8 D3
9 z4 45 0 4 80 25 9 D4
10 z5 8E-15 0 5 80 33 10 D5
11 x11 30 1 6 1E+10 8
12 x12 40 1 7 1E+10 21 Side Constraints
13 x13 0 1 8 1E+10 42 zk-uk*yk<0
14 x14 0 1 9 1E+10 12 -10
15 x15 0 1 10 1E+10 37 3E-11
16 x21 0 2 6 1E+10 21 -2E-10
17 x22 3E-11 2 7 1E+10 10 -35
18 x23 0 2 8 1E+10 31 -2E-15
19 x24 0 2 9 1E+10 24
20 x25 0 2 10 1E+10 40
21 x31 0 3 6 1E+10 42
22 x32 0 3 7 1E+10 31
23 x33 50 3 8 1E+10 4
24 x34 30 3 9 1E+10 14
25 x35 0 3 10 1E+10 32
26 x41 0 4 6 1E+10 12
27 x42 0 4 7 1E+10 24
28 x43 0 4 8 1E+10 14
29 x44 5 4 9 1E+10 7
30 x45 40 4 10 1E+10 12
31 x51 0 5 6 1E+10 37
32 x52 0 5 7 1E+10 40
33 x53 0 5 8 1E+10 32
34 x54 0 5 9 1E+10 12
35 x55 0 5 10 1E+10 10
Comp. Time 00:07
Status Optimal
Constraints
Transportation Model Name:LocTrans Objective TermSolver: Excel Solver
5780 Type: Trans Ship. Cost: 2215 Type: Linear
25 Change Goal: Min Sup. Cost: 3565 Sens.: No
1 Objective: 5780 Dem. Rev.: 0 nteger: No
1 Solve ans+Fixed Cost 9880 Side: Yes
1
1 Vary
1 Vary Select the Relink Buttons command from the OR_MM menu before clicking
100 Trans. Flows 1 2 3 4 5 Supply Data
Name D1 D2 D3 D4 D5 Min. Max. Cost Shipped
1 S1 30 40 0 0 0 0 80 20 70
2 S2 0 0 0 0 0 0 80 17 0
3 S3 0 0 50 30 0 0 80 13 80
4 S4 0 0 0 5 40 0 80 25 45
5 S5 0 0 0 0 -4E-19 0 80 33 -4E-19
Demand Min.: 30 40 50 35 40
Data Max: 30 40 50 35 40
Revenue: 0 0 0 0 0
Received: 30 40 50 35 40
Trans. Costs 1 2 3 4 5
Name D1 D2 D3 D4 D5 0-1 Var Fixed C
1 S1 8 21 42 12 37 y1 1 1000
2 S2 21 10 31 24 40 y2 -3E-13 1500
3 S3 42 31 4 14 32 y3 1 1700
4 S4 12 24 14 7 12 y4 1 1400
5 S5 37 40 32 12 10 y5 -7E-17 1200
Total 4100
Shipped
Side Constraints
1 -10
2 2E-11
3 0
4 -35
5 5E-15
Linear Model Name: Cover Solver: Excel Solver
62 Type: LP1 Type: Linear-Integer
14 Change Goal: Min Sens.: No Comp. Time
1 Objective: 62 Side: No
1 Solve
0 Variables I-1 I-2 I-3 I-4 I-5 I-6
1 Vary Name: X1 X2 X3 X4 X5 X6
100 Values: 0 0 0 2E-16 1 0
Lower Bounds:
Change Relation 0 0 0 0 0 0
Upper Bounds: 1 1 1 1 1 1
X5 X7 X 13 X1 X5 X 10
1 1 1 1 1 1
0 0 0 0 0 0
1 1 1 1 1 1
13 24 25 12 13 38
Dev1 0 1 0 Dev1 1 0 0
Dev2 0 1 1 Dev2 0 0 1
Dev3 0 1 0 Dev3 0 0 1
Dev4 0 0 1 Dev4 0 0 1
Dev5 1 0 0 Dev5 0 1 0
Dev6 0 0 1 Dev6 0 0 1
Comp. Time 00:03
Status Optimal
24 24 60 38 27 45 25 35
1 1 0 0 0 1 0 1
1 0 1 1 0 1 1 0
1 1 1 1 1 0 0 0
0 1 1 1 1 0 1 1
0 0 1 0 1 1 0 1
0 0 1 1 0 1 1 0
63
Linear Model Name: TSP Solver: Excel Solver
63 Type: LP1 Type: Linear-Integer
36 Change Goal: Min Sens.: No Comp. Time
1 Objective: 63 Side: No
1 Solve
1 Variables I-1 I-2 I-3 I-4 I-5 I-6
1 Vary Name: x1-1 x1-2 x1-3 x1-4 x1-5 x1-6
1 Values: 0 0 0 1 1E-13 0
100 Lower Bounds:
Change Relation 0 0 0 0 0 0
Upper Bounds: 1 1 1 1 1 1
1 2 3 4 5 6
1 1000 27 43 16 30 26
2 7 1000 16 1 30 25
3 20 13 1000 35 5 0
4 21 16 25 1000 18 18
5 12 46 27 48 1000 5
6 23 5 5 9 5 1000
Comp. Time 00:07
Status Optimal
I-7 I-8 I-9 I-10 I-11 I-12 I-13 I-14 I-15 I-16 I-17 I-18
x2-1 x2-2 x2-3 x2-4 x2-5 x2-6 x3-1 x3-2 x3-3 x3-4 x3-5 x3-6
1 0 7E-25 0 0 0 0 1E-13 0 0 1 4E-28
0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1
7 1000 16 1 30 25 20 13 1000 35 5 0
0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0 0 0 0 1
1 0 0 1 0 0 0 0 0 0 0 0
Solutions z Subtours
1 x1-4 x2-1 x3-5 x4-2 x5-6 x6-3 54 x1-4 x4-2
21 16 25 1000 18 18 12 46 27 48 1000 5
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0 0 0 0 1
1 1 0 0 0 0 0 0 0 0 0 0
23 5 5 9 5 1000
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
1 1 1 1 1 1
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
0 0 0 0 1 0
0 0 0 0 0 1
0 0 0 0 0 0
≤2
Transportation Model Name: TSP_Trans Objective TermSolver: Excel Solver
63 Type: Trans Ship. Cost: 63 Type: Linear
36 Change Goal: Min Sup. Cost: 0 Sens.: No
1 Objective: 63 Dem. Rev.: 0 nteger: No
0 Solve Side: Yes
1
0 Vary
1 Vary
100 Trans. Flows 1 2 3 4 5 6 Supply Data
Name D1 D2 D3 D4 D5 D6 Min. Max. Cost
1 S1 0 0 0 1 0 0 1 1 0
2 S2 1 0 4E-12 -1E-16 0 0 1 1 0
3 S3 0 0 0 0 1 6E-12 1 1 0
4 S4 0 0 1 0 6E-12 0 1 1 0
5 S5 6E-12 0 0 0 0 1 1 1 0
6 S6 0 1 1E-13 0 0 0 1 1 0
Demand Min.: 1 1 1 1 1 1
Data Max: 1 1 1 1 1 1
Revenue: 0 0 0 0 0 0 Solution 1
Received: 1 1 1 1 1 1 S1-D4
S4-D2
Trans. Costs 1 2 3 4 5 6 S2-D1
Name D1 D2 D3 D4 D5 D6
1 S1 1000 27 43 16 30 26 S3-D5
2 S2 7 1000 16 1 30 25 S5-D6
3 S3 20 13 1000 35 5 0 S6-D3
4 S4 21 16 25 1000 18 18 z 54
5 S5 12 46 27 48 1000 5 Subtour
6 S6 23 5 5 9 5 1000 ConstraConst
1 2
2 6E-12
Comp. Time 00:07
Status Optimal
Shipped
1
1
1
1
1
1
Solution 3
S1-D4
Solution 2 S4-D3
S1-D2 S3-D5
S2-D4 S5-D6
S4-D5 S6-D2
S5-D1 S2-D1
Tour
S3_D6 63
S6D3
63
Lim
2
1
Linear Model Name: MST Solver: Excel Solver
42 Type: LP1 Type: Linear-Integer
36 Change Goal: Min Sens.: No Comp. Time
1 Objective: 42 Side: No
1 Solve
1 Variables I-1 I-2 I-3 I-4 I-5 I-6
1 Vary Name: x1-1 x1-2 x1-3 x1-4 x1-5 x1-6
0 Values: 0 0 0 4E-11 0 1
1 Lower Bounds:
Change Relation 0 0 0 0 0 0
100 Upper Bounds: 1 1 1 1 1 1
Solutions z
1 x1-4 x3-6 x6-2 x6-3 x6-5 31
I-7 I-8 I-9 I-10 I-11 I-12 I-13 I-14 I-15 I-16 I-17 I-18
x2-1 x2-2 x2-3 x2-4 x2-5 x2-6 x3-1 x3-2 x3-3 x3-4 x3-5 x3-6
0 0 0 1 0 0 0 0 0 0 0 2E-11
0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1
7 1000 16 1 30 25 20 13 1000 35 5 0
0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 1
21 16 25 1000 18 18 12 46 27 48 1000 5
0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0
Constraint
I-31 I-32 I-33 I-34 I-35 I-36
x6-1 x6-2 x6-3 x6-4 x6-5 x6-6
0 1 1 0 1 0
0 0 0 0 0 0
1 1 1 1 1 1
23 5 5 9 5 1000
0 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
0 0 0 0 1 0
0 0 0 0 0 1
0 0 1 0 0 0
0 0 1 0 0 0
0 0 0 0 1 0
0 1 0 0 0 0
Linear Model Name: SPT Solver: Excel Solver
130 Type: LP1 Type: Linear
36 Change Goal: Min Sens.: No Comp. Time
1 Objective: 130 Side: No
1 Solve
0 Variables 1 2 3 4 5 6
100 Vary Name: x1-1 x1-2 x1-3 x1-4 x1-5 x1-6
Values: 0 1 0 1 1 2
Lower Bounds:
Change Relation 0 0 0 0 0 0
Upper Bounds: 100 100 100 100 100 100
7 8 9 10 11 12 13 14 15 16 17 18
x2-1 x2-2 x2-3 x2-4 x2-5 x2-6 x3-1 x3-2 x3-3 x3-4 x3-5 x3-6
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
100 100 100 100 100 100 100 100 100 100 100 100
7 1000 16 1 30 25 20 13 1000 35 5 0
1 1 1 1 1 1 0 -1 0 0 0 0
0 0 -1 0 0 0 1 1 1 1 1 1
0 0 0 -1 0 0 0 0 0 -1 0 0
0 0 0 0 -1 0 0 0 0 0 -1 0
0 0 0 0 0 -1 0 0 0 0 0 -1
19 20 21 22 23 24 25 26 27 28 29 30
x4-1 x4-2 x4-3 x4-4 x4-5 x4-6 x5-1 x5-2 x5-3 x5-4 x5-5 x5-6
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
100 100 100 100 100 100 100 100 100 100 100 100
21 16 25 1000 18 18 12 46 27 48 1000 5
0 -1 0 0 0 0 0 -1 0 0 0 0
0 0 -1 0 0 0 0 0 -1 0 0 0
1 1 1 1 1 1 0 0 0 -1 0 0
0 0 0 0 -1 0 1 1 1 1 1 1
0 0 0 0 0 -1 0 0 0 0 0 -1
31 32 33 34 35 36
x6-1 x6-2 x6-3 x6-4 x6-5 x6-6
0 0 1 0 0 0
0 0 0 0 0 0
100 100 100 100 100 100
23 5 5 9 5 1000
0 -1 0 0 0 0
0 0 -1 0 0 0
0 0 0 -1 0 0
0 0 0 0 -1 0
1 1 1 1 1 1
Network Model Name:SPT_Net Solver: Excel Solver
130 Type: Net Type: Linear
36 Change Goal: Min Sens.: No
1 Objective: 130 Side: No
0 Solve
100
Vary
Vary
Arc Data and Flows Node Data and Balance Constraints
Num. Name Flow Origin Term. Cost Num. Name Fixed
1 x1-1 0 1 1 1000 1 N1 5
2 x1-2 1 1 2 27 2 N2 -1
3 x1-3 0 1 3 43 3 N3 -1
4 x1-4 1 1 4 16 4 N4 -1
5 x1-5 1 1 5 30 5 N5 -1
6 x1-6 2 1 6 26 6 N6 -1
7 x2-1 0 2 1 7
8 x2-2 0 2 2 1000
9 x2-3 0 2 3 16
10 x2-4 0 2 4 1
11 x2-5 0 2 5 30
12 x2-6 0 2 6 25
13 x3-1 0 3 1 20
14 x3-2 0 3 2 13
15 x3-3 0 3 3 1000
16 x3-4 0 3 4 35
17 x3-5 0 3 5 5
18 x3-6 0 3 6 0
19 x4-1 0 4 1 21
20 x4-2 0 4 2 16
21 x4-3 0 4 3 25
22 x4-4 0 4 4 1000
23 x4-5 0 4 5 18
24 x4-6 0 4 6 18
25 x5-1 0 5 1 12
26 x5-2 0 5 2 46
27 x5-3 0 5 3 27
28 x5-4 0 5 4 48
29 x5-5 0 5 5 1000
30 x5-6 0 5 6 5
31 x6-1 0 6 1 23
32 x6-2 0 6 2 5
33 x6-3 1 6 3 5
34 x6-4 0 6 4 9
35 x6-5 0 6 5 5
36 x6-6 0 6 6 1000
Comp. Time 00:07
Status Optimal
1 1 1 1
0 0 0 0
0 0 0 0
1 0 0 0
0 3 2 1
2 0 1 4
Non_Lin_Coef
Sales P Q R
0 0 0 0
10 600 400 200
20 1200 800 400
30 1800 1200 600
40 2250 1800 1300
50 2700 2400 2000
60 3150 3000 2700
70 3500 3650 2900
80 3850 4300 3100
90 4200 4950 3300
100 4550 5600 3500
Profit
6000
5000
4000
P
3000 Q
R
2000
1000
0 Sales
0 10 20 30 40 50 60 70 80 90 0
10
Page 54
Non_Lin_Coef
30
60
600
600
600
450
450
450
350
350
350
350
P
Q
R
Sales
80 90 10
0
Page 55
Linear Model Name:Non_Lin Solver: Excel Solver
7268 Type: LP1 Type: Linear-Integer
15 Change Goal: Max Sens.: No Comp. Time
1 Objective: 7268 Side: No
1 Solve
1 Variables I-1 I-2 I-3 4 5 6
0 Vary Name: yQ2 yQ3 YR2 P Q R
1 Values: 0 0 1 81.82 16.36 60
1 Change RelationLower Bounds: 0 0 0 0 0 0
1 Upper Bounds: 1 1 1 100 100 100
1
1 Linear Obj. Coef.: 0 0 0 0 0 0
100 Constraints
Num. Name Value Rel. RHS Linear Constraint Coefficients
1 MachA 2400 <= 2400 0 0 0 20 10 10
2 MachB 2400 <= 2400 0 0 0 12 28 16
3 MachC 2285 <= 2400 0 0 0 15 6 16
4 MachD 1064 <= 2400 0 0 0 10 15 0
5 LinkP -7E-15 = 0 0 0 0 -1 0 0
6 LinkQ 0 = 0 0 0 0 0 -1 0
7 LinkR 0 = 0 0 0 0 0 0 -1
8 Q1_lower 16.36 >= 0 -30 0 0 0 0 0
9 Q2_lower 0 >= 0 0 -30 0 0 0 0
10 Q2_upper 0 <= 0 -30 0 0 0 0 0
11 Q3_upper 0 <= 0 0 -40 0 0 0 0
12 R1_lower 0 >= 0 0 0 -30 0 0 0
13 R2_upper 0 <= 0 0 0 -30 0 0 0
14 R3_upper -40 <= 0 0 0 -40 0 0 0
Comp. Time 00:08
Status Optimal
7 8 9 10 11 12 13 14 15
P1 P2 P3 Q1 Q2 Q3 R1 R2 R3
30 30 21.82 16.36 0 0 30 30 0
0 0 0 0 0 0 0 0 0
30 30 40 30 1E+10 1E+10 30 1E+10 1E+10
60 45 35 40 60 65 20 70 20
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0
0 0 0 1 1 1 0 0 0
0 0 0 0 0 0 1 1 1
0 0 0 1 0 0 0 0 0
0 0 0 0 1 0 0 0 0
0 0 0 0 1 0 0 0 0
0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 1