empty cost vector before convex optimization. #2