source: coopr.pyomo/trunk/coopr/pyomo/tests/examples/test10.txt @ 2379

Last change on this file since 2379 was 2379, checked in by wehart, 9 years ago

Resolving a weakness in the pmedian.py data declaration. The facility
'd' data was monotonically increasing for every facility, so only one sensor placement
was important. The current model eliminates this, which should make the results portable
to other solvers.

File size: 3.2 KB
Line 
1Importing data...
2Processing data ...
3Done.
4Constructing Param, name=N, from data={None: 5}
5Constructing Param, name=P, from data={None: 3}
6Constructing Param, name=M, from data={None: 6}
7Constructing Param, name=d, from data=None
8Construcing constraint single_x
9   Constructing constraint index 1
10   Constructing constraint index 2
11   Constructing constraint index 3
12   Constructing constraint index 4
13   Constructing constraint index 5
14   Constructing constraint index 6
15Construcing constraint bound_y
16   Constructing constraint index (1, 1)
17   Constructing constraint index (1, 2)
18   Constructing constraint index (1, 3)
19   Constructing constraint index (1, 4)
20   Constructing constraint index (1, 5)
21   Constructing constraint index (1, 6)
22   Constructing constraint index (2, 1)
23   Constructing constraint index (2, 2)
24   Constructing constraint index (2, 3)
25   Constructing constraint index (2, 4)
26   Constructing constraint index (2, 5)
27   Constructing constraint index (2, 6)
28   Constructing constraint index (3, 1)
29   Constructing constraint index (3, 2)
30   Constructing constraint index (3, 3)
31   Constructing constraint index (3, 4)
32   Constructing constraint index (3, 5)
33   Constructing constraint index (3, 6)
34   Constructing constraint index (4, 1)
35   Constructing constraint index (4, 2)
36   Constructing constraint index (4, 3)
37   Constructing constraint index (4, 4)
38   Constructing constraint index (4, 5)
39   Constructing constraint index (4, 6)
40   Constructing constraint index (5, 1)
41   Constructing constraint index (5, 2)
42   Constructing constraint index (5, 3)
43   Constructing constraint index (5, 4)
44   Constructing constraint index (5, 5)
45   Constructing constraint index (5, 6)
46Construcing constraint num_facilities
47   Constructing constraint index None
48Writing model unknown to file '/tmp/tmpAOfXAP.pyomo.lp'  with format cpxlp
49
50# ==========================================================
51# = Solver Results                                         =
52# ==========================================================
53
54# ----------------------------------------------------------
55#   Problem Information
56# ----------------------------------------------------------
57Problem:
58- Lower bound: -5.015609
59  Upper bound: inf
60  Number of objectives: 1
61  Number of constraints: 38
62  Number of variables: 36
63  Number of nonzeros: 96
64  Sense: minimize
65
66# ----------------------------------------------------------
67#   Solver Information
68# ----------------------------------------------------------
69Solver:
70- Status: ok
71  Termination condition: unknown
72  Error rc: 0
73
74# ----------------------------------------------------------
75#   Solution Information
76# ----------------------------------------------------------
77Solution:
78- number of solutions: 1
79  number of solutions displayed: 1
80- Gap: 0.0
81  Status: optimal
82  Objective:
83    f:
84      Id: 0
85      Value: -5.015609
86  Variable:
87    x[3,2]:
88      Id: 13
89      Value: 1
90    x[3,6]:
91      Id: 17
92      Value: 1
93    x[4,1]:
94      Id: 18
95      Value: 1
96    x[4,4]:
97      Id: 21
98      Value: 1
99    x[4,5]:
100      Id: 22
101      Value: 1
102    x[5,3]:
103      Id: 26
104      Value: 1
105    y[3]:
106      Id: 32
107      Value: 1
108    y[4]:
109      Id: 33
110      Value: 1
111    y[5]:
112      Id: 34
113      Value: 1
Note: See TracBrowser for help on using the repository browser.