paraboloid_problem.py#
- class openmdao.test_suite.components.paraboloid_problem.ParaboloidProblem(**kwargs)[source]
Bases:
ProblemParaboloid problem with Constraint.
- Attributes:
driverGet the Driver for this Problem.
msginfoReturn info to prepend to messages.
Methods
add_recorder(recorder)Add a recorder to the problem.
check_config([logger, checks, out_file])Perform optional error checks on a Problem.
check_partials([out_stream, includes, ...])Check partial derivatives comprehensively for all components in your model.
check_totals([of, wrt, out_stream, ...])Check total derivatives for the model vs.
cleanup()Clean up resources prior to exit.
compute_jacvec_product(of, wrt, mode, seed)Given a seed and 'of' and 'wrt' variables, compute the total jacobian vector product.
compute_totals([of, wrt, return_format, ...])Compute derivatives of desired quantities with respect to desired inputs.
final_setup()Perform final setup phase on problem in preparation for run.
find_feasible([case_prefix, ...])Attempt to find design variable values which minimize the constraint violation.
get_coloring_dir(mode[, mkdir])Get the path to the directory for the coloring files.
get_outputs_dir(*subdirs[, mkdir])Get the path under which all output files of this problem are to be placed.
get_reports_dir([force])Get the path to the directory where the report files should go.
get_total_coloring([coloring_info, of, wrt, ...])Get the total coloring.
get_val(name[, units, indices, get_remote, ...])Get an output/input variable.
is_local(name)Return True if the named variable or system is local to the current process.
list_driver_vars([show_promoted_name, ...])Print all design variables and responses (objectives and constraints).
list_indep_vars([include_design_vars, ...])Retrieve the independent variables in the Problem.
list_pre_post([outfile])Display the pre and post optimization components.
list_problem_vars([show_promoted_name, ...])Print all design variables and responses (objectives and constraints).
load_case(case)Pull all input and output variables from a case into the model.
record(case_name)Record the variables at the Problem level.
run_driver([case_prefix, reset_iter_counts])Run the driver on the model.
run_model([case_prefix, reset_iter_counts])Run the model by calling the root system's solve_nonlinear.
set_complex_step_mode(active)Turn on or off complex stepping mode.
set_setup_status(status, **setup_kwargs)Set the setup status of the problem, running any setup steps that haven't been run yet.
set_solver_print([level, depth, type_, ...])Control printing for solvers and subsolvers in the model.
set_val(name[, val, units, indices])Set an output/input variable.
setup([check, logger, mode, ...])Set up the model hierarchy.
- __init__(**kwargs)[source]
Initialize attributes.