from ._trlib import TRLIBQuadraticSubproblem
__all__ = ['TRLIBQuadraticSubproblem', 'get_trlib_quadratic_subproblem']


def get_trlib_quadratic_subproblem(tol_rel_i=-2.0, tol_rel_b=-3.0, disp=False):

    def subproblem_factory(x, fun, jac, hess, hessp):
        return TRLIBQuadraticSubproblem(x, fun, jac, hess, hessp, tol_rel_i
            =tol_rel_i, tol_rel_b=tol_rel_b, disp=disp)
    return subproblem_factory

e331a9667a3ea1709d762e978e6975e01561579a
<mask token>

<mask token>


def get_trlib_quadratic_subproblem(tol_rel_i=-2.0, tol_rel_b=-3.0, disp=False):

    def subproblem_factory(x, fun, jac, hess, hessp):
        return TRLIBQuadraticSubproblem(x, fun, jac, hess, hessp, tol_rel_i
            =tol_rel_i, tol_rel_b=tol_rel_b, disp=disp)
    return subproblem_factory

<mask token>
__all__ = ['TRLIBQuadraticSubproblem', 'get_trlib_quadratic_subproblem']


def get_trlib_quadratic_subproblem(tol_rel_i=-2.0, tol_rel_b=-3.0, disp=False):

    def subproblem_factory(x, fun, jac, hess, hessp):
        return TRLIBQuadraticSubproblem(x, fun, jac, hess, hessp, tol_rel_i
            =tol_rel_i, tol_rel_b=tol_rel_b, disp=disp)
    return subproblem_factory

from ._trlib import TRLIBQuadraticSubproblem
__all__ = ['TRLIBQuadraticSubproblem', 'get_trlib_quadratic_subproblem']


def get_trlib_quadratic_subproblem(tol_rel_i=-2.0, tol_rel_b=-3.0, disp=False):

    def subproblem_factory(x, fun, jac, hess, hessp):
        return TRLIBQuadraticSubproblem(x, fun, jac, hess, hessp, tol_rel_i
            =tol_rel_i, tol_rel_b=tol_rel_b, disp=disp)
    return subproblem_factory
