Convex optimization with linear constraint?