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

Refactor of scheduling for compatibility with multi-objective optimization #81

Merged
merged 33 commits into from
Feb 14, 2024

Conversation

Timotshak
Copy link
Collaborator

@Timotshak Timotshak commented Feb 12, 2024

  • Change the contract of schedulers schedule method. It now returns a list of schedules rather than just one schedule
  • Pipelines now also return a list of schedules
  • In the Genetic Algorithm, multicriteria is now a scheduler parameter, and the standard schedule method is used to obtain schedules. This ensures compatibility of multi-objective scheduling with pipelines

Timotshak and others added 25 commits January 23, 2024 20:22
 - Add fitness_weights and use_pareto_domination parameters
   in genetic algorithm
 - Add Individual and IndividualFitness classes
 - Add NSGA-II selection in genetic algorithm
…gorithm

# Conflicts:
#	sampo/scheduler/genetic/base.py
#	sampo/scheduler/genetic/operators.py
#	sampo/scheduler/genetic/schedule_builder.py
#	tests/scheduler/genetic/full_scheduling.py
#	tests/scheduler/genetic/multiobjective_scheduling.py
and pipeline to new format of
scheduling
genetic schedulers to new format of
scheduling
@Timotshak Timotshak added the refactor The rewriting of existing code to improve code quality label Feb 12, 2024
@Timotshak Timotshak closed this Feb 12, 2024
@Timotshak Timotshak reopened this Feb 12, 2024
@Timotshak Timotshak closed this Feb 12, 2024
@Timotshak Timotshak reopened this Feb 12, 2024
Copy link
Collaborator

@StannisMod StannisMod left a comment

Choose a reason for hiding this comment

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

Good, pls update examples and experiments

Copy link
Collaborator

@StannisMod StannisMod left a comment

Choose a reason for hiding this comment

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

Approved

@Timotshak Timotshak merged commit 0f3c198 into main Feb 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor The rewriting of existing code to improve code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants