odatse.algorithm.min_search module
- class odatse.algorithm.min_search.Algorithm(info: Info, runner: Runner = None, domain=None, run_mode: str = 'initial', mpicomm: MPI.Comm | None = None)[source]
Bases:
AlgorithmBaseAlgorithm class for performing minimization using the Nelder-Mead method.
Initialize the Algorithm class.
- Parameters:
info (Info) – Information object containing algorithm settings.
runner (Runner) – Runner object for submitting jobs.
domain – Domain object defining the search space.
run_mode (str) – Mode of running the algorithm.
mpicomm (MPI.Comm) – MPI communicator to use for parallelization. If not provided, the default MPI communicator (MPI.COMM_WORLD) will be used if mpi4py is installed.
- __init__(info: Info, runner: Runner = None, domain=None, run_mode: str = 'initial', mpicomm: MPI.Comm | None = None) None[source]
Initialize the Algorithm class.
- Parameters:
info (Info) – Information object containing algorithm settings.
runner (Runner) – Runner object for submitting jobs.
domain – Domain object defining the search space.
run_mode (str) – Mode of running the algorithm.
mpicomm (MPI.Comm) – MPI communicator to use for parallelization. If not provided, the default MPI communicator (MPI.COMM_WORLD) will be used if mpi4py is installed.