The article studies the problem of distributing the limited socio-economic resource using mathematical methods. The aspects of morals and justice can play a significant role in considering these problems. Such situation appears mostly when the consumers of the resource are groups of people in differentiated conditions. In this case, proportional distribution of the resource cannot be “ fair” and the problem of searching for the distribution algorithm occurs, which would satisfy all groups, – the so called indicator of “happiness”.