Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update URLs for jump-dev migration #5

Merged
merged 1 commit into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "SDPT3"
uuid = "e33b2407-87ff-50a0-8b27-f0fe7855237d"
repo = "https://github.com/JuliaOpt/SDPT3.jl.git"
repo = "https://github.com/jump-dev/SDPT3.jl.git"
version = "0.0.2"

[deps]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ model = Model(with_optimizer(SDPT3.Optimizer, printlevel=0))

You can install `SDPT3.jl` through the Julia package manager:
```julia
] add https://github.com/JuliaOpt/SDPT3.jl.git
] add SDPT3
```
but you first need to make sure that you satisfy the requirements of the
[MATLAB.jl](https://github.com/JuliaInterop/MATLAB.jl) Julia package and that
Expand Down
2 changes: 1 addition & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ end

# Constraints
function is_diagonal_index(k)
# See https://www.juliaopt.org/MathOptInterface.jl/v0.9.3/apireference/#MathOptInterface.AbstractSymmetricMatrixSetTriangle
# See https://jump.dev/MathOptInterface.jl/v0.9.3/apireference/#MathOptInterface.AbstractSymmetricMatrixSetTriangle
i = div(1 + isqrt(8k - 7), 2)
j = k - div((i - 1) * i, 2)
return i == j
Expand Down