Ignore:
Timestamp:
03/11/09 11:33:05 (7 years ago)
Author:
mmckerns
Message:

created SetEvaluationLimits? method in abstract_solver;
propagated changes to the derived solvers and examples;
removed 'ooe' circle branch... it's in the trunk now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mystic/examples/test_mogi.py

    r102 r111  
    8787    maxrange = [1000., 1000., 100., 10.]; 
    8888    solver.SetRandomInitialPoints(min = minrange, max = maxrange) 
     89    solver.SetEvaluationLimits(maxiter=MAX_GENERATIONS) 
    8990 
    9091   #termination = VTR(0.0000029) 
     
    9293 
    9394    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) 
    9696 
    9797    solution = solver.Solution() 
Note: See TracChangeset for help on using the changeset viewer.