Decomposition of Two-Block Optimization Problems