This is an old revision of the document!


Controlling Refinements by Number of Cycles

TOPAS normally controls refinements by the number of iters. Sometimes in simulated annealing you might want to control by the number of cycles. i.e. give every model 10 chances to converge. This can be done by:

   continue_after_convergence
    iters 1000000
    prm dummy 1 val_on_continue = If(Cycle == 10, Get(iters) = 0, 0);

From Alan on the forum, June 2018.


Personal Tools