Many economic problems can be solved through linear or linear-dynamic programming. The paper presents an algorithm for decomposing a constraint matrix with angular shape, a special form of system proposed in linear programming, in order to allow the application of such algorithms to economic problems by cutting the constraint matrix into the desired shape.