Did I find the right examples for you? yes no

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

src/e/v/evogrid-0.1.0/src/evogrid/numeric/tests/test_dejong.py   evogrid(Download)
        def test_minimim_value(self):
            f = self._get_function()
            expected = f.minimum_value
            result = f(f.minimum)
            msg = "Expected %s(%s)=%r, got %r" % (
        def test_minimum(self):
            lb, ub = self._get_bounds(default_amplitude=20.)
            f = self._get_function()
 
            # helper function to check that a vector respects the bounds