The objective is to minimize the total processing time or cost while ensuring that the computational demand of tasks is met by the allocated nodes. Let xij be a binary decision variable that is 1 if task tj is assigned to node ni and 0 otherwise.
Minimize the total cost:
Minimizei=1∑mj=1∑kxij⋅Cij
Subject to the computational demand and capacity constraints:
i=1∑mxij⋅Dj≤Capacityi,∀i
j=1∑kxij=1,∀j
Where Cij is the cost of assigning task tj to node ni, and Capacityi is the computational capacity of node ni.