Changeset 465 for branches/UQ/math/examples/TEST_surrogate_diam_scatter.py
- Timestamp:
- 07/01/11 23:05:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/math/examples/TEST_surrogate_diam_scatter.py
r201 r465 79 79 ####################################################################### 80 80 def local_optimize(cost,x0,lb,ub): 81 from mystic.s cipy_optimizeimport PowellDirectionalSolver81 from mystic.solvers import PowellDirectionalSolver 82 82 from mystic.termination import NormalizedChangeOverGeneration as NCOG 83 from mystic import getch, VerboseSow, Sow83 from mystic.tools import getch, VerboseSow, Sow 84 84 85 85 #stepmon = VerboseSow(100) … … 108 108 ####################################################################### 109 109 def optimize(cost,lower,upper): 110 from mystic import random_seed110 from mystic.tools import random_seed 111 111 random_seed(123) 112 112
Note: See TracChangeset
for help on using the changeset viewer.