Skip to content
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

Add algorithm parameters in kwargs #158

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Add algorithm parameters in kwargs #158

merged 1 commit into from
Apr 5, 2024

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Apr 4, 2024

No description provided.

@tmigot tmigot added the enhancement New feature or request label Apr 4, 2024
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.43%. Comparing base (953f330) to head (bf70a86).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
+ Coverage   94.73%   95.43%   +0.70%     
==========================================
  Files           3        3              
  Lines         285      285              
==========================================
+ Hits          270      272       +2     
+ Misses         15       13       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -88,6 +88,11 @@ For advanced usage, first define a `PercivalSolver` to preallocate the memory us
- `max_iter::Int = 2000`: maximum number of iterations;
- `verbose::Int = 0`: if > 0, display iteration details every `verbose` iteration;
- `μ::Real = T(10.0)`: Starting value of the penalty parameter;
- `η₀::T = T(0.5)`: Starting value for the contraints tolerance of the subproblem;
- `ω₀::T = T(1)`: Starting value for relative tolerance of the subproblem;
- `α₁::T = T(9 // 10)`: ``η = max(1 / al_nlp.μ^α₁, ϵp)`` if ``‖c(xᵏ)‖ ≤ η``;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add constraints

@tmigot tmigot merged commit 14064ea into main Apr 5, 2024
11 of 15 checks passed
@tmigot tmigot deleted the new-params branch April 5, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant