Skip to content

Function harmonization #227

@albop

Description

@albop

WIP

All main solution algorithm should take the same kind of arguments

  1. time_iteration
  2. impoved_time_iteration
  3. value_iteration
  4. steady_state
  5. deterministic_solve
  6. perturbation.perturb
  7. perturbation_higher_order.perturb

In particular, they should have the same name when they have exactly the same interpretation.

  • model: Model
  • dr0: DecisionRule # initial decision rule
  • ignore_complementarities=False: Bool # ignore complementerities in euler equations
  • verbose:
    • false: print nothing
    • true: print only the outer loop
    • 'full': print info on outer and inner loops
  • details=True Bool # whether to return details about optimization or the decision rule
  • trace:
    • false: don't save iteration results
    • true: save only iteration statistics
    • 'full': save iteration statistics and itermediate decision rules
  • dprocess:
    • none: use default options to discretize
    • discretized process
  • hook: Fun # external function called at the beginning of each iteration.
  • interp_method="cubic"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions