Skip to content

Commit

Permalink
Adjust Nelder-Mead tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed Jan 24, 2025
1 parent 8d455ea commit bc6d0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jafit/opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def cb(intermediate_result: opt.OptimizeResult) -> None:
method="Nelder-Mead",
bounds=bounds,
callback=cb,
options={"maxiter": maxiter, "xatol": 1e-5, "fatol": 1e-5},
options={"maxiter": maxiter, "xatol": 1e-5, "fatol": 1e-4},
)

_logger.info("Local optimization result:\n%s", res)
Expand Down

0 comments on commit bc6d0a2

Please sign in to comment.