More applications of linear programming