1. A method for modeling a task-site allocation, wherein the method comprises: generating a task-site allocation network based on at least one site-task pair and at least one site-centric constraint of at least two sites, wherein generating a task-site allocation network comprises; generating a task-specific constraints model based on task context information; and generating a task-site pair that satisfies at least one constraint based on the task-specific constraints model; and determining a preferred allocation of task to site by comparing estimated task-site allocation cost between a single site allocation and a distributed site allocation among the at least two sites; wherein at least one of the steps is carried out by a computer device.