forum.alglib.net

ALGLIB forum
It is currently Wed Nov 30, 2022 4:06 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  [ 1 post ] 
Author Message
 Post subject: alglib::minlmoptimize C++ and function pointer
PostPosted: Mon Jul 15, 2013 11:35 am 
Offline

Joined: Mon Jul 15, 2013 10:25 am
Posts: 2
Hi,

I'm trying to use "alglib::minlmoptimize" in C++ (optimization with boundary constraints)
like in this link: http://www.alglib.net/translator/man/manual.cpp.html#example_minlm_d_vb

In my case, the function "function1_fvec" called in
alglib::minlmoptimize(state, function1_fvec); is in a class. I try to create a function pointer in order to call this function but i find a problem:

error C2665: 'alglib::minlmoptimize' : none of the 5 overloads could convert all the argument types

How can i do that?

Thanks!


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

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group