Skip to content

Commit 478288b

Browse files
authored
Two minor corrections in the docs. (#254)
1 parent a4e1a6a commit 478288b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/Polynomial Optimization/polynomial_optimization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ optimize!(model)
4040
@test objective_value(model) 0.25 rtol=1e-5 #src
4141
@show objective_value(model)
4242

43-
# Note that the problem can be written equivalently as follows using [registered functions](https://jump.dev/JuMP.jl/v0.21/nlp/#User-defined-Functions-1).
43+
# Note that the problem can be written equivalently as follows using [registered functions](https://jump.dev/JuMP.jl/stable/manual/nlp/#Register-a-function).
4444

4545
using Ipopt
4646
model = Model(optimizer_with_attributes(Ipopt.Optimizer, "print_level" => 0))
@@ -69,7 +69,7 @@ import CSDP
6969
solver = optimizer_with_attributes(CSDP.Optimizer, MOI.Silent() => true)
7070

7171
# A Sum-of-Squares certificate that $p \ge \alpha$ over the domain `S`, ensures that $\alpha$ is a lower bound to the polynomial optimization problem.
72-
# The following program searches for the largest upper bound and finds zero.
72+
# The following program searches for the largest lower bound and finds zero.
7373

7474
model = SOSModel(solver)
7575
@variable(model, α)

0 commit comments

Comments
 (0)