Now a derivative free bounded univariate optimization function Optim.optimize (Brent()) is used to compute the max in the Bellman operator. This part should be the main bottleneck. It will be more efficient if we utilize information on 1st and 2nd derivatives of f and g.
Options: in ContinuousDP,
- 1st and 2nd derivatives are mandatory;
- 1st and 2nd derivatives are optional; in this case, we have to switch the optimization solver depending on whether or not
ContinuousDP has derivatives.
Now a derivative free bounded univariate optimization function
Optim.optimize(Brent()) is used to compute the max in the Bellman operator. This part should be the main bottleneck. It will be more efficient if we utilize information on 1st and 2nd derivatives offandg.Options: in
ContinuousDP,ContinuousDPhas derivatives.