#NEWLINE# def run( self , problem ) : #NEWLINE# #INDENT# ' Save away scaled info.' #NEWLINE# self . _problem = problem #NEWLINE# self . metadata = create_local_meta ( None , 'test' ) #NEWLINE# self . iter_count = 0 #NEWLINE# update_local_meta ( self . metadata , ( self . iter_count , ) ) #NEWLINE# params = self . get_desvars ( ) #NEWLINE# param_meta = self . get_desvar_metadata ( ) #NEWLINE# self . set_desvar ( 'x' , np . array ( [ 22.0 , 404.0 , 9009.0 , 121000.0 ] ) ) #NEWLINE# problem . root . solve_nonlinear ( ) #NEWLINE# objective = self . get_objectives ( ) #NEWLINE# constraint = self . get_constraints ( ) #NEWLINE# self . param = params [ 'x' ] #NEWLINE# self . obj_scaled = objective [ 'y' ] #NEWLINE# self . con_scaled = constraint [ 'con' ] #NEWLINE# self . param_low = param_meta [ 'x' ] [ 'lower' ]