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

chore(opytimizer): Adds Walrus Optimization Algorithm #36

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

douglasrodrigues
Copy link
Collaborator

Adding Walrus Optimization Algorithm based on paper: "A new bio-inspired metaheuristic algorithm for solving optimization problems based on walruses behavior".

new file: examples/optimizers/swarm/create_waoa.py
modified: opytimizer/optimizers/swarm/init.py
new file: opytimizer/optimizers/swarm/waoa.py
new file: tests/opytimizer/optimizers/swarm/test_waoa.py

Copy link

@giovcandido giovcandido left a comment

Choose a reason for hiding this comment

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

Olá, pessoal!
Tudo bem com vocês?

Notei que faltou o parâmetro function na função update e fiz um comentário no código para sinalizar.


import opytimizer.math.random as r
import opytimizer.utils.logging as l
from opytimizer.core.optimizer import Optimizer

Choose a reason for hiding this comment

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

Faltou o import da classe Function: "from opytimizer.core.function import Function".


logger.info('Class overrided.')

def update(self, space: Space) -> None:

Choose a reason for hiding this comment

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

Faltou o parâmetro function na assinatura da função update: "function: Function".

@gugarosa gugarosa merged commit 1926474 into master Sep 22, 2023
@gugarosa gugarosa deleted the feat/walrus_optimization_algorithm branch September 22, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants