Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore CompareGt BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad While BoolOpAnd NameLoad NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore CompareGt BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AugAssignAdd NameStore Num If NameLoad body If BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareLtE AttributeLoad NameLoad attr Num body Assign NameStore BinOpAdd AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Print Str NameLoad Print Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad
N/A N/A 
Solver based on scipy.optimize.brentq
 scipy.optimize brentq openmdao.main.driver Driver openmdao.main.interfaces IHasParameters IHasEqConstraints ISolver implements openmdao.main.hasparameters HasParameters openmdao.main.hasconstraints HasEqConstraints openmdao.util.decorators add_delegate openmdao.lib.datatypes.api Float Int Slot Brent N/A Driver N/A N/A Root finding using Brent's method. N/A N/A implements IHasParameters IHasEqConstraints ISolver N/A lower_bound N/A Float 0.0 iotype in desc lower bound for the root search N/A upper_bound N/A Float 100.0 iotype in desc upper bound for the root search N/A xtol N/A Float 0.0 iotype in desc The routine converges when a root is known to lie within xtol of the value return. Should be >= 0. The routine modifies this to take into account the relative precision of doubles. N/A rtol N/A Float 0.0 iotype in desc The routine converges when a root is known to lie within rtol times the value returned of the value returned. Should be >= 0. Defaults to np.finfo(float).eps * 2. N/A maxiter N/A Int 100 iotype in desc if convergence is not achieved in maxiter iterations, and error is raised. Must be >= 0. N/A iprint N/A Int 0 iotype in desc Set to 1 to print out itercount and residual. N/A f_resize_bracket N/A Slot object desc user supplied function to handle resizing bracket.  Form of function is:                            lower_new, upper_new, continue = f_resize_bracket(lower, upper, iteration)                            inputs include the current lower and upper bracket and the current iteration                            count starting from 1.  Outputs include a new lower and upper bracket, and a                            boolean flag on whether or not to terminate calling resize bracket N/A invalid_bracket_return N/A Float -1 iotype in desc user supplied value to handle what value should be returned                                          when a suitable bracket cannot be found. sets the "zero" as a                                          linear combination of the lower and upper brackets.                                          Must be between 0 and 1 or an error will be thrown.                                          root = lower + invalid_bracket_return*(upper-lower) __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Brent self __init__ N/A N/A self xstar None N/A _eval N/A N/A self x N/A N/A N/A Callback function for evaluating f(x) N/A N/A N/A self set_parameters N/A x N/A N/A N/A self run_iteration N/A N/A N/A N/A self eval_eq_constraints N/A self parent N/A 0 N/A execute N/A N/A self N/A N/A N/A bracket_invalid N/A N/A N/A N/A self _eval N/A self lower_bound N/A N/A self _eval N/A self upper_bound 0 N/A N/A bracket_invalid N/A self f_resize_bracket N/A N/A iteration 1 N/A should_continue True N/A bracket_invalid True N/A N/A bracket_invalid should_continue N/A N/A N/A N/A self lower_bound N/A self upper_bound should_continue N/A N/A self f_resize_bracket N/A self lower_bound N/A self upper_bound iteration N/A bracket_invalid N/A N/A N/A N/A self _eval N/A self lower_bound N/A N/A self _eval N/A self upper_bound 0 N/A iteration 1 N/A bracket_invalid N/A N/A N/A N/A N/A self invalid_bracket_return 0.0 N/A N/A self invalid_bracket_return 1.0 N/A N/A xstar N/A N/A self lower_bound N/A N/A self invalid_bracket_return N/A N/A self upper_bound N/A self lower_bound N/A brent_iterations valid bracket not found.  returning user specified value N/A N/A N/A N/A self raise_exception N/A bounds (low=%s, high=%s) do not bracket a root N/A N/A self lower_bound N/A self upper_bound N/A N/A kwargs N/A maxiter a b full_output N/A self maxiter N/A self lower_bound N/A self upper_bound True N/A N/A N/A self xtol 0 N/A N/A N/A kwargs N/A xtol N/A self xtol N/A N/A N/A self rtol 0 N/A N/A N/A kwargs N/A rtol N/A self rtol N/A N/A xstar r N/A brentq N/A self _eval kwargs N/A brent_iterations N/A r iterations N/A N/A N/A self set_parameters N/A xstar N/A N/A N/A self run_iteration N/A N/A N/A self iprint 1 N/A N/A iterations: brent_iterations N/A residual: N/A N/A self eval_eq_constraints N/A check_config N/A N/A self strict N/A False N/A N/A Make sure we have 1 parameter and 1 constraint N/A N/A N/A N/A super Brent self check_config strict strict N/A nparam N/A len N/A N/A self get_parameters N/A N/A nparam 1 N/A N/A N/A N/A self raise_exception N/A Brent driver must have 1 parameter, but instead it has %d nparam N/A ncnst N/A len N/A N/A self get_eq_constraints N/A N/A ncnst 1 N/A N/A N/A N/A self raise_exception N/A Brent driver must have 1 equality constraint, but instead it has %d ncnst N/A N/A N/A add_delegate HasParameters HasEqConstraints