Series parallel composition of greedy linear programming problems