Hi,
I am trying to implement multi objective problem for a hypothetical problem with following details, but not sure how to code it up
Input population (~100-1000s) needs to be distributed between multiple islands (~10-20) but the population are shared among these islands.
- There are multiple factors that depends on sum of subset of population on each island that contributes to objective function.
a) input variables x[0], x[1], x[2], x[3]...x[100] need to be distributed among 10 islands
x[0][0] + x[1][0] + ... + x[100][0] is allocated to island 0
x[0][1] + x[1][1] + ... + x[100][1] is allocated to island 1
...
x[0][1] + x[1][1] + ... + x[100][1] is allocated to island 9
All these variables are integer variables (I am not sure how to code integer constraints)
b) Equality constraint : Sum of all allocated would be same as input
x[0][0] + x[0][1] + x[0][2] + ... + x[0][100] = x[0]
c) Inequality constraints: Each variable each island has constraint of their own like
x[0][0] < 1000
x[0][1] < 50000
d) Aggregate constraints on subset/fraction of population: There are aggregate constraints for each island
x[0][0] + x[0][10] + x[0][11] < sum of all quantities island 0 gets
e) some more similar constraints
There is a cost associated with each island that needs to be minimized, each objective function is quite complex, something like below:
f_island0(x) = x[0][0] * 1 + x[1][0] * 2 + ... x[2][0] * 2 + ... x[100][0] * 5 (predefined factors) + ( x[0][1] + x[0][2] ) * 3 . ... .
These look too complex, could you let me know if you think it is possible to implement this?