dcegm.interfaces.inspect_solution

Functions

partially_solve(income_shock_draws_unscaled, ...[, ...])

Partially solve the model for the last n_periods.

Module Contents

dcegm.interfaces.inspect_solution.partially_solve(income_shock_draws_unscaled, income_shock_weights, model_config, batch_info, model_funcs, model_structure, params, n_periods, return_candidates=False)

Partially solve the model for the last n_periods.

This method allows for large models to only solve part of the model, to debug the solution process.

Parameters:
  • params – Model parameters.

  • n_periods – Number of periods to solve.

  • return_candidates – If True, additionally return candidate solutions before applying the upper envelope.