Skip to content

Function harmonization #227

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions