Re: [Help-gsl] least-squares fitting or minimization with constrained parameters

2005-12-17 Thread Brian Gough
Frank Küster writes: I am wondering whether (and how) it is possible to use the least-squares fitting, or alternatively minimization functions of gsl with constrained parameters. What I mean with this is that I want to force the function into the correct local minimum by supplying

Re: [Help-gsl] least-squares fitting or minimization with constrained parameters

2005-12-09 Thread g1ul10
Hi Frank, let me try to give you a general answer which has nothing to do with GSL library. The better, safest and probably faster way of introducing the kind of constraints you mention is through a re-parameterization of the problem. For instance, if you want to fit the sum of two exponentials