Skip to content

Commit e9bfb76

Browse files
committed
Update
1 parent bf18652 commit e9bfb76

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/Utilities/cachingoptimizer.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
MOI.@_documented_enum(
1616
"""
17+
CachingOptimizerState
18+
1719
A [`Utilities.CachingOptimizer`](@ref) may be in one of three possible
1820
states.
1921
""",
@@ -33,6 +35,8 @@ MOI.@_documented_enum(
3335
)
3436
MOI.@_documented_enum(
3537
"""
38+
CachingOptimizerMode
39+
3640
A [`Utilities.CachingOptimizer`](@ref) has two modes of operation.
3741
""",
3842
CachingOptimizerMode,
@@ -47,7 +51,7 @@ MOI.@_documented_enum(
4751
MANUAL,
4852
"""
4953
The [`Utilities.CachingOptimizer`](@ref) changes its state when necessary.
50-
For example, [`optimize!`](@ref) will automatically call
54+
For example, [`MOI.optimize!`](@ref) will automatically call
5155
[`Utilities.attach_optimizer`](@ref) (an optimizer must have been previously
5256
set). Attempting to add a constraint or perform a modification not supported
5357
by the optimizer results in a drop to the [`EMPTY_OPTIMIZER`](@ref) state.
@@ -101,8 +105,8 @@ if the type of `new_optimizer` is different from the type of `optimizer`.
101105
```
102106
103107
Creates a `CachingOptimizer` in the [`NO_OPTIMIZER`](@ref)
104-
[`Utilties.CachingOptimizerState`](@ref) and the
105-
[`Utilties.CachingOptimizerMode`](@ref) `mode`.
108+
[`Utilities.CachingOptimizerState`](@ref) and the
109+
[`Utilities.CachingOptimizerMode`](@ref) `mode`.
106110
107111
The type of the optimizer returned is
108112
`CachingOptimizer{MOI.AbstractOptimizer,typeof(cache)}` so it _does_ support the

src/sets.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ Base.:(==)(a::SOS2{T}, b::SOS2{T}) where {T} = a.weights == b.weights
18831883

18841884
@_documented_enum(
18851885
"""
1886-
ActivationCondition
1886+
ActivationCondition
18871887
18881888
Activation condition for an indicator constraint.
18891889

0 commit comments

Comments
 (0)