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

        # test import
        import scipy.optimize

        Driver.__init__(self)

        self.max_iterations = 1000
Esempio n. 3
0
    def __init__(self):
        ''' see 
        '''

        Driver.__init__(self)

        self.driver = None
        self.number_starts = 10
Esempio n. 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
Esempio n. 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
Esempio n. 6
0
 def __init__(self):
     
     # test import
     import scipy.optimize
     
     Driver.__init__(self)
     
     self.max_iterations = 1000
Esempio n. 7
0
 def __init__(self):
     
     # import check
     import scipy.optimize  
     
     Driver.__init__(self)
     
     self.verbose        = True
     self.max_iterations = 1000
Esempio n. 8
0
    def __init__(self):

        # import check
        import scipy.optimize

        Driver.__init__(self)

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

        # import check
        import scipy.optimize

        Driver.__init__(self)

        self.verbose = True
        self.max_iterations = 1000
        self.objective_accuracy = None
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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}