Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Jun 5, 2024
1 parent f3b9858 commit 7a9a6be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/manual/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,19 +188,19 @@ Instead, use the [Set inequality syntax](@ref) to specify a set like
```jldoctest symmetric_matrix
julia> @constraint(model, x >= y, PSDCone())
[x[1,1] - y[1,1] x[1,2] - y[1,2]
x[1,2] - y[1,2] x[2,2] - y[2,2]] ∈ PSDCone()
x[2,2] - y[2,2]] ∈ PSDCone()
julia> @constraint(model, x >= y, Nonnegatives())
[x[1,1] - y[1,1] x[1,2] - y[1,2]
x[1,2] - y[1,2] x[2,2] - y[2,2]] ∈ Nonnegatives()
x[2,2] - y[2,2]] ∈ Nonnegatives()
julia> @constraint(model, x >= y, Nonpositives())
[x[1,1] - y[1,1] x[1,2] - y[1,2]
x[1,2] - y[1,2] x[2,2] - y[2,2]] ∈ Nonpositives()
x[2,2] - y[2,2]] ∈ Nonpositives()
julia> @constraint(model, x >= y, Zeros())
[x[1,1] - y[1,1] x[1,2] - y[1,2]
x[1,2] - y[1,2] x[2,2] - y[2,2]] ∈ Zeros()
x[2,2] - y[2,2]] ∈ Zeros()
```

### Special cases
Expand Down

0 comments on commit 7a9a6be

Please sign in to comment.