source: coopr.pyomo/stable/2.3/coopr/pyomo/tests/examples/test10.txt @ 2388

Last change on this file since 2388 was 2388, checked in by wehart, 11 years ago

Merged revisions 2360-2387 via svnmerge from
https://software.sandia.gov/svn/public/coopr/coopr.pyomo/trunk

........

r2369 | wehart | 2010-02-17 18:11:43 -0700 (Wed, 17 Feb 2010) | 2 lines


Adding functionality for ordered sets.

........

r2378 | wehart | 2010-02-19 15:17:49 -0700 (Fri, 19 Feb 2010) | 2 lines


Specifying the symbols that are exported from convert.py

........

r2379 | wehart | 2010-02-19 15:31:35 -0700 (Fri, 19 Feb 2010) | 5 lines


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.

........

r2381 | wehart | 2010-02-19 15:50:11 -0700 (Fri, 19 Feb 2010) | 2 lines


Misc baseline updates.

........

r2385 | wehart | 2010-02-21 23:14:18 -0700 (Sun, 21 Feb 2010) | 3 lines


Adding a work-around when importing 'bidict' fails. This occurs with
Python 2.5 and earlier.

........

r2387 | wehart | 2010-02-21 23:27:44 -0700 (Sun, 21 Feb 2010) | 3 lines


Bug fix: needed to protect the use of ordered_dict_inv with
the using_bidict flag.

........

File size: 3.3 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/tmpFtA6lR.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  Statistics:
73    Branch and bound:
74      Number of bounded subproblems: 0
75      Number of created subproblems: 0
76  Error rc: 0
77
78# ----------------------------------------------------------
79#   Solution Information
80# ----------------------------------------------------------
81Solution:
82- number of solutions: 1
83  number of solutions displayed: 1
84- Gap: 0.0
85  Status: optimal
86  Objective:
87    f:
88      Id: 0
89      Value: -5.015609
90  Variable:
91    x[3,2]:
92      Id: 13
93      Value: 1
94    x[3,6]:
95      Id: 17
96      Value: 1
97    x[4,1]:
98      Id: 18
99      Value: 1
100    x[4,4]:
101      Id: 21
102      Value: 1
103    x[4,5]:
104      Id: 22
105      Value: 1
106    x[5,3]:
107      Id: 26
108      Value: 1
109    y[3]:
110      Id: 32
111      Value: 1
112    y[4]:
113      Id: 33
114      Value: 1
115    y[5]:
116      Id: 34
117      Value: 1
Note: See TracBrowser for help on using the repository browser.