[R] Relatively Simple Maximization Using Optim Doesnt Optimize

Mark Leeds m@rk|eed@2 @end|ng |rom gm@||@com
Fri Mar 13 00:58:13 CET 2020

Hi Abby: Either way, thanks for your efforts with the derivative plot.

Note that John Nash is a SERIOUS EXPERT in optimization so I would just go
by what he
said earlier. Also, I don't want to speak for Duncan but I have a feeling
that he meant "inadequacy"  in the CG
method rather than a bug in  the R code.


On Thu, Mar 12, 2020 at 5:55 PM Abby Spurdle <spurdle.a using gmail.com> wrote:

> > (1) An exact solution can be derived quickly
> Please disregard note (1) above.
> I'm not sure if it was right.
> And one more comment:
> The conjugate gradient method is an established method.
> So the question is, is the optim function applying this method or not...
> And assuming that it is, then R is definitely doing what it should be
> doing.
> If not, then I guess it would be a bug...
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]

More information about the R-help mailing list