Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Import alias ImportFrom alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body If Call AttributeLoad NameLoad attr Str body Import alias Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Import alias If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str ImportFrom alias identifier alias ImportFrom alias ImportFrom alias alias alias alias alias Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad UnaryOpUSub NameLoad Num Num TupleLoad NameLoad Num Num TupleLoad Num Num Num For TupleStore NameStore NameStore NameStore NameLoad body Print Str NameLoad Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Print Str AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMult BinOpDiv BinOpSub AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Num FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpAdd BinOpPow BinOpSub BinOpAdd BinOpSub NameLoad BinOpMult BinOpDiv Num BinOpMult Num BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpDiv BinOpMult Num NameLoad NameLoad Num Num BinOpMult BinOpMult Num BinOpSub Num BinOpDiv Num BinOpMult Num NameLoad Call NameLoad NameLoad Num decorator_list Assign NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad Num Num Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call NameLoad Num Num Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Num keyword Str keyword Num Assign NameStore Dict Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Print BinOpMod Str NameLoad Assign NameStore BinOpDiv Call NameLoad Num NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Num keyword NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call NameLoad Num Num Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr
N/A N/A os.path openmdao.main.problem_formulation ArchitectureAssembly openmdao.lib.architectures.api EGO openmdao.lib.optproblems.branin BraninComponent Analysis N/A ArchitectureAssembly N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Analysis self __init__ N/A N/A N/A self add branin N/A BraninComponent N/A N/A N/A self add_parameter branin.x low -5.0 high 10.0 N/A N/A N/A self add_parameter branin.y low 0.0 high 15.0 N/A N/A N/A self add_objective branin.f_xy N/A N/A N/A N/A __name__ __main__ N/A N/A sys openmdao.lib.casehandlers.api case_db_to_dict N/A seed None N/A backend None N/A figname None N/A arg N/A N/A sys argv N/A 1 N/A N/A N/A N/A arg startswith --seed= N/A N/A random N/A seed N/A int N/A N/A N/A arg split = N/A 1 N/A N/A N/A random seed seed N/A N/A N/A arg startswith --backend= N/A N/A backend N/A N/A N/A arg split = N/A 1 N/A N/A N/A arg startswith --figname= N/A N/A figname N/A N/A N/A arg split = N/A 1 N/A matplotlib N/A N/A backend None N/A N/A N/A N/A matplotlib use backend N/A N/A N/A N/A sys platform win32 N/A N/A N/A N/A matplotlib use WxAgg matplotlib pyplot plt cm matplotlib.pylab get_cmap numpy meshgrid array pi arange cos N/A analysis N/A Analysis N/A N/A analysis architecture N/A EGO N/A N/A N/A analysis architecture initial_DOE_size 20 N/A N/A N/A analysis architecture sample_iterations 20 N/A N/A N/A analysis architecture EI_PI PI N/A N/A N/A analysis architecture min_ei_pi 0.01 N/A N/A N/A analysis run N/A points N/A N/A N/A pi 12.275 0.39789 N/A pi 2.275 0.39789 N/A 9.42478 2.745 0.39789 N/A N/A x y z points N/A N/A x:  x ; y:  y N/A N/A N/A analysis branin x x N/A N/A N/A analysis branin y y N/A N/A N/A N/A analysis branin execute N/A f_xy:  N/A N/A analysis branin f_xy  % error:  N/A N/A N/A N/A N/A N/A analysis branin f_xy mu z z 100 branin N/A N/A x y N/A N/A N/A N/A N/A N/A N/A N/A N/A y N/A N/A 5.1 N/A 4.0 N/A pi 2.0 N/A x 2.0 N/A N/A 5.0 x pi 6.0 2.0 N/A N/A 10.0 N/A 1.0 N/A 1.0 N/A 8.0 pi N/A cos x 10.0 N/A N/A X_range N/A arange -5 10.2 0.25 N/A Y_range N/A arange 0 15.2 0.25 N/A N/A X Y N/A meshgrid X_range Y_range N/A Z N/A branin X Y N/A N/A N/A plt contour X Y Z N/A arange 1 200 2 zorder 1 N/A cb N/A N/A plt colorbar shrink 0.45 N/A data_train N/A case_db_to_dict N/A N/A N/A os path join N/A N/A analysis architecture _tdir trainer.db N/A branin.y branin.x N/A N/A N/A plt scatter N/A data_train N/A branin.x N/A data_train N/A branin.y s 30 c #572E07 zorder 10 N/A data_EI N/A N/A N/A data_EI N/A branin.x N/A N/A data_train N/A branin.x N/A N/A N/A analysis architecture initial_DOE_size N/A N/A data_EI N/A branin.y N/A N/A data_train N/A branin.y N/A N/A N/A analysis architecture initial_DOE_size N/A count N/A len N/A data_EI N/A branin.x N/A N/A %d adaptively sampled points count N/A colors N/A N/A arange 0 count N/A float count N/A color_map N/A get_cmap spring N/A N/A N/A plt scatter N/A data_EI N/A branin.x N/A data_EI N/A branin.y s 30 c colors zorder 11 cmap color_map N/A N/A N/A plt axis N/A -5 10 0 15 N/A N/A N/A plt xlabel x N/A N/A N/A plt ylabel y N/A N/A N/A plt title Branin Function Contours and EI Sample Points N/A N/A N/A plt text 10.9 11 Branin
Function
Value N/A N/A figname None N/A N/A N/A N/A N/A matplotlib pylab savefig figname N/A N/A N/A plt figure N/A Z2 N/A N/A N/A x_row y_row N/A zip X Y N/A N/A row N/A N/A N/A x y N/A zip x_row y_row N/A N/A N/A N/A analysis branin x x N/A N/A N/A analysis branin y y N/A N/A N/A N/A analysis branin execute N/A N/A N/A row append N/A N/A N/A analysis branin f_xy mu N/A N/A N/A Z2 append row N/A Z2 N/A array Z2 N/A N/A N/A plt contour X Y Z2 N/A arange 1 200 2 zorder 1 N/A cb N/A N/A plt colorbar shrink 0.45 N/A N/A N/A plt axis N/A -5 10 0 15 N/A N/A N/A plt xlabel x N/A N/A N/A plt ylabel y N/A N/A N/A plt title Branin Meta Model Contours N/A N/A N/A plt text 10.9 11 Meta Model
Function
Value N/A N/A N/A plt show N/A N/A N/A N/A analysis architecture cleanup