Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/c/scipy-0.13.3/scipy/optimize/tests/test__basinhopping.py   scipy(Download)
 
from scipy.optimize import basinhopping, minimize
from scipy.optimize._basinhopping import Storage, RandomDisplacement, \
    Metropolis, AdaptiveStepsize
 
    def setUp(self):
        self.T = 2.
        self.met = Metropolis(self.T)
 
    def test_boolean_return(self):