Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

meeting schedule issue #36

Open
Dhanujagithub opened this issue Nov 9, 2021 · 2 comments
Open

meeting schedule issue #36

Dhanujagithub opened this issue Nov 9, 2021 · 2 comments

Comments

@Dhanujagithub
Copy link

when I try to resolve meeting schedule problem with PEAV and pop logo. it always ask to Len(agents) and Len(varibales) to be equal. in my case if one agent controls more variables. how to provide that.

agents:
A: {}
B: {}
C: {}
D: {}
E: {}
F: {}
G: {}

hosting_costs:
A:
computations:
x_1A: 0
x_4A: 0
x_6A: 0
x_7A: 0
default: 0
B:
computations:
x_1B: 0
x_4B: 0
x_6B: 0
x_7B: 0
default: 0
C:
computations:
x_1C: 0
x_4C: 0
x_5C: 0
default: 0
D:
computations:
x_1D: 0
x_4D: 0
x_5D: 0
default: 0
E:
computations:
x_2E: 0
x_4E: 0
x_5E: 0
default: 0
F:
computations:
x_2F: 0
x_3F: 0
x_4F: 0
x_7F: 0
default: 0
G:
computations:
x_3G: 0
x_4G: 0
default: 0

@Dhanujagithub
Copy link
Author

when I try to resolve meeting schedule problem with PEAV and dpop. it always ask to Len(agents) and Len(varibales) to be equal. in my case if one agent controls more variables. how to provide that.

agents:
A: {}
B: {}
C: {}
D: {}
E: {}
F: {}
G: {}

hosting_costs:
A:
computations:
x_1A: 0
x_4A: 0
x_6A: 0
x_7A: 0
default: 0
B:
computations:
x_1B: 0
x_4B: 0
x_6B: 0
x_7B: 0
default: 0
C:
computations:
x_1C: 0
x_4C: 0
x_5C: 0
default: 0
D:
computations:
x_1D: 0
x_4D: 0
x_5D: 0
default: 0
E:
computations:
x_2E: 0
x_4E: 0
x_5E: 0
default: 0
F:
computations:
x_2F: 0
x_3F: 0
x_4F: 0
x_7F: 0
default: 0
G:
computations:
x_3G: 0
x_4G: 0
default: 0

@Dhanujagithub
Copy link
Author

this is the error I am getting
ydcop.distribution.objects.ImpossibleDistributionException: Not enough agents for one agent for each computation : 7 < 23

I have 7 agents and in total they control 23 variables

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant