forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 5:59 am

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  [ 3 posts ] 
Author Message
 Post subject: gradient
PostPosted: Wed Jul 18, 2012 6:21 pm 
Offline

Joined: Wed Jul 18, 2012 6:06 pm
Posts: 2
Hi!

I try to use CG optimization algorithm when gradient is calculated by ALGLIB (C++ version): http://www.alglib.net/translator/man/ma ... cg_numdiff

But I can't understant how to get the values of gradient at each iteration. I found mincgsetxrep(state, needxrep) but it doesn't work( So how to get the derivatives?

Thank you.


Top
 Profile  
 
 Post subject: Re: gradient
PostPosted: Thu Jul 19, 2012 5:48 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
ALGLIB does not report derivative values, only current point and function value are reported. So there is no easy solution to your question.


Top
 Profile  
 
 Post subject: Re: gradient
PostPosted: Thu Jul 19, 2012 11:36 am 
Offline

Joined: Wed Jul 18, 2012 6:06 pm
Posts: 2
It is very sad. Such a good library doesn't support this feature. But thanks for reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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