Convert the approximate allocation (proportion) to exact allocation (integer) with bounded constraint (ni <= Ni)
Useful links