Constrained Solution of a System of Matrix Equations.