Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 3, 2024
1 parent fe9438d commit efa0233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# They are independently developed and are in no way affiliated with JuMP.

# The purpose of this tutorial is to help new users to JuMP who have previously
# used YALMIP or CVX by comparing and constrasting their different features.
# used YALMIP or CVX by comparing and contrasting their different features.

# ## Namespaces

Expand Down Expand Up @@ -87,7 +87,7 @@ m = [@variable(model, [1:d, 1:d], Symmetric) for _ in 1:n]
# ## Declaring constraints

# As in the case of variables, in most cases there is a direct translation
# between the syntaxes:
# between the packages:

# | JuMP | YALMIP | CVX |
# | :------------------------------------------------------- | :------------------- | :--------------------------------------- |
Expand Down Expand Up @@ -270,7 +270,7 @@ end
function robustness_jump(d)
rho = random_state_pure(d^2)
id = LinearAlgebra.I(d^2)
rhoT = partial_transpose(rho, 1, [d ,d])
rhoT = partial_transpose(rho, 1, [d, d])
model = Model()
@variable(model, λ)
@constraint(
Expand Down
1 change: 1 addition & 0 deletions docs/styles/Vocab/JuMP-Vocab/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ TODO
transpiled
unexported
[Uu]ntyped
vectorize

% JuMP-related vocab
arithmetics
Expand Down

0 comments on commit efa0233

Please sign in to comment.