GLS may be used for global coordinate searches by choosing as search direction p a vector with a single nonzero entry.
The required m-files can be downloaded as the gzipped tar file gls4.tar.gz (Matlab 4 version, 10K), gls.tar.gz (Matlab 5 version, 10K).
Note that the program assumes that the function vavalues are finite and not extremely huge. If you cannot avoid huge or infinite function values, apply GLS instead to the function ff(x)=f(x)/(f(x)+c) for a suitable constant c such that the denominator remains positive.
my home page
Arnold Neumaier (Arnold.Neumaier@univie.ac.at)