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

Replace sas_temper_engine.py

parent 1365104e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ def sa_control(fconf, modconf, d):
    
    # st_time = time.time()
    
    # add a little feedback to the user
    print("model started:  ", end='', step='')
    
    # the number of refinement iterations to do
    for j in range(0,refines) :
        for i in range(0,refine_models):
@@ -45,9 +48,15 @@ def sa_control(fconf, modconf, d):
            else:
                res[i],mprof[i],mprof_usm[i] = sa_engine(fconf,localconf,d)
            
            # add a little feedback to the user            
            print("#", end='', step='')
            
        # refine the ranges to start over
        localconf = sa_refine(refine_models, res)
    
    # add a little feedback to the user
    print(" done")
    
    best = 1000000000.00
    hit = 0
    for k in range(0, refine_models):