Commit Graph

3 Commits (6dbc7c2a1731f826f2e61bf54b5e75ad47a4340d)

Author SHA1 Message Date
Sébastien Villemot 6dbc7c2a17
Windows package: improve hack for statically linking libgomp into MEX files
Link only the needed parts, instead of embedding the whole library.
2023-03-15 17:35:25 +01:00
Sébastien Villemot 8b0d5f4b86
Windows: ensure that libgomp is statically linked 2019-09-10 15:17:15 +02:00
Sébastien Villemot 5b591fac42
New perfect_foresight_problem MEX file
It constructs the stacked residuals and jacobian of the perfect foresight
problem.

It is an almost perfect replacement for the perfect_foresight_problem.m
routine, while being much more efficient.

Note however that the DLL never return complex numbers (it instead puts NaNs at
the place where there would have been complex). This may create problems for
some MOD files; the algorithms will need to be adapted to use a more
line-search method.
2019-06-24 17:53:59 +02:00