-
Notifications
You must be signed in to change notification settings - Fork 6
Refactor SemOptimizer API #299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## devel #299 +/- ##
==========================================
- Coverage 72.94% 71.68% -1.27%
==========================================
Files 50 51 +1
Lines 2218 2225 +7
==========================================
- Hits 1618 1595 -23
- Misses 600 630 +30 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This reverts commit 9729819.
This reverts commit 81a4bd9.
This reverts commit f0df653.
It is a simple and intuitive syntax and avoids declaring new types. Also allow specifying default constraint tolerance as `constraint_tol`.
use SemOptimizer(engine = :NLopt) instead of SemOptimizerNLopt() as this is a more universal scheme
It works around docstring errors during SemOptimizer{:E} parsing.
Instead of engine-specific subtype as it might be not available in the user session.
fe23e46 to
8dacd43
Compare
|
Rebased to the current devel |
since it moved from struct to ctor
|
I opened alyst#4 to try to streamline the access of the docs a bit further - let me know what you think. |
return the type that implements SemOptimizer{engine}
|
@Maximilian-Stefan-Ernst I've merged your PR into my branch, thank you!
|
Extracted from #245 -- moving all engine-specific code (types) into extensions for modularity and leaner API, updating docstrings to make all optimizer help available for the user.
Requires #245 to be merged first.