Number of bits of resolution. Default is an empty dict, where every unspecified variable is assumed to be integer, and the number of bits is calculated automatically. If you have a continuous var, you should set a bits value as a key in this dictionary.
NotImplemented
debug_print : list
List of what type of Driver variables to print at each iteration. Valid items in list are 'desvars', 'ln_cons', 'nl_cons', 'objs', 'totals'
NotImplemented
elitism : bool
If True, replace worst performing point with best from previous generation each iteration.
max_gen : int
Number of generations before termination.
pop_size :
Number of points in the GA. Set to 0 and it will be computed as four times the number of bits.
NotImplemented
procs_per_model : int
Number of processors to give each model under MPI.
NotImplemented
run_parallel : bool
Set to True to execute the points in a generation in parallel.
# """Simple Genetic Algorithm Driver with argument
#
# Parameters
# ----------
# bits : dict
# Number of bits of resolution. Default is an empty dict, where every unspecified variable is assumed to be integer, and the number of bits is calculated automatically. If you have a continuous var, you should set a bits value as a key in this dictionary.
# NotImplemented
# debug_print : list
# List of what type of Driver variables to print at each iteration. Valid items in list are 'desvars', 'ln_cons', 'nl_cons', 'objs', 'totals'
# NotImplemented
# elitism : bool
# If True, replace worst performing point with best from previous generation each iteration.
# max_gen : int
# Number of generations before termination.
# pop_size :
# Number of points in the GA. Set to 0 and it will be computed as four times the number of bits.
# NotImplemented
# procs_per_model : int
# Number of processors to give each model under MPI.
# NotImplemented
# run_parallel : bool
# Set to True to execute the points in a generation in parallel.