source: coopr.pysp/trunk/coopr/pysp/tests/unit/farmer_quadratic.baseline @ 2267

Last change on this file since 2267 was 2267, checked in by jwatson, 10 years ago

Initial PySP unit tests!!!

File size: 9.7 KB
Line 
1
2
3Starting PH
4Initiating PH iteration=0
5Convergence metric=     98.5185  First stage cost avg= 113494.4444  Max-Min=10416.67
6Initiating PH iteration=1
7Convergence metric=     56.7654  First stage cost avg= 113107.2221  Max-Min= 6943.89
8Initiating PH iteration=2
9Convergence metric=     37.3580  First stage cost avg= 112954.6296  Max-Min= 2234.82
10Initiating PH iteration=3
11Convergence metric=     36.5075  First stage cost avg= 112963.0247  Max-Min= 2375.31
12Initiating PH iteration=4
13Convergence metric=     35.4086  First stage cost avg= 112915.6071  Max-Min= 3047.08
14Initiating PH iteration=5
15Convergence metric=     36.2217  First stage cost avg= 112825.3926  Max-Min= 3339.81
16Initiating PH iteration=6
17Convergence metric=     29.3303  First stage cost avg= 112317.9502  Max-Min= 2019.60
18Initiating PH iteration=7
19Convergence metric=     21.9702  First stage cost avg= 111364.4660  Max-Min= 1181.85
20Initiating PH iteration=8
21Convergence metric=     13.8077  First stage cost avg= 110283.4074  Max-Min=  463.23
22Initiating PH iteration=9
23Convergence metric=      9.5141  First stage cost avg= 109399.2542  Max-Min=  363.90
24Initiating PH iteration=10
25Convergence metric=     12.0668  First stage cost avg= 108834.1930  Max-Min=  933.90
26Initiating PH iteration=11
27Convergence metric=     11.6644  First stage cost avg= 108575.3219  Max-Min=  918.57
28Initiating PH iteration=12
29Convergence metric=      7.5080  First stage cost avg= 108513.5346  Max-Min=  591.25
30Initiating PH iteration=13
31Convergence metric=      3.1070  First stage cost avg= 108528.2898  Max-Min=  175.95
32Initiating PH iteration=14
33Convergence metric=      5.5300  First stage cost avg= 108561.6577  Max-Min=  274.77
34Initiating PH iteration=15
35Convergence metric=      5.4381  First stage cost avg= 108604.0579  Max-Min=  295.14
36Initiating PH iteration=16
37Convergence metric=      3.2812  First stage cost avg= 108667.3583  Max-Min=  127.67
38Initiating PH iteration=17
39Convergence metric=      1.1980  First stage cost avg= 108758.4238  Max-Min=   59.69
40Initiating PH iteration=18
41Convergence metric=      1.0800  First stage cost avg= 108868.1277  Max-Min=  101.79
42Initiating PH iteration=19
43Convergence metric=      1.3642  First stage cost avg= 108975.3089  Max-Min=   73.41
44Initiating PH iteration=20
45Convergence metric=      1.5168  First stage cost avg= 109057.4143  Max-Min=   39.47
46Initiating PH iteration=21
47Convergence metric=      1.6833  First stage cost avg= 109099.7144  Max-Min=   87.57
48Initiating PH iteration=22
49Convergence metric=      1.6446  First stage cost avg= 109099.1239  Max-Min=  104.22
50Initiating PH iteration=23
51Convergence metric=      1.3382  First stage cost avg= 109062.8321  Max-Min=   88.54
52Initiating PH iteration=24
53Convergence metric=      0.8599  First stage cost avg= 109004.1156  Max-Min=   54.49
54Initiating PH iteration=25
55Convergence metric=      0.3180  First stage cost avg= 108937.8039  Max-Min=   16.89
56Initiating PH iteration=26
57Convergence metric=      0.1981  First stage cost avg= 108876.8822  Max-Min=   14.27
58Initiating PH iteration=27
59Convergence metric=      0.5760  First stage cost avg= 108830.6202  Max-Min=   34.81
60Initiating PH iteration=28
61Convergence metric=      0.8045  First stage cost avg= 108803.9655  Max-Min=   44.57
62Initiating PH iteration=29
63Convergence metric=      0.8608  First stage cost avg= 108797.7662  Max-Min=   45.24
64Initiating PH iteration=30
65Convergence metric=      0.7643  First stage cost avg= 108809.4793  Max-Min=   39.01
66Initiating PH iteration=31
67Convergence metric=      0.5565  First stage cost avg= 108834.1639  Max-Min=   28.07
68Initiating PH iteration=32
69Convergence metric=      0.2905  First stage cost avg= 108865.6237  Max-Min=   14.67
70Initiating PH iteration=33
71Convergence metric=      0.0205  First stage cost avg= 108897.5679  Max-Min=    1.06
72Initiating PH iteration=34
73Convergence metric=      0.2079  First stage cost avg= 108924.6334  Max-Min=   10.64
74Initiating PH iteration=35
75Convergence metric=      0.3637  First stage cost avg= 108943.1232  Max-Min=   18.81
76Initiating PH iteration=36
77Convergence metric=      0.4328  First stage cost avg= 108951.3651  Max-Min=   22.58
78Initiating PH iteration=37
79Convergence metric=      0.4183  First stage cost avg= 108949.6731  Max-Min=   21.96
80Initiating PH iteration=38
81Convergence metric=      0.3365  First stage cost avg= 108939.9742  Max-Min=   17.74
82Initiating PH iteration=39
83Convergence metric=      0.2122  First stage cost avg= 108925.2192  Max-Min=   11.21
84Initiating PH iteration=40
85Convergence metric=      0.0733  First stage cost avg= 108908.7151  Max-Min=    3.89
86Initiating PH iteration=41
87Convergence metric=      0.0547  First stage cost avg= 108893.5090  Max-Min=    2.87
88Initiating PH iteration=42
89Convergence metric=      0.1522  First stage cost avg= 108881.9217  Max-Min=    8.01
90Initiating PH iteration=43
91Convergence metric=      0.2081  First stage cost avg= 108875.2812  Max-Min=   10.94
92Initiating PH iteration=44
93Convergence metric=      0.2200  First stage cost avg= 108873.8686  Max-Min=   11.56
94Initiating PH iteration=45
95Convergence metric=      0.1933  First stage cost avg= 108877.0466  Max-Min=   10.15
96Initiating PH iteration=46
97Convergence metric=      0.1388  First stage cost avg= 108883.5201  Max-Min=    7.28
98Initiating PH iteration=47
99Convergence metric=      0.0702  First stage cost avg= 108891.6606  Max-Min=    3.68
100Initiating PH iteration=48
101Convergence metric=      0.0014  First stage cost avg= 108899.8341  Max-Min=    0.07
102PH converged - convergence metric is below threshold=0.01
103PH complete
104Convergence history:
105Iteration    Metric Value
106     0            98.5185
107     1            56.7654
108     2            37.3580
109     3            36.5075
110     4            35.4086
111     5            36.2217
112     6            29.3303
113     7            21.9702
114     8            13.8077
115     9             9.5141
116    10            12.0668
117    11            11.6644
118    12             7.5080
119    13             3.1070
120    14             5.5300
121    15             5.4381
122    16             3.2812
123    17             1.1980
124    18             1.0800
125    19             1.3642
126    20             1.5168
127    21             1.6833
128    22             1.6446
129    23             1.3382
130    24             0.8599
131    25             0.3180
132    26             0.1981
133    27             0.5760
134    28             0.8045
135    29             0.8608
136    30             0.7643
137    31             0.5565
138    32             0.2905
139    33             0.0205
140    34             0.2079
141    35             0.3637
142    36             0.4328
143    37             0.4183
144    38             0.3365
145    39             0.2122
146    40             0.0733
147    41             0.0547
148    42             0.1522
149    43             0.2081
150    44             0.2200
151    45             0.1933
152    46             0.1388
153    47             0.0702
154    48             0.0014
155Final number of discrete variables fixed=0 (total=0)
156Final number of continuous variables fixed=0 (total=3)
157Final variable values:
158        Stage=FirstStage
159                Variable=DevotedAcreage
160                        Index: [CORN]
161                                Tree Node=RootNode               (Scenarios:  BelowAverageScenario   AverageScenario   AboveAverageScenario   )
162                                Values:       79.9989      80.0000      79.9984     Max-Min=      0.0016     Avg=     79.9991
163                        Index: [SUGAR_BEETS]
164                                Tree Node=RootNode               (Scenarios:  BelowAverageScenario   AverageScenario   AboveAverageScenario   )
165                                Values:      249.9990     249.9984     250.0000     Max-Min=      0.0016     Avg=    249.9991
166                        Index: [WHEAT]
167                                Tree Node=RootNode               (Scenarios:  BelowAverageScenario   AverageScenario   AboveAverageScenario   )
168                                Values:      170.0021     170.0016     170.0016     Max-Min=      0.0005     Avg=    170.0018
169                Cost Variable=FirstStageCost
170                        Tree Node=RootNode               (Scenarios:  BelowAverageScenario   AverageScenario   AboveAverageScenario   )
171                        Values:   108899.8012  108899.8284  108899.8727     Max-Min=      0.0714     Avg= 108899.8341
172Final costs:
173Scenario Tree Costs
174***WARNING***: Assumes full (or nearly so) convergence of scenario solutions at each node in the scenario tree - computed costs are invalid otherwise
175----------------------------------------------------
176Model=unknown
177----------------------------------------------------
178Tree Nodes:
179
180        Name=AboveAverageNode
181        Stage=SecondStage
182        Parent=RootNode
183        Conditional probability=0.3333
184        Children:
185                None
186        Scenarios:
187                AboveAverageScenario
188        Expected node cost=-275899.9510
189
190        Name=AverageNode
191        Stage=SecondStage
192        Parent=RootNode
193        Conditional probability=0.3333
194        Children:
195                None
196        Scenarios:
197                AverageScenario
198        Expected node cost=-218249.5388
199
200        Name=BelowAverageNode
201        Stage=SecondStage
202        Parent=RootNode
203        Conditional probability=0.3333
204        Children:
205                None
206        Scenarios:
207                BelowAverageScenario
208        Expected node cost=-157719.5816
209
210        Name=RootNode
211        Stage=FirstStage
212        Parent=None
213        Conditional probability=1.0000
214        Children:
215                AboveAverageNode
216                BelowAverageNode
217                AverageNode
218        Scenarios:
219                BelowAverageScenario
220                AverageScenario
221                AboveAverageScenario
222        Expected node cost=-108389.8893
223
224----------------------------------------------------
225Scenarios:
226
227        Name=AboveAverageScenario
228        Probability=0.3333
229        Leaf Node=AboveAverageNode
230        Tree node sequence:
231                RootNode
232                AboveAverageNode
233        Stage=          FirstStage     Cost=108899.8727
234        Stage=         SecondStage     Cost=-275899.9510
235        Total scenario cost=-167000.0784
236
237        Name=AverageScenario
238        Probability=0.3333
239        Leaf Node=AverageNode
240        Tree node sequence:
241                RootNode
242                AverageNode
243        Stage=          FirstStage     Cost=108899.8284
244        Stage=         SecondStage     Cost=-218249.5388
245        Total scenario cost=-109349.7104
246
247        Name=BelowAverageScenario
248        Probability=0.3333
249        Leaf Node=BelowAverageNode
250        Tree node sequence:
251                RootNode
252                BelowAverageNode
253        Stage=          FirstStage     Cost=108899.8012
254        Stage=         SecondStage     Cost=-157719.5816
255        Total scenario cost=-48819.7804
256
257----------------------------------------------------
258
259Total PH execution time=    6.49 seconds
260
Note: See TracBrowser for help on using the repository browser.