Open ArnoStrouwen opened 1 year ago
Currently, constraints are only checked at the point of intervention. But it is possible a constraint is violated before the intervention happens, and then dips below it again. I think the current approach will miss that?
https://github.com/SciML/EasyModelAnalysis.jl/blob/796776b88efb50a2230c84c02d99e4dbd2e15a13/src/intervention.jl#L38-L40
Currently, constraints are only checked at the point of intervention. But it is possible a constraint is violated before the intervention happens, and then dips below it again. I think the current approach will miss that?
https://github.com/SciML/EasyModelAnalysis.jl/blob/796776b88efb50a2230c84c02d99e4dbd2e15a13/src/intervention.jl#L38-L40