#NEWLINE# def runOptimization( self ) : #NEWLINE# #INDENT# while ( self . numExpCalls < self . numPlannedRuns ) : #NEWLINE# #INDENT# paramsSample = ( paramsSample . minBoundary + ( nr . rand ( self . numParams ) * self . diffBoundary ) ) #NEWLINE# self . wrapGetCost ( paramsSample ) #NEWLINE# #UNINDENT# self . saveEverything ( )