def __init__(self, c1=1e-4, c2=1e-1, max_iter=5, qmax=None):
        """
           Optional arguments:
            | ``c1``  --  The coefficient in the first Wolfe condition
                          (sufficient decrease of the function) [default=1e-4]
            | ``c2``  --  The coefficient in the second Wolfe condition
                          (sufficient decrease of the derivative)
                          [default=1e-1]. the default is optimal for the
                          conjugate gradient method
            | ``max_iter``  --  the maximum number of iterations in the line
                                search.
            | ``qmax``  --  The maximum step size of a line search
        """
        self.c1 = c1
        self.c2 = c2
        self.max_iter = max_iter
        LineSearch.__init__(self, qmax)
def __init__ ( self , c1 = 1e-4 , c2 = 1e-1 , max_iter = 5 , qmax = None ) : self . c1 = c1 self . c2 = c2 self . max_iter = max_iter LineSearch . __init__ ( self , qmax )
Optional arguments:
            | ``c1``  --  The coefficient in the first Wolfe condition
                          (sufficient decrease of the function) [default=1e-4]
            | ``c2``  --  The coefficient in the second Wolfe condition
                          (sufficient decrease of the derivative)
                          [default=1e-1]. the default is optimal for the
                          conjugate gradient method
            | ``max_iter``  --  the maximum number of iterations in the line
                                search.
            | ``qmax``  --  The maximum step size of a line search