We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e037dfe + 42e5ea1 commit b26d580Copy full SHA for b26d580
docs/src/basics/Variable_metadata.md
@@ -133,6 +133,16 @@ hasdist(m)
133
getdist(m)
134
```
135
136
+## Irreducible
137
+
138
+A variable can be marked `irreducible` to prevent it from being moved to an
139
+`observed` state. This forces the variable to be computed during solving so that
140
+it can be accessed in [callbacks](@ref events)
141
142
+```julia
143
+@variable important_value [irreducible = true]
144
+```
145
146
## Additional functions
147
148
For systems that contain parameters with metadata like described above, have some additional functions defined for convenience.
0 commit comments