I have the PDF of a Gumbel Distribution which goes like: $$ f(x) = \frac{e^{-e^{\frac{x-a}{b}} + \frac{x-a}{b}}}{b}; b > 0 $$
The parameters of this distribution are a and b. I wish to estimate these parameters using simulated annealing (to find the maximum of the likelihood function), but nowhere in the algorithm for simulated annealing does it require the data or the sample I have.
If that's the case, wouldn't the parameter estimates be the same no matter what the data is? Is there any way to sort of include the sample or data in the simulated annealing algorithm for it to find parameter estimates of my sample?