]> SALOME platform Git repositories - modules/adao.git/blob - examples/daSkeletons/External_data_definition_by_scripts/Script_AlgorithmParameters.py
Salome HOME
Updating copyright information and version change
[modules/adao.git] / examples / daSkeletons / External_data_definition_by_scripts / Script_AlgorithmParameters.py
1 #-*-coding:iso-8859-1-*-
2 #
3 #  Copyright (C) 2008-2015 EDF R&D
4 #
5 #  This library is free software; you can redistribute it and/or
6 #  modify it under the terms of the GNU Lesser General Public
7 #  License as published by the Free Software Foundation; either
8 #  version 2.1 of the License.
9 #
10 #  This library is distributed in the hope that it will be useful,
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 #  Lesser General Public License for more details.
14 #
15 #  You should have received a copy of the GNU Lesser General Public
16 #  License along with this library; if not, write to the Free Software
17 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21 #  Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
22
23 __doc__ = """
24     ADAO skeleton case, for wide script usage in case definition
25     ------------------------------------------------------------
26
27     Script defining the AlgorithmParameters
28     """
29 __author__ = "Jean-Philippe ARGAUD"
30 #
31 # ==============================================================================
32 #
33 # Creating the required ADAO variable
34 # -----------------------------------
35 AlgorithmParameters = {
36     "Minimizer" : "TNC",         # Possible : "LBFGSB", "TNC", "CG", "BFGS"
37     "MaximumNumberOfSteps" : 15, # Number of iterative steps
38     "Bounds" : [
39         [ None, None ],          # Bound on the first parameter
40         [ 0., 4. ],              # Bound on the second parameter
41         [ 0., None ],            # Bound on the third parameter
42         ],
43     "StoreInternalVariables":True,
44 }
45 #
46 # ==============================================================================