control-toolbox / control-toolbox/CTDirect.jl

More robust DOCP solving wrt numerical errors

Open
#579 0 comments 0 reactions 1 assignee Claimed by @PierreMartinon View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.