[R] Non-Linear Optimization - Query

Paul Smith phhs80 at gmail.com
Wed Mar 18 15:19:02 CET 2009


On Tue, Mar 17, 2009 at 7:55 PM, Berend Hasselman <bhh at xs4all.nl> wrote:
> You can also try my package "nleqslv" for solving systems of non linear
> equations (using Broyden or Newton with a selection of global strategies).
>
> library(nleqslv)
>
> xinit <- rep(1,3)               # or rep(0,3) for a singular start
> nleqslv(xinit,f2,control=list(trace=1))  # f2 defined as above
>
> (You don't need the trace=1; but especially when doing first explorations of
> a system it can come in handy).

Is your package also able to deal with large systems, Berend?

Paul




More information about the R-help mailing list