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

Possible bug in scheduling/generic #105

Closed
CharJon opened this issue Feb 20, 2021 · 1 comment · Fixed by #106
Closed

Possible bug in scheduling/generic #105

CharJon opened this issue Feb 20, 2021 · 1 comment · Fixed by #106
Assignees
Labels
bug Something isn't working

Comments

@CharJon
Copy link
Owner

CharJon commented Feb 20, 2021

I think of scheduling/generic.py contains a bug.

    assignment_costs = {}
    for i in range(number_of_facilities):
        value = seed.randint(1, 10)
        for j in range(number_of_tasks):
            assignment_costs[j, i] = value

    release_times = [0] * number_of_tasks

The resource requirement should be fixed for every task, not every facility. Am I seeing this correctly?

@mmghannam
Copy link
Collaborator

You are right! great that you caught this. I added a pull-request to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants