lessthanoptimal / ddogleg

Java numerics library for optimization, polynomial root finding, sorting, robust model fitting, and more.
http://ddogleg.org
50 stars 18 forks source link

Constrained least-squares #5

Closed Hendekagon closed 7 years ago

Hendekagon commented 7 years ago

This isn't an issue, more of a request of advice on how to add constraints to the leastSquaresTrustRegion implementation. I'm currently doing it by applying constraints to the inputs of FunctionNtoM, and it seems to work, but this is an unfamiliar area so I'd be grateful for any things to watch out for.

lessthanoptimal commented 7 years ago

Posted a reply to your original message on the message board. Sorry for taking a bit.