From c249194a0ae01e1e03a590cc8261bd86653c8c89 Mon Sep 17 00:00:00 2001
From: Zizhe Wang <zizhe.wang@tu-dresden.de>
Date: Sat, 8 Jun 2024 08:55:36 +0200
Subject: [PATCH] refactor dynamic import of algorithms

---
 src/optimization_libraries.py | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/optimization_libraries.py b/src/optimization_libraries.py
index c7b10da..139f159 100644
--- a/src/optimization_libraries.py
+++ b/src/optimization_libraries.py
@@ -1,15 +1,18 @@
-# (c) Zizhe Wang
+# Copyright (c) 2024 - Zizhe Wang
 # https://zizhe.wang
 
-############################################
-#                                          #
-# INITIALIZATION LIBRARIES ANAD ALGORITHMS #
-#                                          #
-############################################
+#############################
+#                           #
+# INITIALIZATION ALGORITHMS #
+#                           #
+#############################
 
 import importlib
 import pkgutil
 from pymoo.algorithms import moo
+from pymoo.config import Config
+
+Config.warnings['not_compiled'] = False
 
 def initialize_algorithm(algorithm_name, pop_size=None):
     # Dynamically import all modules in pymoo.algorithms.moo
-- 
GitLab