.. Copyright 2021 IRT Saint-Exupéry, https://www.irt-saintexupery.com This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. .. _gen_doe_algos: DOE algorithms ============== .. warning:: Some capabilities may require the :ref:`installation ` of |g| with :ref:`all its features ` and some others may depend on :ref:`plugins `. .. warning:: All the features of the wrapped libraries may not be exposed through |g|. .. note:: The algorithm settings can be passed to a function of the form .. code-block:: python function(..., settings_model: Base | None = None, **settings: Any) either one by one: .. code-block:: python function(..., setting_name_1=setting_name_1, setting_name_2=setting_name_2, ...) or using the argument name ``"settings"`` and the Pydantic model associated with the algorithm: .. code-block:: python settings = AlgorithmSettings(setting_name_1=setting_name_1, setting_name_2=setting_name_2, ...) function(..., settings_model=settings) .. seealso:: You can find more information about this family of algorithms in :ref:`the user guide `. .. raw:: html .. _CustomDOE_options: CustomDOE --------- Module: :class:`gemseo.algos.doe.custom_doe.custom_doe` :code:`from gemseo.settings.doe import CustomDOE_Settings` This samples are provided either as a file in text or csv format or as a sequence of sequences of numbers. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **comments** : *typing.Union[str, collections.abc.Sequence[str]], optional* The (list of) characters used to indicate the start of a comment. No comments if empty. By default it is set to #. .. raw:: html
  • **delimiter** : *, optional* The character used to separate values. By default it is set to ,. .. raw:: html
  • **doe_file** : *typing.Union[str, pathlib.Path]* The path to the file containing the input samples. If empty, use ``samples``. By default it is set to . .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **samples** : *typing.Union[gemseo.utils.pydantic_ndarray._NDArrayPydantic[typing.Any, numpy.dtype[+_ScalarType_co]], collections.abc.Mapping[str, gemseo.utils.pydantic_ndarray._NDArrayPydantic[typing.Any, numpy.dtype[+_ScalarType_co]]], collections.abc.Sequence[collections.abc.Mapping[str, gemseo.utils.pydantic_ndarray._NDArrayPydantic[typing.Any, numpy.dtype[+_ScalarType_co]]]]], optional* The input samples. They must be at least a 2D-array, a dictionary of 2D-arrays or a list of dictionaries of 1D-arrays. If empty, use ``doe_file``. By default it is set to {}. .. raw:: html
  • **skiprows** : *, optional* The number of first lines to skip. By default it is set to 0. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _DiagonalDOE_options: DiagonalDOE ----------- Module: :class:`gemseo.algos.doe.diagonal_doe.diagonal_doe` :code:`from gemseo.settings.doe import DiagonalDOE_Settings` Diagonal design of experiments .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. The number of samples must be greater than or equal than 2. By default it is set to 2. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **reverse** : *list[str], optional* The dimensions or variables to sample from upper to lower bounds. If empty, every dimension will be sampled from lower to upper bounds. By default it is set to []. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _Halton_options: Halton ------ Module: :class:`gemseo.algos.doe.scipy.scipy_doe` :code:`from gemseo.settings.doe import Halton_Settings` Halton sequence .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **optimization** : *typing.Optional[gemseo.algos.doe.scipy.settings.base_scipy_doe_settings.Optimizer], optional* The name of an optimization scheme to improve the DOE's quality. If ``None``, use the DOE as is. New in SciPy 1.10.0. By default it is set to None. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **scramble** : *, optional* Whether to use scrambling (Owen type). Only available with SciPy >= 1.10.0. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :attr:`.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _LHS_options: LHS --- Module: :class:`gemseo.algos.doe.scipy.scipy_doe` :code:`from gemseo.settings.doe import LHS_Settings` Latin hypercube sampling (LHS) .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **centered** : *, optional* Whether to center the samples within the multi-dimensional grid cells. If SciPy >= 1.10.0, this argument is ignored; use ``scramble`` instead. By default it is set to False. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **optimization** : *typing.Optional[gemseo.algos.doe.scipy.settings.base_scipy_doe_settings.Optimizer], optional* The name of an optimization scheme to improve the DOE's quality. If ``None``, use the DOE as is. New in SciPy 1.10.0. By default it is set to None. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **scramble** : *, optional* Whether to use scrambling (Owen type). Only available with SciPy >= 1.10.0. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :attr:`.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **strength** : *, optional* The strength of the LHS. By default it is set to Strength.one. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _MC_options: MC -- Module: :class:`gemseo.algos.doe.scipy.scipy_doe` :code:`from gemseo.settings.doe import MC_Settings` Monte Carlo sampling .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :attr:`.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _MorrisDOE_options: MorrisDOE --------- Module: :class:`gemseo.algos.doe.morris_doe.morris_doe` :code:`from gemseo.settings.doe import MorrisDOE_Settings` The DOE used by the Morris sensitivity analysis. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **doe_algo_name** : *, optional* The name of the DOE algorithm to repeat the OAT DOE. By default it is set to PYDOE_LHS. .. raw:: html
  • **doe_algo_settings** : *collections.abc.Mapping[str, typing.Any], optional* The options of the DOE algorithm. By default it is set to {}. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The maximum number of samples required by the user. If 0, deduce it from the design space dimension and ``n_replicates``. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **step** : *, optional* The relative step of the OAT DOE. By default it is set to 0.05. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OATDOE_options: OATDOE ------ Module: :class:`gemseo.algos.doe.oat_doe.oat_doe` :code:`from gemseo.settings.doe import OATDOE_Settings` The DOE used by a One-factor-at-a-Time sensitivity analysis. .. raw:: html
Required settings
  • **initial_point** : *gemseo.utils.pydantic_ndarray._NDArrayPydantic[typing.Any, numpy.dtype[+_ScalarType_co]]* The initial point of the OAT DOE. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **step** : *, optional* The relative step of the OAT DOE. The step in the ``x`` direction is step*(max_x-min_x)`` if ``x+step*(max_x-min_x)<=max_x`` and ``-step*(max_x- min_x)`` otherwise. By default it is set to 0.05. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_AXIAL_options: OT_AXIAL -------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_AXIAL_Settings` Axial design More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Axial.html. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **centers** : *typing.Union[collections.abc.Sequence[float], float], optional* The center of DOE in the unit hypercube. This option is available for the axial, composite and factorial DOE algorithm. If scalar, this value is applied to each direction of the hypercube; the values must be in :math:`]0,1[`. By default it is set to 0.5. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **levels** : *typing.Union[float, collections.abc.Sequence[float]], optional* The levels. In the case of axial, composite and factorial DOEs, the positions of the levels relative to the center; the levels will be equispaced and symmetrical relative to the center; e.g. ``[0.2, 0.8]`` in dimension 1 will generate the samples ``[0.15, 0.6, 0.75, 0.8, 0.95, 1]`` for an axial DOE; the values must be in :math:`]0,1]`. In the case of a full-factorial DOE, the number of levels per input direction; if scalar, this value is applied to each input direction. By default it is set to (). .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. If 0, set from the options. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_COMPOSITE_options: OT_COMPOSITE ------------ Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_COMPOSITE_Settings` Composite design More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Composite.html. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **centers** : *typing.Union[collections.abc.Sequence[float], float], optional* The center of DOE in the unit hypercube. This option is available for the axial, composite and factorial DOE algorithm. If scalar, this value is applied to each direction of the hypercube; the values must be in :math:`]0,1[`. By default it is set to 0.5. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **levels** : *typing.Union[float, collections.abc.Sequence[float]], optional* The levels. In the case of axial, composite and factorial DOEs, the positions of the levels relative to the center; the levels will be equispaced and symmetrical relative to the center; e.g. ``[0.2, 0.8]`` in dimension 1 will generate the samples ``[0.15, 0.6, 0.75, 0.8, 0.95, 1]`` for an axial DOE; the values must be in :math:`]0,1]`. In the case of a full-factorial DOE, the number of levels per input direction; if scalar, this value is applied to each input direction. By default it is set to (). .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. If 0, set from the options. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_FACTORIAL_options: OT_FACTORIAL ------------ Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_FACTORIAL_Settings` Factorial design More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Factorial.html. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **centers** : *typing.Union[collections.abc.Sequence[float], float], optional* The center of DOE in the unit hypercube. This option is available for the axial, composite and factorial DOE algorithm. If scalar, this value is applied to each direction of the hypercube; the values must be in :math:`]0,1[`. By default it is set to 0.5. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **levels** : *typing.Union[float, collections.abc.Sequence[float]], optional* The levels. In the case of axial, composite and factorial DOEs, the positions of the levels relative to the center; the levels will be equispaced and symmetrical relative to the center; e.g. ``[0.2, 0.8]`` in dimension 1 will generate the samples ``[0.15, 0.6, 0.75, 0.8, 0.95, 1]`` for an axial DOE; the values must be in :math:`]0,1]`. In the case of a full-factorial DOE, the number of levels per input direction; if scalar, this value is applied to each input direction. By default it is set to (). .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. If 0, set from the options. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_FAURE_options: OT_FAURE -------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_FAURE_Settings` Faure sequence More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.FaureSequence.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_FULLFACT_options: OT_FULLFACT ----------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_FULLFACT_Settings` Full factorial design More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Box.html. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **levels** : *typing.Union[typing.Annotated[int, Gt(gt=0)], collections.abc.Sequence[typing.Annotated[int, Gt(gt=0)]]], optional* The number of levels per input direction. If scalar, this value is applied to each input direction. By default it is set to (). .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. If 0, set from the options. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_HALTON_options: OT_HALTON --------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_HALTON_Settings` Halton sequence More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.HaltonSequence.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_HASELGROVE_options: OT_HASELGROVE ------------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_HASELGROVE_Settings` Haselgrove sequence More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.HaselgroveSequence.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_LHS_options: OT_LHS ------ Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_LHS_Settings` Latin Hypercube Sampling More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.LHS.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_LHSC_options: OT_LHSC ------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_LHSC_Settings` Centered Latin Hypercube Sampling More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.LHS.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_MONTE_CARLO_options: OT_MONTE_CARLO -------------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_MONTE_CARLO_Settings` Monte Carlo sequence More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Uniform.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_OPT_LHS_options: OT_OPT_LHS ---------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_OPT_LHS_Settings` Optimal Latin Hypercube Sampling More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.SimulatedAnnealingLHS.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **annealing** : *, optional* Whether to use simulated annealing to optimize the LHS. If ``False``, the crude Monte Carlo method is used. By default it is set to True. .. raw:: html
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **criterion** : *, optional* The space-filling criterion. By default it is set to C2. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_replicates** : *, optional* The number of Monte Carlo replicates to optimize LHS. By default it is set to 1000. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **temperature** : *, optional* The temperature profile for simulated annealing. Either "Geometric" or "Linear". By default it is set to Geometric. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_RANDOM_options: OT_RANDOM --------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_RANDOM_Settings` Random sampling More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.Uniform.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_REVERSE_HALTON_options: OT_REVERSE_HALTON ----------------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_REVERSE_HALTON_Settings` Reverse Halton More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.ReverseHaltonSequence.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_SOBOL_options: OT_SOBOL -------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_SOBOL_Settings` Sobol sequence More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.SobolSequence.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _OT_SOBOL_INDICES_options: OT_SOBOL_INDICES ---------------- Module: :class:`gemseo.algos.doe.openturns.openturns` :code:`from gemseo.settings.doe import OT_SOBOL_INDICES_Settings` DOE for Sobol indices More details about the algorithm and its settings on http://openturns.github.io/openturns/latest/user_manual/_generated/openturns.SobolIndicesAlgorithm.html. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **eval_second_order** : *, optional* Whether to build a DOE to evaluate also the second-order indices. If ``False``, the DOE is designed for first and total-order indices only. By default it is set to True. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_BBDESIGN_options: PYDOE_BBDESIGN -------------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_BBDESIGN_Settings` Box-Behnken design More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/rsm.html#box-behnken. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **center** : *typing.Optional[typing.Annotated[int, Gt(gt=0)]], optional* The number of center points for the Box-Behnken design. If ``None``, use a pre-determined number of points. By default it is set to None. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_CCDESIGN_options: PYDOE_CCDESIGN -------------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_CCDESIGN_Settings` Central Composite More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/rsm.html#central-composite. .. raw:: html
Optional settings
  • **alpha** : *, optional* A parameter to describe how the variance is distributed. Either "orthogonal" or "rotatable". By default it is set to orthogonal. .. raw:: html
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **center** : *tuple[int, int], optional* The 2-tuple of center points for the central composite design. By default it is set to (4, 4). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **face** : *, optional* The relation between the start and corner (factorial) points. By default it is set to circumscribed. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_FF2N_options: PYDOE_FF2N ---------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_FF2N_Settings` 2-Level Full-Factorial More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/factorial.html#level-full-factorial. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_FULLFACT_options: PYDOE_FULLFACT -------------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_FULLFACT_Settings` Full-Factorial More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/factorial.html#general-full-factorial. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **levels** : *typing.Union[collections.abc.Sequence[typing.Annotated[int, Gt(gt=0)]], typing.Annotated[int, Gt(gt=0)]], optional* The levels. One must either specify ``n_samples`` or ``levels``. The levels are inferred from the number of samples if the former is specified. By default it is set to (). .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **n_samples** : *, optional* The number of samples. If 0, set from the settings. By default it is set to 0. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_LHS_options: PYDOE_LHS --------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_LHS_Settings` Latin Hypercube Sampling More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/randomized.html#latin-hypercube. .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **criterion** : *typing.Optional[gemseo.algos.doe.pydoe.settings.pydoe_lhs.Criterion], optional* The criterion to use when sampling the points. If ``None``, randomize the points within the intervals. By default it is set to None. .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **iterations** : *, optional* The number of iterations in the ``correlation``/``maximin`` algorithms. By default it is set to 5. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **random_state** : *typing.Optional[typing.Annotated[int, Gt(gt=0)]], optional* The seed used for reproducibility reasons. If ``None``, use :class:`~.BaseDOELibrary.seed`. By default it is set to None. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PYDOE_PBDESIGN_options: PYDOE_PBDESIGN -------------- Module: :class:`gemseo.algos.doe.pydoe.pydoe` :code:`from gemseo.settings.doe import PYDOE_PBDESIGN_Settings` Plackett-Burman design More details about the algorithm and its settings on https://pythonhosted.org/pyDOE/factorial.html#plackett-burman. .. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _PoissonDisk_options: PoissonDisk ----------- Module: :class:`gemseo.algos.doe.scipy.scipy_doe` :code:`from gemseo.settings.doe import PoissonDisk_Settings` Poisson disk sampling .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **hypersphere** : *, optional* The sampling strategy to generate potential candidates. The candidates will be added in the final sample. By default it is set to volume. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **ncandidates** : *, optional* The number of candidates to sample per iteration. By default it is set to 30. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **optimization** : *typing.Optional[gemseo.algos.doe.scipy.settings.base_scipy_doe_settings.Optimizer], optional* The name of an optimization scheme to improve the DOE's quality. If ``None``, use the DOE as is. New in SciPy 1.10.0. By default it is set to None. .. raw:: html
  • **radius** : *, optional* The minimal distance to keep between points when sampling new candidates. By default it is set to 0.05. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :attr:`.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html
.. _Sobol_options: Sobol ----- Module: :class:`gemseo.algos.doe.scipy.scipy_doe` :code:`from gemseo.settings.doe import Sobol_Settings` Engine for generating (scrambled) Sobol' sequences .. raw:: html
Required settings
  • **n_samples** : ** The number of samples. .. raw:: html
.. raw:: html
Optional settings
  • **bits** : *, optional* The number of bits of the generator. By default it is set to 30. .. raw:: html
  • **callbacks** : *collections.abc.Sequence[typing.Annotated[collections.abc.Callable[[int, tuple[dict[str, typing.Union[float, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]], dict[str, numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]]]], typing.Any], WithJsonSchema(json_schema={}, mode=None)]], optional* The functions to be evaluated after each functions evaluation. The functions evaluation is done by :meth:`.OptimizationProblem.evaluate_functions` and the callback must be called as ``callback(index, (output, Jacobian))``. By default it is set to (). .. raw:: html
  • **enable_progress_bar** : *typing.Optional[bool], optional* Whether to enable the progress bar in the optimization log. If ``None``, use the global value of ``enable_progress_bar`` (see the ``configure`` function to change it globally). By default it is set to None. .. raw:: html
  • **eq_tolerance** : *, optional* The tolerance on the equality constraints. By default it is set to 0.01. .. raw:: html
  • **eval_jac** : *, optional* Whether to evaluate the Jacobian function. By default it is set to False. .. raw:: html
  • **ineq_tolerance** : *, optional* The tolerance on the inequality constraints. By default it is set to 0.0001. .. raw:: html
  • **log_problem** : *, optional* Whether to log the definition and result of the problem. By default it is set to True. .. raw:: html
  • **max_time** : *, optional* The maximum runtime in seconds, disabled if 0. By default it is set to 0.0. .. raw:: html
  • **n_processes** : *, optional* The maximum number of processes to parallelize the execution. By default it is set to 1. .. raw:: html
  • **normalize_design_space** : *, optional* Whether to normalize the design space variables between 0 and 1. By default it is set to False. .. raw:: html
  • **optimization** : *typing.Optional[gemseo.algos.doe.scipy.settings.base_scipy_doe_settings.Optimizer], optional* The name of an optimization scheme to improve the DOE's quality. If ``None``, use the DOE as is. New in SciPy 1.10.0. By default it is set to None. .. raw:: html
  • **reset_iteration_counters** : *, optional* Whether to reset the iteration counters before each execution. By default it is set to True. .. raw:: html
  • **round_ints** : *, optional* Whether to round the integer variables. By default it is set to True. .. raw:: html
  • **scramble** : *, optional* Whether to use scrambling (Owen type). Only available with SciPy >= 1.10.0. By default it is set to True. .. raw:: html
  • **seed** : *typing.Optional[int], optional* The seed used for reproducibility reasons. If ``None``, use :attr:`.seed`. By default it is set to None. .. raw:: html
  • **store_jacobian** : *, optional* Whether to store the Jacobian matrices in the database. This argument is ignored when the ``use_database`` option is ``False``. If a gradient-based algorithm is used, this option cannot be set along with kkt options. By default it is set to True. .. raw:: html
  • **use_database** : *, optional* Whether to wrap the functions in the database. By default it is set to True. .. raw:: html
  • **use_one_line_progress_bar** : *, optional* Whether to log the progress bar on a single line. By default it is set to False. .. raw:: html
  • **wait_time_between_samples** : *, optional* The time to wait between each sample evaluation, in seconds. By default it is set to 0.0. .. raw:: html