Skip to content

optimization

3 messages · John C Nash, Dennis Murphy, Rolf Turner

#
There are lots of errors in your code. In particular, the optimization
routines do not like functions that ignore the parameters.

And you have not provided out or out1 to the optimizer -- they are
returned as elements of func(), but not correctly.

Please try some of the examples for optim or optimx to learn how to
structure your problem.

JN
On 13-11-16 06:00 AM, r-help-request at r-project.org wrote:
#
I would like to nominate this delicious riposte as a fortune
candidate. Anyone to second the motion?

Dennis
On Sat, Nov 16, 2013 at 1:26 PM, Prof J C Nash (U30A) <nashjc at uottawa.ca> wrote:
#
On 11/17/13 11:49, Dennis Murphy wrote:
Indeed.  I so second!

     cheers,

     Rolf Turner