Skip to content

Commit bc7b156

Browse files
authored
[docs] clarify usage of NLPBlockData (#1824)
1 parent 4c0b43b commit bc7b156

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/src/submodules/Nonlinear/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ julia> model = MOI.Utilities.UniversalFallback(MOI.Utilities.Model{Float64}());
313313
314314
julia> MOI.set(model, MOI.NLPBlock(), block);
315315
```
316+
!!! warning
317+
Only call [`NLPBlockData`](@ref) once you have finished modifying the
318+
problem in `model`.
316319

317320
## Expression-graph representation
318321

0 commit comments

Comments
 (0)