Page 1 of 1

Author:  rdsk [ Sat Jan 12, 2019 10:33 am ]
Post subject:  minlmsetcond

The parameters for minlmsetcond have changed. How should I adjust the code below please?

I have C# code with

alglib.minlmsetcond(state, epsg, epsf, epsx, maxits);

but alglib definition this points t and Alglib manual now has

public static void alglib.minlmsetcond(
minlmstate state,
double epsx,
int maxits,
alglib.xparams _params = alglib.xdefault)

In Visual Studio I now have:

Error CS1501 No overload for method 'minlmsetcond' takes 5 arguments


Author:  Sergey.Bochkanov [ Mon Jan 14, 2019 10:06 am ]
Post subject:  Re: minlmsetcond

Hi! EpsG and EpsF were dropped from LM package at some monent, so LM optimizer now supports only EpsX and MaxIts criteria.

If you have epsg=epsf=0, then you can just omit these parameters from new signature. Otherwise, specify non-zero epsX (with value close to one used for epsF).

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group