ALGLIB forum
It is currently Thu Jul 09, 2020 9:24 pm

All times are UTC

Forum rules

1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: minlmsetcond
PostPosted: Sat Jan 12, 2019 10:33 am 

Joined: Sat Jan 12, 2019 10:22 am
Posts: 1
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


 Post subject: Re: minlmsetcond
PostPosted: Mon Jan 14, 2019 10:06 am 
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 855
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).

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group