devernay / cminpack

A C/C++ rewrite of the MINPACK software (originally in FORTRAN) for solving nonlinear equations and nonlinear least squares problems
http://devernay.free.fr/hacks/cminpack/
145 stars 63 forks source link

Basic questions about C/C++ minpack #16

Closed lukkio88 closed 5 years ago

lukkio88 commented 6 years ago

Hi,

I'm considering using your package for a problem I have.

  1. Can your tool be used in visual studio 2015, windows 10?
  2. I can see some CUDA source files, are the minimization algorithms implemented in CUDA as well? or they're just generic examples?
  3. Can your tool fit a functions f : R^m -> R^n? or is it restricted only to scalar functions?
  4. If 3 is yes, is there a bound on the number of parameters to be fit? I have to fit functions that have 192^2 parameters.

Thank you

devernay commented 6 years ago

1- probably, since it is standard C. You can even generate a VS solution using CMake

2- these are CUDA ports of the minpack functions, in case you need these. It may be useful if you have to run multiple times the same problem with different parameters

3- yes, it does a least squares fit

4- no bound, except for your memory and processing time!

if you don't have enough memory to compute the jacobian, you can use the lmstr subroutine, which asks for lines of the jacobian (see the example)

Le 16 mars 2018 à 12:02, lukkio88 notifications@github.com a écrit :

Hi,

I'm considering using your package for a problem I have.

Can your tool be used in visual studio 2015, windows 10? I can see some CUDA source files, are the minimization algorithms implemented in CUDA as well? or they're just generic examples? Can your tool fit a functions f : R^m -> R^n? or is it restricted only to scalar functions? If 3 is yes, is there a bound on the number of parameters to be fit? I have to fit functions that have 192^2 parameters. Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devernay/cminpack/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/ADmmF1EZRRLJKA-e72YPaN2AqguDgCWFks5te5usgaJpZM4Stmxl.