comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » mpfit and linear equality constraints
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: mpfit and linear equality constraints [message #79135 is a reply to message #79065] Tue, 31 January 2012 12:40 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdagen den 31:e januari 2012 kl. 17:33:09 UTC+1 skrev Craig Markwardt:

> No computer can solve an equation exactly, it's a matter of
> tolerances.

OK, point taken...

>> I guess one could force the approximation of the constraints to be arbitrarily good by setting the tolerances for those equations as very small. But above you say that I should rescale the constraints equations so their residuals are comparable to the data constraints, so this does not seem to be what you mean.
>
> I would say that you should proceed iteratively. First put a looser
> tolerance on your constraint equations. Then when the equation is
> close to solved, tighten the tolerances. The solution should converge
> very quickly.

Oh, so that was what you meant. OK, it's a different approach from what I've used before but I can see that it would be doable. I think I'll give it a try. Thank you very much!

/Mats
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Book and Software Sale
Next Topic: Matching two arrays of Lat and Lon

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:19:30 PDT 2025

Total time taken to generate the page: 1.44036 seconds