In various conditions it would be helpful to be able to generate boolean masks that point to specific indices of an array. For example it can be combined with if_else compute functions to merge two ...
If a constraint involves a negated boolean variable, assigning a boolean numpy array results in an error when calling Constraint.violation. Assigning a list works ...