Skip to content

Commit

Permalink
docstring update
Browse files Browse the repository at this point in the history
  • Loading branch information
sshin23 committed Nov 6, 2024
1 parent 2f6f33b commit 3ceb6e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nlp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Base.show(io::IO, v::ConstraintAug) = print(
io,
"""
Constrant Augmentation
Constraint Augmentation
s.t. (...)
g♭ ≤ (...) + ∑_{p ∈ P} h(x,p) ≤ g♯
Expand Down Expand Up @@ -532,7 +532,7 @@ julia> x = variable(c, 10);
julia> c1 = constraint(c, x[i] + x[i+1] for i=1:9; lcon = -1, ucon = (1+i for i=1:9));
julia> constraint!(c, c1, i => sin(x[i+1]) for i=4:6)
Constrant Augmentation
Constraint Augmentation
s.t. (...)
g♭ ≤ (...) + ∑_{p ∈ P} h(x,p) ≤ g♯
Expand Down

0 comments on commit 3ceb6e4

Please sign in to comment.