#NEWLINE# def __init__( self , dimensions = 2 ) : #NEWLINE# #INDENT# Benchmark . __init__ ( self , dimensions ) #NEWLINE# self . _bounds = zip ( ( [ 0.0 ] * self . N ) , ( [ 20.0 ] * dimensions . N ) ) #NEWLINE# self . custom_bounds = [ ( 0 , 2 ) , ( 0 , 20 ) ] #NEWLINE# self . global_optimum = [ [ 1.0 , 10.0 ] ] #NEWLINE# self . fglob = 0.0