-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Add 19 new optimization algorithms across categories #37
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
9f63b47
feat: add HHO algorithm and multi-objective base class
Anselmoo b942477
feat: add MFO and ALO swarm algorithms
Anselmoo e1d1c51
feat: add SSA and DA swarm algorithms
Anselmoo 76d3eb4
feat: add NSGA-II multi-objective optimizer
Anselmoo d113ca3
feat: add Grasshopper Optimization Algorithm
Anselmoo c1262c1
feat: add GSA and EO physics-inspired algorithms
Anselmoo bf2724e
feat: add Marine Predators Algorithm
Anselmoo 2480dc5
chore: update main __init__.py with new algorithms
Anselmoo fbf247b
feat: add GTO, AO, AVOA, TLBO, ASO, MOEA/D algorithms
Anselmoo 360c8d7
feat: add FPA, SHO, MRFO, AOA, SPEA2 algorithms
Anselmoo 4255cc2
feat: add PFA, EPO, RSA, TSA, SOA algorithms
Anselmoo 038fff9
feat: add Golden Eagle, Chimp, and Slime Mould algorithms
Anselmoo d1e4550
feat: add African Buffalo, Barnacles Mating, Mayfly, Black Widow, and…
Anselmoo 989b5f2
feat: add Moth Search, Wild Horse, Hummingbird, Dingo, Sand Cat, Orca…
Anselmoo bd4cb81
test: add comprehensive tests for 44 new optimization algorithms
Anselmoo 98a1824
feat: add 19 new optimization algorithms across categories
Anselmoo 03e31e8
test: add 19 new algorithms to test suite and fix np.math.gamma depre…
Anselmoo 2ec71e1
fix: resolve test failures and lint issues for PR #37
Anselmoo ed8d8c4
ci: install all optional dependencies in tests workflow
Anselmoo 5f6c31b
test: mark flaky optimizer tests as xfail
Anselmoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "recommendations": [ | ||
| "eamodio.gitlens" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,26 @@ | ||
| """Constrained optimization algorithms. | ||
| This module contains optimizers specifically designed for handling optimization problems | ||
| with equality and/or inequality constraints. Includes: Augmented Lagrangian Method | ||
| and Successive Linear Programming. | ||
| with equality and/or inequality constraints. Includes: Augmented Lagrangian Method, | ||
| Successive Linear Programming, Penalty Method, Barrier Method (Interior Point), | ||
| and Sequential Quadratic Programming. | ||
| """ | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| from opt.constrained.augmented_lagrangian_method import AugmentedLagrangian | ||
| from opt.constrained.barrier_method import BarrierMethodOptimizer | ||
| from opt.constrained.penalty_method import PenaltyMethodOptimizer | ||
| from opt.constrained.sequential_quadratic_programming import ( | ||
| SequentialQuadraticProgramming, | ||
| ) | ||
| from opt.constrained.successive_linear_programming import SuccessiveLinearProgramming | ||
|
|
||
|
|
||
| __all__: list[str] = ["AugmentedLagrangian", "SuccessiveLinearProgramming"] | ||
| __all__: list[str] = [ | ||
| "AugmentedLagrangian", | ||
| "BarrierMethodOptimizer", | ||
| "PenaltyMethodOptimizer", | ||
| "SequentialQuadraticProgramming", | ||
| "SuccessiveLinearProgramming", | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file appears to be unrelated to the PR's stated purpose of adding optimization algorithms. Consider removing IDE-specific configuration files from the repository or adding them to .gitignore instead.