minimise(min_algor=None,
line_search=None,
hessian_mod=None,
hessian_type=None,
func_tol=None,
grad_tol=None,
max_iter=None,
constraints=True,
scaling=True,
verbosity=1,
sim_index=None)
| source code
|
Minimisation function.
- Parameters:
min_algor (str) - The minimisation algorithm to use.
line_search (str or None) - The line search algorithm which will only be used in combination
with the line search and conjugate gradient methods. This will
default to the More and Thuente line search.
hessian_mod (str or None) - The Hessian modification. This will only be used in the
algorithms which use the Hessian, and defaults to Gill, Murray,
and Wright modified Cholesky algorithm.
hessian_type (str or None) - The Hessian type. This will only be used in a few trust region
algorithms, and defaults to BFGS.
func_tol (None or float) - The function tolerance which, when reached, terminates
optimisation. Setting this to None turns of the check.
grad_tol (None or float) - The gradient tolerance which, when reached, terminates
optimisation. Setting this to None turns of the check.
max_iter (int) - The maximum number of iterations for the algorithm.
constraints (bool) - If True, constraints are used during optimisation.
scaling (bool) - If True, diagonal scaling is enabled during optimisation to allow
the problem to be better conditioned.
verbosity (int) - The amount of information to print. The higher the value, the
greater the verbosity.
sim_index (None or int) - The index of the simulation to optimise. This should be None if
normal optimisation is desired.
|