-
Notifications
You must be signed in to change notification settings - Fork 19
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 Constraint Optimization Workload Allocation Stage #47
Conversation
asyms
commented
Sep 23, 2024
- Add constraint optimization (CO) stage for the workload allocation
- Add api call for CO
- Update api call for genetic algorithm (GA)
- Clean up main files keeping only two (one using GA and one using CO)
- Introduce CostModelEvaluationLUT which replaces the structure of nested dictionaries to cache the hardware performance of different CNs on different cores
- Various refactors of duplicate code
…ge and ConstraintOptimizationAllocationStage
The restructuring work and file renaming is very nice! This makes it a lot more organized :) |
I'm getting this error when running
Isn't this supposed to be detected by |
from networkx import DiGraph | ||
|
||
from stream.workload.computation.computation_node import ComputationNode | ||
from stream.workload.utils import prune_workload |
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 does not seem to exist anymore?
|
||
|
||
def convert_id(i: int, j: int) -> int: | ||
k = 1000 * i + j |
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.
Is this a magic number? :p