SciML / SciMLBase.jl

The Base interface of the SciML ecosystem
https://docs.sciml.ai/SciMLBase/stable
MIT License
118 stars 91 forks source link

Added trait constraints to solve.jl for calculation of gradients, hessians and more. #651

Closed ParasPuneetSingh closed 3 months ago

ParasPuneetSingh commented 3 months ago

Added checks for requiresgradient, requireshessian, requiresconsjac, and requiresconshess in __check_opt_alg function.

Checklist

Additional context

Add any other context about the problem here.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 4.94%. Comparing base (9fbff32) to head (79817b3). Report is 42 commits behind head on master.

:exclamation: Current head 79817b3 differs from pull request most recent head 8bd04a1. Consider uploading reports for the commit 8bd04a1 to get more accurate results

Files Patch % Lines
src/solve.jl 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #651 +/- ## ========================================== - Coverage 38.49% 4.94% -33.56% ========================================== Files 55 55 Lines 4291 4250 -41 ========================================== - Hits 1652 210 -1442 - Misses 2639 4040 +1401 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.