In general, whether the program is convex affects the difficulty of solving it.
En xeral, se o programa é convexo afecta á dificultade de resolución.