Text this: Optimal distribution of investments in a group of interconnected enterprises of the coal industry