View source: R/141_problems_problem.R
| derivative | R Documentation |
Forward-mode counterpart of backward(): reads delta(param) for
each parameter, applies the cone-program derivative, and writes
the predicted change in each variable's optimum to delta(var).
Mirrors cvxpy.Problem.derivative().
derivative(problem)
problem |
A solved |
Must be called after psolve() with requires_grad = TRUE.
The problem (for piping); side-effect sets
delta(variable) on each variable.
backward(), psolve(), delta()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.