Commit 0af2c6e5 authored by Heller, William T.'s avatar Heller, William T.
Browse files

Replace sas_temper_engine.py

parent 24648297
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -131,13 +131,14 @@ def sa_engine(fconf, modconf, d):
                
            iters = iters + 1
            
            noise = "schedule " + str(schedule) + "; iteration " + str(iters)
            print(noise)
        
        # we drop the temperature, tighten the range and increase schedule
        temp = temp*fconf.temp_rate
        r = r*fconf.param_rate
        schedule = schedule + 1
        
        noise = "schedule " + str(schedule) + "; iteration " + str(iters)
        print(noise)
    
    # as the final step, we estimate the uncertainties with the jacobian
    f = copy.deepcopy(fbest)