Optimal Plastic Design With Discontinuous Cost Functions