dear R wizards: `optimize()` requires the user to provide the brackets. I can write a bracketing routine, given a function and a starting point, but I was wondering whether there was already a "standard" user-exposed implementation. (Presumably, this is used in nlm, too; alas, nlm is in C, not native R.) regards, /iaw
On Thu, 31 May 2018, ivo welch writes:> dear R wizards: `optimize()` requires the user to provide the > brackets. I can write a bracketing routine, given a function and a > starting point, but I was wondering whether there was already a > "standard" user-exposed implementation. (Presumably, this is used in > nlm, too; alas, nlm is in C, not native R.) regards, /iaw >There is a 'bracketing' function in package NMOF, though it is for root-finding (i.e. for optimising you would need the derivative). -- Enrico Schumann (the maintainer of NMOF) Lucerne, Switzerland http://enricoschumann.net
Apparently Analagous Threads
- Control number of assets in resulting portfolio with optimizations using package fPortfolio
- Basic astronomy package recommendation wanted.
- Packages for Learning Algorithm Independent Branch and Bound for Feature Selection
- Packages for Learning Algorithm Independent Branch and Bound for Feature Selection
- Open a file which name contains a tilde