Skip to content

Commit

Permalink
Update nested_problems.jl
Browse files Browse the repository at this point in the history
Inconsistent usage: outer/inner should match upper/lower in rest of tutorial.
  • Loading branch information
jd-foster authored Jul 14, 2023
1 parent 736e49e commit b84d7c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/tutorials/nonlinear/nested_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
# # Nested optimization problems

# In this tutorial we explain how to write a *nested* optimization problem,
# where an *outer* problem uses the results from the optimization of an *inner*
# where an *upper* problem uses the results from the optimization of an *lower*
# subproblem.
#
# To model the problem, we define a user-defined function to handle the decomposition
# of the inner problem inside the outer one. Finally, we show how to improve
# the performance by using a cache that avoids resolving the inner problem.
# of the lower problem inside the upper one. Finally, we show how to improve
# the performance by using a cache that avoids resolving the lower problem.
#
# For a simpler example of writing a user-defined function,
# see the [User-defined Hessians](@ref) tutorial.
Expand Down

0 comments on commit b84d7c1

Please sign in to comment.