예제 #1
0
 def __init__(self, model, noise_amplitude=1.0, **kwargs):
     """
     A noisy nonlinear problem in which only first derivatives can be
     evaluated. For help on individual methods, see `AmplModel`.
     """
     AmplModel.__init__(self, model, **kwargs)
     self.noise_amplitude = noise_amplitude
예제 #2
0
파일: noisynlp.py 프로젝트: syarra/nlpy
 def __init__(self, model, noise_amplitude=1.0, **kwargs):
     """
     A noisy nonlinear problem in which only first derivatives can be
     evaluated. For help on individual methods, see `AmplModel`.
     """
     AmplModel.__init__(self, model, **kwargs)
     self.noise_amplitude = noise_amplitude