Some Notes On Alternating Optimization