Changeset 111 for mystic/examples/test_mogi.py
- Timestamp:
- 03/11/09 11:33:05 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/examples/test_mogi.py
r102 r111 87 87 maxrange = [1000., 1000., 100., 10.]; 88 88 solver.SetRandomInitialPoints(min = minrange, max = maxrange) 89 solver.SetEvaluationLimits(maxiter=MAX_GENERATIONS) 89 90 90 91 #termination = VTR(0.0000029) … … 92 93 93 94 solver.Solve(cost_function, Best1Exp, termination=termination, \ 94 maxiter=MAX_GENERATIONS, CrossProbability=0.5, \ 95 ScalingFactor=0.5, StepMonitor = stepmon) 95 CrossProbability=0.5, ScalingFactor=0.5, StepMonitor=stepmon) 96 96 97 97 solution = solver.Solution()
Note: See TracChangeset
for help on using the changeset viewer.