Exemple #1
0
 def __init__(self):
     ''' see 
     '''
     
     Driver.__init__(self)
     
     self.driver = None
     self.number_starts = 10
Exemple #2
0
    def __init__(self):

        # test import
        import scipy.optimize

        Driver.__init__(self)

        self.max_iterations = 1000
Exemple #3
0
    def __init__(self):
        ''' see 
        '''

        Driver.__init__(self)

        self.driver = None
        self.number_starts = 10
Exemple #4
0
    def __init__(self):

        Driver.__init__(self)

        self.verbose = True
        self.print_iterations = 1
        self.standard_deviation_ratio = 0.10
        self.max_evaluations = np.inf
Exemple #5
0
 def __init__(self):
     
     Driver.__init__(self)
     
     self.verbose                  = True
     self.print_iterations         = 1
     self.standard_deviation_ratio = 0.10
     self.max_evaluations          = np.inf
Exemple #6
0
 def __init__(self):
     
     # test import
     import scipy.optimize
     
     Driver.__init__(self)
     
     self.max_iterations = 1000
Exemple #7
0
 def __init__(self):
     
     # import check
     import scipy.optimize  
     
     Driver.__init__(self)
     
     self.verbose        = True
     self.max_iterations = 1000
Exemple #8
0
    def __init__(self):

        # import check
        import scipy.optimize

        Driver.__init__(self)

        self.verbose = True
        self.max_iterations = 1000
        self.objective_accuracy = None
Exemple #9
0
    def __init__(self):

        # import check
        import scipy.optimize

        Driver.__init__(self)

        self.verbose = True
        self.max_iterations = 1000
        self.objective_accuracy = None
Exemple #10
0
 def __init__(self):
     
     try:
         import cma
     except ImportError:
         raise ImportError, 'Could not import cma, please install with pip: "> pip install cma"'
     
     Driver.__init__(self)
     
     self.verbose                  = True
     self.print_iterations         = 1
     self.standard_deviation_ratio = 0.10
     self.max_evaluations          = np.inf
Exemple #11
0
    def __init__(self):
        ''' see http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_slsqp.html for more info
        '''

        # import check
        import scipy.optimize

        Driver.__init__(self)

        self.verbose = True
        self.max_iterations = 1000
        self.max_evaluations = 10000
        self.objective_accuracy = None
Exemple #12
0
 def __init__(self):
     ''' see http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_slsqp.html for more info
     '''
     
     # import check
     import scipy.optimize  
     
     Driver.__init__(self)
     
     self.verbose            = True
     self.max_iterations     = 1000
     self.max_evaluations    = 10000
     self.objective_accuracy = None
Exemple #13
0
 def __init__(self):
     
     # test import
     import scipy.optimize        
     
     Driver.__init__(self)
     
     self.max_evaluations    = 1000
     self.trust_region_scale_start = 1.0
     self.trust_region_scale_end   = 1e-4
     
     # this cache is a special requirement for scipy's 
     # COBYLA constraints
     self._cache = {'x':None, 'c':None}