Created
July 13, 2022 18:51
-
-
Save dirkschumacher/ffb3c4aaef3bd535599704d11e49cf22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if this produced a valid tree | |
quote(a <= b <= c) | |
# then we could do | |
add_constraint(lower[i] <= X[i] <= upper[i], i = 1:n) | |
# instead of | |
add_constraint(X[i] <= upper[i], i = 1:n) | |
add_constraint(lower[i] <= X[i], i = 1:n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment