A numerical algorithm for optimizing the technological processes of diesel generator sets operating on various grades of fuel, implemented by means of CVX-technologies, is considered. Traditional algorithms have generally proven to be positive, but can be problematic for optimization due to the large number of variables and the nonlinearity of the model. In addition, due to the huge computational load, they can “stall” or become damaged when used to search for non-standard designs, such as asymmetric D-optimal and large-dimensional spatial structures. It is noted that an alternative to them is calculations in the CVX format, which are widespread and available for solving convex optimization problems. However, their application for the control of technological processes of energy saving in autonomous electric power complexes in transport is still limited. Based on the tools of the CVX package in MATLAB, using their usefulness and flexibility in comparison with traditional optimization methods, this paper proposes technical solutions aimed at developing energy-saving technologies for energy complexes of autonomous systems in the context of digital transformation. The application of energy saving management methods is presented in this study on the example of fuel consumption management by a group of diesel generators with different consumption characteristics of primary engines, for which optimal modes have been obtained at various options of active power consumption by the network. An example of calculating optimal modes in parallel operation of five DGA with CVX program codes is given, confirming the correctness of the proposed solutions. It is shown that the use of CVX programs in MATLAB demonstrates their usefulness and flexibility in comparison with traditional algorithms in the statistics of searching for various types of optimal approximate constructions by convex criterion for nonlinear models.