Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function harmonization #227

Open
albop opened this issue Jun 18, 2021 · 0 comments
Open

Function harmonization #227

albop opened this issue Jun 18, 2021 · 0 comments

Comments

@albop
Copy link
Member

albop commented Jun 18, 2021

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant