forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 12:29 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 
Offline

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

Rupert


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

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


Top
 Profile  
 
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: Bing [Bot] and 46 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group