Problem Specification:
N: # of nodes in a cluster
S: # of service classes
T: a vector of N elements, T_i: resource (# of tickets) on node I
T_total: total resource in cluster (not in "cluster" paper)
r and u: NxS matrices, r_ij and u_ij: the percentage resource allocation
and resource usage, respectively, at node i for service class j.
D: a vector of S elements, D_j: the desired percentage resource allocation
for service class j over the cluster.
Input:  r and u and the vector T and D
Output: a NxS matrix R, R_ij: the new percentage resource
allocation for service class j on node i.