Skip to content

More robust DOCP solving wrt numerical errors #579

@PierreMartinon

Description

@PierreMartinon

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions