A note on optimization of a class of nonlinear systems