1#  ___________________________________________________________________________
2#
3#  Pyomo: Python Optimization Modeling Objects
4#  Copyright 2017 National Technology and Engineering Solutions of Sandia, LLC
5#  Under the terms of Contract DE-NA0003525 with National Technology and
6#  Engineering Solutions of Sandia, LLC, the U.S. Government retains certain
7#  rights in this software.
8#  This software is distributed under the 3-clause BSD License.
9#  ___________________________________________________________________________
10
11import sys
12
13try:
14    import pyomo
15    import pyomo.environ
16    import pyomo.core
17    print("OK")
18except Exception:
19    e = sys.exc_info()[1]
20    print("Pyomo package error: "+str(e))
21