Skip to content

Conversation

@arcondello
Copy link
Member

@arcondello arcondello commented Nov 3, 2022

See also #1030

@arcondello arcondello added the question Question or general discussion label Nov 3, 2022
@alexzucca90
Copy link

we need to add something like this:

            elif sense is Sense.Ne:
                # hard-coding violation of not equal constraints to 1
                violation = 0 if activity != 0 else 1

In the function iter_constraint_data in constrained.py

@alexzucca90
Copy link

I would also raise a ValueError when trying to add a constraint with real values, unless we think they make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Question or general discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants