Hedge Algorithm and Subgradient Methods