forest.impulse: Compute intervention function for the Faustmann forest...

View source: R/mlOSP_utils.R

forest.impulseR Documentation

Compute intervention function for the Faustmann forest rotation problem

Description

Compute intervention function for the Faustmann forest rotation problem

Usage

forest.impulse(cur_x, model, fit, ext = FALSE)

Arguments

cur_x

Set of inputs where to compute the intervention function. Should be a n x 1 vector

model

a list containing all model parameters, including model$impulse.fixed.cost for the constant cost of any impulse

fit

Object containing the one-step-ahead functional approximator for V(k,x)

ext

logical flag (default is FALSE) whether to return extended information

Details

Calculates the intervention operator for a 1-D impulse control problem arising in the Faustmann forest rotation setup. In that case, the impulse target level is fixed at zero (or model$impulse.target) and the impulse value is x-fixed.cost-target Calls ospPredict on fit to find that


mludkov/mlOSP documentation built on April 29, 2023, 7:56 p.m.