We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49dbccb commit 507b369Copy full SHA for 507b369
examples/nearestpsd/JuMP.jl
@@ -65,7 +65,7 @@ example_tests(::Type{NearestPSDJuMP{Float64}}, ::SlowInstances) = [
65
66
function build(inst::NearestPSDJuMP{T}) where {T <: Float64} # TODO generic reals
67
side = inst.side
68
- sparsity = min(5 / side, 1.0) # sparsity factor (before computing optional chordal extension) TODO make option
+ sparsity = min(3.0 / side, 1.0) # sparsity factor (before computing optional chordal extension) TODO make option
69
70
# generate random symmetric A (indefinite) with sparsity pattern E (nonchordal, with diagonal)
71
A = tril!(sprandn(side, side, sparsity)) + Diagonal(randn(side))
0 commit comments