The constrained-collaboration algorithm for intelligent resource distribution in supply networks. (November 2017)