Skip to content
Snippets Groups Projects
Verified Commit 15d74321 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Occbin: add more sanity checks on expressions in “occbin_constraints” block

— forbid leads and lags
— forbid expectation operators

This is implemented by moving the occbin_constraints expression to a separate
DataTree. As a side-effect, this removes the spurious non-linearity warning in
a stochastic context (because we were introducing inequalities and abs()
operators in the main DynamicModel tree).
parent ed31d1cb
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment