Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/o/cogent-1.5.3/cogent/recalculation/calculation.py   cogent(Download)
from cogent.maths.solve import find_root
from cogent.util import parallel
from cogent.maths.optimisers import maximise, ParameterOutOfBoundsError
 
 
    def optimise(self, **kw):
        x = self.getValueArray()
        bounds = self.getBoundsVectors()
        maximise(self, x, bounds, **kw)
        self.optimised = True

src/p/y/pycogent-HEAD/cogent/recalculation/calculation.py   pycogent(Download)
from cogent.maths.solve import find_root
from cogent.util import parallel
from cogent.maths.optimisers import maximise, ParameterOutOfBoundsError
 
 
    def optimise(self, **kw):
        x = self.getValueArray()
        bounds = self.getBoundsVectors()
        maximise(self, x, bounds, **kw)
        self.optimised = True

src/p/y/pycogent-HEAD/tests/test_maths/test_optimisers.py   pycogent(Download)
import time, sys, os, numpy
from cogent.util.unit_test import TestCase, main
from cogent.maths.optimisers import maximise, MaximumEvaluationsReached
 
__author__ = "Peter Maxwell and Gavin Huttley"

src/c/o/cogent-1.5.3/tests/test_maths/test_optimisers.py   cogent(Download)
import time, sys, os, numpy
from cogent.util.unit_test import TestCase, main
from cogent.maths.optimisers import maximise, MaximumEvaluationsReached
 
__author__ = "Peter Maxwell and Gavin Huttley"