Changeset 132
- Timestamp:
- 04/02/09 17:23:57 (7 years ago)
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
DEV_NOTES
r123 r132 1 1 = THINGS TO RESOLVE = 2 */*/*py:3 - move more of "mogi" to mystic.models4 mystic/mystic/scipy_optimize.py:5 - better way to deal with direc (?)6 - can x0 versus self.population[0] be handled better? (and _clipGuess...)7 2 mystic/mystic/differential_evolution.py: 8 3 - allow register of sigint_callback for all 'one-liner' interfaces (?) -
mystic/examples/example11.py
r131 r132 40 40 def plot_params(monitor): 41 41 x = range(len(monitor.y)) 42 import numpy 43 # NOTE: workaround poor design, where simplex is logged by StepMonitor 44 if isinstance(monitor.y[0],numpy.ndarray): 45 y = [i[0] for i in monitor.y] 46 else: 47 y = monitor.y 42 y = monitor.y 48 43 pylab.plot(x,y,'b-') 49 44 pylab.axis([1,0.5*x[-1],0,y[1]],'k-') -
mystic/mystic/scipy_optimize.py
r124 r132 231 231 232 232 while (fcalls[0] < self._maxfun and iterations < self._maxiter): 233 StepMonitor(sim , fsim) # getall values; "best" is sim[0]233 StepMonitor(sim[0], fsim[0]) # sim = all values; "best" is sim[0] 234 234 if self._EARLYEXIT or termination(self): 235 235 break … … 401 401 allvecs = [] 402 402 for i in range(iterations): 403 #allvecs.append(list(stepmon.x[i] [0]))404 allvecs.append(stepmon.x[i] [0])403 #allvecs.append(list(stepmon.x[i])) 404 allvecs.append(stepmon.x[i]) 405 405 406 406 if fcalls >= solver._maxfun: -
releases/Makefile
r131 r132 1 1 #--------------------------------------------------- 2 PATCHES = 12 PATCHES = 2 3 3 #--------------------------------------------------- 4 4 … … 6 6 7 7 patch: 8 patch -p0 -i mystic-0.1a1-patch 1.diff8 patch -p0 -i mystic-0.1a1-patch2.diff 9 9 10 10 release: 11 tar -cvzf mystic-0.1a1-p 1.tgz mystic-0.1a111 tar -cvzf mystic-0.1a1-p2.tgz mystic-0.1a1 12 12 13 13 clean: 14 14 cd mystic-0.1a1; cd examples; rm -f README example*; cd ..; cd .. 15 cd mystic-0.1a1; cd mystic; rm -f scipy_optimize*; cd ..; cd .. 15 16 svn up
Note: See TracChangeset
for help on using the changeset viewer.