Skip to content
Snippets Groups Projects
  1. May 16, 2024
    • Sébastien Villemot's avatar
      Refactor output for complementarity conditions · dc1ec15f
      Sébastien Villemot authored
      The vector of lower and upper bounds is now provided by
      {static,dynamic}_complementarity_conditions.m (which accepts parameters as an
      argument, in preparation for the possibility of having parameters in
      complementarity conditions).
      
      The index that denotes the reordering of equation residuals (so that the
      residual of an equation appears at the index of the endogenous appearing in the
      complementarity condition) is now in “M_.{static,dynamic}_mcp_equations_reordering”.
      
      Constraints declared through the ramsey_constraints block are also incorporated
      in this new interface (and therefore “M_.ramsey_model_constraints” has been
      removed).
      dc1ec15f
  2. Dec 13, 2023
  3. Dec 04, 2023
  4. Nov 30, 2023
  5. Nov 14, 2023
  6. Oct 16, 2023
  7. Oct 13, 2023
  8. Jul 19, 2023
  9. Jul 07, 2023
  10. Jun 07, 2023
  11. Apr 24, 2023
  12. Apr 05, 2023
  13. Mar 28, 2023
  14. Mar 23, 2023
  15. Mar 20, 2023
  16. Jan 17, 2023
  17. Jan 10, 2023
  18. Jan 05, 2023
  19. Jan 04, 2023
  20. Dec 20, 2022
    • Sébastien Villemot's avatar
      use_dll: fixes to parallel compilation · 21fcfa77
      Sébastien Villemot authored
      — No longer call std::exit() from threads when compilation fails, that function
        is marked as not thread-safe under GNU/Linux; and it leads to deadlocks under
        Windows. Rather store the list of failed objects, and exit with a message and
        an error code from the main thread when that list is not empty at the end of
        preprocessing.
      – Fix the condition used for waiting until all compilation threads finish;
        checking that the queue is empty is not enough, since a compilation may be
        ongoing. So also track objects whose compilation is ongoing.
      21fcfa77
  21. Nov 30, 2022
    • Sébastien Villemot's avatar
      Implement time-recursive block decomposition tuned for purely backward/forward/static models · c48248fc
      Sébastien Villemot authored
      Such a decomposition has to be simulated with periods as the outer loop and
      blocks as the inner loop.
      
      It is enabled by default for purely backward/forward/static models, as long as
      the “block” option is not given. In that case, “mfs” is also set to 3 by
      default (until that value becomes the global default).
      
      M_.time_recursive_block_decomposition is set to “true” when that decomposition
      has been performed, “false” otherwise for the traditional decomposition (the
      latter has to be simulated with blocks as the outer loop and periods as the
      inner loop).
      c48248fc
  22. Nov 29, 2022
  23. Nov 28, 2022
  24. Nov 04, 2022
  25. Nov 02, 2022
  26. Oct 26, 2022
    • Sébastien Villemot's avatar
      Block decomposition: bugfix with temporary terms when mfs=3 · 627dd92c
      Sébastien Villemot authored
      In an “evaluate” block, the LHS of a renormalized equation (such as “log(x)=…”)
      could be associated to a temporary term that would then be incorrectly
      computed: that temporary term would be evaluated *before* (and not after) the
      evaluation of the associated variable (“x” in the example).
      627dd92c
  27. Oct 18, 2022
  28. Oct 17, 2022
Loading