q: minimization/optimization library

L

laniik

hi. does anyone know if there is a good/free/popular c++ library for
nonlinear conjugate gradient minimization?

i.e. somthing that takes a f(x)=y and minimize for x.

i also need it to be able to use automatically computed finite
difference derivites rather than user supplied ones. thanks!


oliver
 
V

Victor Bazarov

laniik said:
hi. does anyone know if there is a good/free/popular c++ library for
nonlinear conjugate gradient minimization?

Have you tried www.google.com? It's a secret web site nobody knows
about and it might help you... Just don't tell anybody I told you.
 
L

laniik

optsolve++ doesnt seem to be free, and gsl doesn't seem to include a
multidimensional minimizer that doesnt require user computed
derivatives. it appears that you have to specify it in the
gsl_multimin_function_fdf object.

unless i am missing somthing
 
V

Victor Bazarov

laniik said:
optsolve++ doesnt seem to be free, and gsl doesn't seem to include a
multidimensional minimizer that doesnt require user computed
derivatives. it appears that you have to specify it in the
gsl_multimin_function_fdf object.

unless i am missing somthing

Probably that free cheese exists only in a mousetrap.
 
A

Amadeus W. M.

hi. does anyone know if there is a good/free/popular c++ library for
nonlinear conjugate gradient minimization?

i.e. somthing that takes a f(x)=y and minimize for x.

i also need it to be able to use automatically computed finite
difference derivites rather than user supplied ones. thanks!


oliver

Try Numerical Recipes. It's not free, but worth having it. The book is
also online, free, and contains the code. Just cut-n paste. Convert to C++
if you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top