scitbx.lbfgs

API documentation

class scitbx.lbfgs.core_parameters(m=5, maxfev=20, gtol=0.9, xtol=1e-16, stpmin=1e-20, stpmax=1e+20)
class scitbx.lbfgs.exception_handling_parameters(ignore_line_search_failed_rounding_errors=True, ignore_line_search_failed_step_at_lower_bound=False, ignore_line_search_failed_step_at_upper_bound=False, ignore_line_search_failed_maxfev=False, ignore_line_search_failed_xtol=False, ignore_search_direction_not_descent=False)
filter(msg, n, x, g)
scitbx.lbfgs.run(target_evaluator, termination_params=None, core_params=None, exception_handling_params=None, use_fortran=False, log=None, gradient_only=False, line_search=True)
scitbx.lbfgs.run_c_plus_plus(target_evaluator, termination_params=None, core_params=None, exception_handling_params=None, log=None, gradient_only=False, line_search=True)
scitbx.lbfgs.run_fortran(target_evaluator, termination_params=None, core_params=None)

For debugging only!

class scitbx.lbfgs.termination_parameters(traditional_convergence_test=True, traditional_convergence_test_eps=1e-05, drop_convergence_test_n_test_points=5, drop_convergence_test_max_drop_eps=1e-05, drop_convergence_test_iteration_coefficient=2, min_iterations=0, max_iterations=None, max_calls=None)