Closed odow closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.38%. Comparing base (
886a652
) to head (ebb8b4d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What about some other options:
julia> c = @constraint(model, x == 0)
[x[1,1] x[1,2] x[1,3] x[1,4]
↙ x[2,2] x[2,3] x[2,4]
↙ ↙ x[3,3] x[3,4]
↙ ↙ ↙ x[4,4]] ∈ Zeros()
julia> c = @constraint(model, x == 0)
[x[1,1] x[1,2] x[1,3] x[1,4]
∘ x[2,2] x[2,3] x[2,4]
∘ ∘ x[3,3] x[3,4]
∘ ∘ ∘ x[4,4]] ∈ Zeros()
julia> c
[x[1,1] x[1,2] x[1,3] x[1,4]
⋰ x[2,2] x[2,3] x[2,4]
⋰ ⋰ x[3,3] x[3,4]
⋰ ⋰ ⋰ x[4,4]] ∈ Zeros()
julia> c
[x[1,1] x[1,2] x[1,3] x[1,4]
⤯ x[2,2] x[2,3] x[2,4]
⤯ ⤯ x[3,3] x[3,4]
⤯ ⤯ ⤯ x[4,4]] ∈ Zeros()
julia> c
[x[1,1] x[1,2] x[1,3] x[1,4]
⦸ x[2,2] x[2,3] x[2,4]
⦸ ⦸ x[3,3] x[3,4]
⦸ ⦸ ⦸ x[4,4]] ∈ Zeros()
julia> c
[x[1,1] x[1,2] x[1,3] x[1,4]
⇗ x[2,2] x[2,3] x[2,4]
⇗ ⇗ x[3,3] x[3,4]
⇗ ⇗ ⇗ x[4,4]] ∈ Zeros()
julia> c
[x[1,1] x[1,2] x[1,3] x[1,4]
⋯ x[2,2] x[2,3] x[2,4]
⋯ ⋯ x[3,3] x[3,4]
⋯ ⋯ ⋯ x[4,4]] ∈ Zeros()
Use of \cdot
was added in https://github.com/jump-dev/JuMP.jl/pull/1857 without discussion. I think we can use ⋯
(\cdots
) for now.
It hints at "something else is here" and avoids confusion with ⋅
and 0.0
.
Merging because I think this is a win, and it is needed for https://github.com/jump-dev/JuMP.jl/pull/3766
Closes #3764
So there is an argument for this, especially if we merge https://github.com/jump-dev/JuMP.jl/pull/3766, because it will help distinguish when JuMP exploits symmetry.