From: Jean-Philippe ARGAUD Date: Sun, 11 Feb 2018 21:01:36 +0000 (+0100) Subject: Improving warning message for available DFO minimizer choice X-Git-Tag: V8_5_0rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5a6ab51a9ad757077d414ef982f257070ac5908;p=modules%2Fadao.git Improving warning message for available DFO minimizer choice --- 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