Skip to content

Commit

Permalink
Update src/PureJuMP/hs201.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored Sep 7, 2024
1 parent 0a8f08c commit 0f2597c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PureJuMP/hs201.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function hs201(args...; n::Int = default_nvar, kwargs...)
set_start_value(x2, 9)

#Définition de la fonction objectif
@NLobjective(model, Min, 4*(x1-5)^2+(x2-6)^2)
@objective(model, Min, 4*(x1-5)^2+(x2-6)^2)

return model
end

0 comments on commit 0f2597c

Please sign in to comment.