predeterminedruns_driver.py

Baseclass for design-of-experiments Drivers that have pre-determined parameter sets.

class openmdao.drivers.predeterminedruns_driver.PredeterminedRunsDriver(num_par_doe=1, load_balance=False)[source]

Bases: openmdao.core.driver.Driver

Baseclass for design-of-experiments Drivers that have pre-determined parameter sets.

Args:

num_par_doe : int, optional

The number of DOE cases to run concurrently. Defaults to 1.

load_balance : bool, Optional

If True, use rank 0 as master and load balance cases among all of the other ranks. Default is False.

get_req_procs()[source]
Returns:

tuple

A tuple of the form (min_procs, max_procs), indicating the min and max processors usable by this Driver.

run(problem)[source]

Build a runlist and execute the Problem for each set of generated parameters.