RP-04-002. Reprinted from Journal of Optimization Theory and Applications, 120(1):147-179 (January 2004).