2 Copyright (C) 2008-2018 EDF R&D
4 This file is part of SALOME ADAO module.
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
24 .. index:: single: DerivativeFreeOptimization
25 .. _section_ref_algorithm_DerivativeFreeOptimization:
27 Calculation algorithm "*DerivativeFreeOptimization*"
28 ----------------------------------------------------
33 This algorithm realizes an estimation of the state of a system by minimization
34 of a cost function :math:`J` without gradient. It is a method that does not use
35 the derivatives of the cost function. It falls in the same category than the
36 :ref:`section_ref_algorithm_ParticleSwarmOptimization` or the
37 :ref:`section_ref_algorithm_DifferentialEvolution`.
39 This is an optimization method allowing for global minimum search of a general
40 error function :math:`J` of type :math:`L^1`, :math:`L^2` or :math:`L^{\infty}`,
41 with or without weights. The default error function is the augmented weighted
42 least squares function, classically used in data assimilation.
44 Optional and required commands
45 ++++++++++++++++++++++++++++++
47 The general required commands, available in the editing user interface, are the
50 .. include:: snippets/Background.rst
52 .. include:: snippets/BackgroundError.rst
54 .. include:: snippets/Observation.rst
56 .. include:: snippets/ObservationError.rst
58 .. include:: snippets/ObservationOperator.rst
60 The general optional commands, available in the editing user interface, are
61 indicated in :ref:`section_ref_assimilation_keywords`. Moreover, the parameters
62 of the command "*AlgorithmParameters*" allows to choose the specific options,
63 described hereafter, of the algorithm. See
64 :ref:`section_ref_options_Algorithm_Parameters` for the good use of this
67 The options of the algorithm are the following:
69 .. include:: snippets/Minimizer_DFO.rst
71 .. include:: snippets/BoundsWithNone.rst
73 .. include:: snippets/MaximumNumberOfSteps.rst
75 .. include:: snippets/MaximumNumberOfFunctionEvaluations.rst
77 .. include:: snippets/StateVariationTolerance.rst
79 .. include:: snippets/CostDecrementTolerance.rst
81 .. include:: snippets/QualityCriterion.rst
83 StoreSupplementaryCalculations
84 .. index:: single: StoreSupplementaryCalculations
86 This list indicates the names of the supplementary variables that can be
87 available at the end of the algorithm. It involves potentially costly
88 calculations or memory consumptions. The default is a void list, none of
89 these variables being calculated and stored by default. The possible names
90 are in the following list: ["BMA", "CostFunctionJ",
91 "CostFunctionJAtCurrentOptimum", "CostFunctionJb",
92 "CostFunctionJbAtCurrentOptimum", "CostFunctionJo",
93 "CostFunctionJoAtCurrentOptimum", "CurrentOptimum", "CurrentState",
94 "IndexOfOptimum", "Innovation", "InnovationAtCurrentState", "OMA", "OMB",
95 "SimulatedObservationAtBackground", "SimulatedObservationAtCurrentOptimum",
96 "SimulatedObservationAtCurrentState", "SimulatedObservationAtOptimum"].
99 ``{"StoreSupplementaryCalculations":["BMA", "Innovation"]}``
101 Information and variables available at the end of the algorithm
102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
104 At the output, after executing the algorithm, there are variables and
105 information originating from the calculation. The description of
106 :ref:`section_ref_output_variables` show the way to obtain them by the method
107 named ``get`` of the variable "*ADD*" of the post-processing. The input
108 variables, available to the user at the output in order to facilitate the
109 writing of post-processing procedures, are described in the
110 :ref:`subsection_r_o_v_Inventaire`.
112 The unconditional outputs of the algorithm are the following:
114 .. include:: snippets/Analysis.rst
116 .. include:: snippets/CostFunctionJ.rst
118 .. include:: snippets/CostFunctionJb.rst
120 .. include:: snippets/CostFunctionJo.rst
122 .. include:: snippets/CurrentState.rst
124 The conditional outputs of the algorithm are the following:
126 .. include:: snippets/BMA.rst
128 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
130 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
132 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
134 .. include:: snippets/CurrentOptimum.rst
136 .. include:: snippets/IndexOfOptimum.rst
138 .. include:: snippets/Innovation.rst
140 .. include:: snippets/InnovationAtCurrentState.rst
142 .. include:: snippets/OMA.rst
144 .. include:: snippets/OMB.rst
146 .. include:: snippets/SimulatedObservationAtBackground.rst
148 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
150 .. include:: snippets/SimulatedObservationAtCurrentState.rst
152 .. include:: snippets/SimulatedObservationAtOptimum.rst
157 References to other sections:
158 - :ref:`section_ref_algorithm_ParticleSwarmOptimization`
159 - :ref:`section_ref_algorithm_DifferentialEvolution`
161 Bibliographical references: