gEconpy.model.compile.compile_for_scipy#

gEconpy.model.compile.compile_for_scipy(outputs, mode=None)#

Compile a pytensor graph into a callable that accepts all inputs as keyword arguments.

Unused kwargs are silently ignored. Intended for one-off evaluations (e.g. postprocessing at the solution point). For hot-loop scipy calls, use pack_and_compile instead.