Hello all,
I would like to maximize or minimize a given math function over a
specific set of values.
I was checking out Wolfram Alpha (http://www70.wolframalpha.com/)
and it can do simple optimization problems in math, such as
maximize 15*x - x**2 over 0 to 15
,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University
Ph. (410) 502-2619
email: rvarad...@jhmi.edu
- Original Message -
From: Esmail esmail...@gmail.com
Date: Saturday, May 23, 2009 10:01 am
Subject: [R] optimizing function over x,y
To: R mailing list r-help
Ravi Varadhan wrote:
Look at nlminb() or optim(), in particular the option `method = L-BFGS-B' or the
function spg() in BB package.
With these you can optimize over any number of variables.
Ravi.
Hi Ravi,
Thanks for the leads, I'll take a look, though right now I have
run into problems
3 matches
Mail list logo