MADX currently supports four different matching algorithms:
LMDIF,CALLS=integer,TOLERANCE=real;It is the fastest minimisation method available in MAD. The command has two attributes:
LMDIF,CALLS=2000,TOLERANCE=1.0E-8;
MIGRAD,CALLS=integer,TOLERANCE=real,STRATEGY=1;The command has three attributes:
MIGRAD,CALLS=2000,TOLERANCE=1.0E-8;
SIMPLEX,CALLS=integer,TOLERANCE=real;Details are given in [James]. The command has two attributes:
SIMPLEX,CALLS=2000,TOLERANCE=1.0E-8;
JACOBIAN,CALLS=integer,TOLERANCE=real,REPEAT=integer,STRATEGY=integer,COOL=real,BALANCE=real, random=real;The command has the attributes:
if "balance" >=0 newval=(1-cool)*oldval+cool*( (1-balance)*maxval+balance*minval ) else newval=(1-cool)*oldval+cool* optvalwhere newval is the new value after the transformation, oldval is the previous value, maxval, minval, optval are the maximum value, minimum value, optimal value of the variable specified in the VARY command.
newval= (1+ random * rand() ) * oldvalwhere newval is the new value after the transformation, oldval is the previous value, rand() is a stochastic variable with a uniform (-0.5,0.5) distribution.
JACOBIAN,CALLS=20,TOLERANCE=1.0E-8,STRATEGY=3,COOL=0.1,BALANCE=0.5,RANDOM=0.01;