8000 Return error codes instead of throwing exceptions? · Issue #112 · cvanaret/Uno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Return error codes instead of throwing exceptions? #112
Open
@cvanaret

Description

@cvanaret

Exceptions are thrown in several recoverable situations during the optimization process:

  • the functions of the optimization problem cannot be evaluated;
  • iterative regularization doesn't seem to succeed;
  • the line search fails;

Although I like exceptions conceptually, it's probably more efficient to return error codes like every solver does. Happy to be proven wrong.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0