#NEWLINE# def run_beale( self , methods = None ) : #NEWLINE# #INDENT# s = funcs . Beale ( ) #NEWLINE# b = _BenchOptimizers ( "Beale's function" , fun = s . fun , der = s . der , hess = None ) #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# b . bench_run ( np . random . uniform ( 0 , 10 , 2 ) , methods = methods ) #NEWLINE# #UNINDENT# return b