The sparse principal component analysis is a variant of the classical analysis, which finds linear combinations small number features that maximize variance across data. In this paper we propose methodology for adding two general types feature grouping constraints into original PCA optimization procedure.We derive convex relaxations considered constraints, ensuring convexity resulting problem. ...