Skip to content

Commit

Permalink
make objective more reasonable in size in polynorm
Browse files Browse the repository at this point in the history
  • Loading branch information
lkapelevich committed Oct 22, 2021
1 parent d422820 commit a2e5e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/polynorm/JuMP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function build(inst::PolyNormJuMP{T}) where {T <: Float64}

model = JuMP.Model()
JuMP.@variable(model, f[1:U])
JuMP.@objective(model, Min, dot(w, f))
JuMP.@objective(model, Min, dot(w, f) / U)

if inst.use_norm_cone
cone = (inst.use_l1 ? Hypatia.WSOSInterpEpiNormOneCone :
Expand Down

0 comments on commit a2e5e69

Please sign in to comment.