Module function to retrieve the name of the current optimization method.
String_Type get_method_expr()
Error Return Value: NULL
This function retrieves the name of the optimization method currently
set in Sherpa, for use in record-keeping, GUIs, etc.
See the related Sherpa command
SHOW METHOD.
Display the Sherpa optimization method:
sherpa> meth1 = get_method_expr
sherpa> print(meth1)
levenberg-marquardt
sherpa> METHOD SIMPLEX
sherpa> meth2 = get_method_expr
sherpa> print(meth2)
simplex
- sherpa
-
grid,
grid-powell,
levenberg-marquardt,
method,
monte-lm,
monte-powell,
montecarlo,
powell,
sigma-rejection,
simplex,
simul-ann-1,
simul-ann-2,
simul-pow-1,
simul-pow-2,
usermethod
|