You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an iterative workflow we allow changing the constraints used by calling set_constraints, in #1358.
However this will recompile all the constraints (and grad) functions. Would probably be nice to cache them somehow so that if it's the same constraint (based on key?), maybe the id of the constraint function? we don't recompile.
Just keep in mind that caching is the source of all bugs.
For an iterative workflow we allow changing the constraints used by calling
set_constraints
, in #1358.However this will recompile all the constraints (and grad) functions. Would probably be nice to cache them somehow so that if it's the same constraint (based on key?), maybe the id of the constraint function? we don't recompile.
Just keep in mind that caching is the source of all bugs.
CC @cetagostini
The text was updated successfully, but these errors were encountered: