Convex Optimization Algorithm And Pseudocode In Programming