Skip to content

Commit bf62936

Browse files
Clarify trait declarations for bounds in solvers
Updated trait declarations to clarify that they apply to solvers instead of optimizers.
1 parent 21e8f94 commit bf62936

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/alg_traits.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ has_lazy_interpolation(alg::AbstractDEAlgorithm) = false
8585
"""
8686
allowsbounds(opt)
8787
88-
Trait declaration for whether an optimizer allows for
89-
box constraints passed with `lb` and `ub` in
90-
`OptimizationProblem`.
88+
Trait declaration for whether an solver allows for
89+
box constraints passed with `lb` and `ub` in problems.
9190
9291
Defaults to false.
9392
"""
@@ -96,9 +95,9 @@ allowsbounds(opt) = false
9695
"""
9796
requiresbounds(opt)
9897
99-
Trait declaration for whether an optimizer requires
98+
Trait declaration for whether an solver requires
10099
box constraints passed with `lb` and `ub` in
101-
`OptimizationProblem`.
100+
problems.
102101
103102
Defaults to false.
104103
"""

0 commit comments

Comments
 (0)