Convexity with respect to Caputo factional derivative is introduced and applied in general nonlinear programming problems. The KKT conditions are developed and proved the sufficient optimality conditions. Several consequences of the new findings are discussed. Many counterexamples are presented to justify the present investigation.