pyDcop
pyDcop copied to clipboard
meeting schedule issue
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
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
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