We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 088808b commit 4765e7aCopy full SHA for 4765e7a
math/scipy/inc/Math/ScipyMinimizer.h
@@ -59,6 +59,16 @@ namespace Experimental {
59
Support for constraint functions will be implemented in the next releases.
60
You can find a macro example in the folder $ROOTSYS/tutorial/fit/scipy.C
61
62
+ To provide extra options to the minimizer, you can use the class GenAlgoOptions
63
+ and the method SetExtraOptions().
64
+ Example:
65
+ ```
66
+ ROOT::Math::GenAlgoOptions l_bfgs_b_opt;
67
+ l_bfgs_b_opt.SetValue("gtol", 1e-3);
68
+ l_bfgs_b_opt.SetValue("ftol", 1e7);
69
+ minimizer->SetExtraOptions(l_bfgs_b_opt);
70
71
+
72
See <A HREF="https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html">Scipy doc</A>
73
from more info on the Scipy minimization algorithms.
74
0 commit comments