#NEWLINE# def run_asymmetric_quadratic( self , methods = None ) : #NEWLINE# #INDENT# s = funcs . AsymmetricQuadratic ( ) #NEWLINE# b = _BenchOptimizers ( 'function sum(x**2) + x[0]' , fun = s . fun , der = s . der , hess = s . hess ) #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# b . bench_run ( np . random . uniform ( ( - 2 ) , 2 , 3 ) , methods = methods ) #NEWLINE# #UNINDENT# return b