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 be a binary decision variable that is 1 if task is assigned to node and 0 otherwise.
Minimize the total cost:
Subject to the computational demand and capacity constraints:
Where is the cost of assigning task to node , and is the computational capacity of node .