capexp.impulse | R Documentation |
Compute intervention function for Capacity Expansion impulse problems
capexp.impulse(cur_x, model, fit, ext = FALSE)
cur_x |
Set of inputs where to compute the intervention function Should be a n x 2 matrix, with first column for prices and second column for capacities. Impulse affects second column only. |
model |
a list containing all model parameters.
In particular must have |
fit |
Object containing the one-step-ahead functional approximator for V(k,x) |
ext |
logical flag (default is FALSE) whether to return extended information |
Calculates the intervention operator for a 2-D capacity
expansion problem. This is done by running optimize
on the
cost-to-go based on fit
. Calls ospPredict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.