Skip to content

Commit

Permalink
Merge pull request #1 from ParasPuneetSingh/ParasPuneetSingh-patch-1
Browse files Browse the repository at this point in the history
Update alg_traits.jl
  • Loading branch information
ParasPuneetSingh authored Mar 5, 2024
2 parents 0998e07 + 4b63e9f commit 3bb183c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/alg_traits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ Defaults to false.
"""
requiresconstraints(opt) = false

"""
requiresderivative(opt)
Trait declaration for whether an optimizer
requires derivatives specified in
`cons` in `OptimizationProblem`.
Defaults to false.
"""
requiresderivative(opt) = false

Check warning on line 130 in src/alg_traits.jl

View check run for this annotation

Codecov / codecov/patch

src/alg_traits.jl#L130

Added line #L130 was not covered by tests

"""
allowscallback(opt)
Expand Down

0 comments on commit 3bb183c

Please sign in to comment.