From e5a6ab51a9ad757077d414ef982f257070ac5908 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Sun, 11 Feb 2018 22:01:36 +0100 Subject: [PATCH] Improving warning message for available DFO minimizer choice --- src/daComposant/daAlgorithms/DerivativeFreeOptimization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daComposant/daAlgorithms/DerivativeFreeOptimization.py b/src/daComposant/daAlgorithms/DerivativeFreeOptimization.py index 9def132..4734eef 100644 --- a/src/daComposant/daAlgorithms/DerivativeFreeOptimization.py +++ b/src/daComposant/daAlgorithms/DerivativeFreeOptimization.py @@ -115,7 +115,7 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): self._pre_run(Parameters, Xb, Y, R, B, Q) # if not PlatformInfo.has_nlopt and not self._parameters["Minimizer"] in ["COBYLA", "POWELL", "SIMPLEX"]: - logging.debug("%s Absence de NLopt, utilisation forcee du minimiseur SIMPLEX"%(self._name,)) + logging.warning("%s Minimization by SIMPLEX is forced because %s is unavailable (COBYLA, POWELL are also available)"%(self._name,self._parameters["Minimizer"])) self._parameters["Minimizer"] = "SIMPLEX" # # Opérateurs -- 2.39.2