ALGLIBsupportsLeastsquaresfitting,Levenberg-Marquardtalgorithmformultivariateoptimization,andotherrelatedmodels.