control-toolbox / control-toolbox/CTDirect.jl
More robust DOCP solving wrt numerical errors
Open
- Dominant language
- Julia
- Stars
- 12
- Forks
- 5
- Avg merge
- 2h 44m
- Merged PRs (30d)
- 1
Description
Issue: we sometimes get numerical errors (usually for trigonometric functions) on some problems, which are currently not caught and abort the execution
Improvement: use a `try-catch` on the NLP solver call, and in case of errors pursue the execution by returning a dummy solution with `successful=false` and maybe some information in the text message.
This will allow better testing of the difficult problems.
Contributor guide
Assessment
This issue has not been assessed yet.