Last change
on this file since 2405 was
2405,
checked in by jwatson, 11 years ago
|
Restructuring of PySP to facilitate full implementation of PH solver servers (penalty objectives in particular).
|
File size:
1.1 KB
|
Line | |
---|
1 | # _________________________________________________________________________ |
---|
2 | # |
---|
3 | # Coopr: A COmmon Optimization Python Repository |
---|
4 | # Copyright (c) 2008 Sandia Corporation. |
---|
5 | # This software is distributed under the BSD License. |
---|
6 | # Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, |
---|
7 | # the U.S. Government retains certain rights in this software. |
---|
8 | # For more information, see the Coopr README.txt file. |
---|
9 | # _________________________________________________________________________ |
---|
10 | |
---|
11 | import pyutilib.component.core |
---|
12 | |
---|
13 | pyutilib.component.core.PluginGlobals.push_env( "coopr.pysp" ) |
---|
14 | |
---|
15 | from scenariotree import * |
---|
16 | from convergence import * |
---|
17 | from ph import * |
---|
18 | from phextension import * |
---|
19 | from phutils import * |
---|
20 | from ef import * |
---|
21 | from ef_writer_script import * |
---|
22 | from phinit import * |
---|
23 | from phsolvermanager import * |
---|
24 | from phobjective import * |
---|
25 | |
---|
26 | pyutilib.component.core.PluginGlobals.pop_env() |
---|
27 | |
---|
28 | try: |
---|
29 | import pkg_resources |
---|
30 | # |
---|
31 | # Load modules associated with Plugins that are defined in |
---|
32 | # EGG files. |
---|
33 | # |
---|
34 | for entrypoint in pkg_resources.iter_entry_points('coopr.pysp'): |
---|
35 | plugin_class = entrypoint.load() |
---|
36 | except: |
---|
37 | pass |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.