The "optim" package should only refer to the strict definition of an optimization problem: minimizing a cost function.
The non-linear least-squares "optimizers" should be considered as "fitting" algorithms and moved to the "o.a.c.m.fitting" package.
In the "AbstractLeastSquaresOptimizer" class, the handling of weights should be dropped because
# it obscures the algorithm's primary purpose, and
# this feature could be implemented independently (by the user, or in a wrapper).
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira