From 51269a50b60b6a156110b7c277a86d9dee66c5e8 Mon Sep 17 00:00:00 2001 From: "joaquin.f.fernandez" Date: Fri, 8 Nov 2024 14:08:31 -0300 Subject: [PATCH] Add initialization script. --- src/python/qss_solver/qss_init.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/python/qss_solver/qss_init.py diff --git a/src/python/qss_solver/qss_init.py b/src/python/qss_solver/qss_init.py new file mode 100644 index 00000000..8afcbef3 --- /dev/null +++ b/src/python/qss_solver/qss_init.py @@ -0,0 +1,14 @@ +import os +import sys + +import logging + +MMOC_SRC = os.environ['MMOC_SRC'] +logging.debug(f"Searching for model file with relative path: {MMOC_SRC}") +sys.path.append(MMOC_SRC+'/python') +sys.path.append(MMOC_SRC+'/python/qss_solver') + +import qss_solver +import qss_solver.results as solver_results +import qss_solver.model as solver_model +import qss_solver.simulate as solver_sim \ No newline at end of file