#NEWLINE# def __init__( self , dimensions = 2 ) : #NEWLINE# #INDENT# Benchmark . __init__ ( self , dimensions ) #NEWLINE# self . _bounds = zip ( ( [ 0.0 ] * self . N ) , ( [ 1.0 ] * self . N ) ) #NEWLINE# alpha = ( arange ( 1.0 , ( self . N + 1.0 ) ) / ( self . N + 1.0 ) ) #NEWLINE# self . global_optimum = [ alpha ] #NEWLINE# self . fglob = ( - 1.0 ) #NEWLINE# self . change_dimensionality = True