Skip to content
Prev 374431 / 398513 Next

adding overall constraint in optim()

You can't -- at least as I  read the docs for ?optim (but I'm pretty
ignorant about this, so maybe there's a way to tweak it so you can).

See here:   https://cran.r-project.org/web/views/Optimization.html
for other R optimization capabilities.

Also,  given your credentials, the r-sig-finance list might be a
better place for you to post your query.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Thu, May 3, 2018 at 10:52 AM, Michael Ashton
<m.ashton at enduringinvestments.com> wrote: