ABSTRACT Imaging interferometric data in radio astronomy requires the use of non-linear algorithms that rely on different assumptions on the source structure and may produce non-unique results. This is especially true for very long baseline interferometry (VLBI) observations, where the sampling of Fourier space is very sparse. A basic tenet in standard VLBI imaging techniques is to assume that the observed source structure does not evolve during the observation. However, the recent VLBI results of the supermassive black hole at our Galactic Centre (Sagittarius A*), recently reported by the Event Horizon Telescope Collaboration, require the development of dynamic imaging algorithms, since it exhibits variability at minute time-scales. In this paper, we introduce a new non-convex optimization problem that extends the standard maximum entropy method (MEM), for reconstructing intra-observation dynamical images from interferometric data that evolve in every integration time. We present a rigorous mathematical formalism to solve the problem via the primal–dual approach. We build a Newton strategy and we give its numerical complexity. We also give a strategy to iteratively improve the obtained solution and, finally, we define a novel figure of merit to evaluate the quality of the recovered solution. Then, we test the algorithm, called the new-generation MEM (ngMEM), in different synthetic data sets, with increasing difficulty. Finally, we compare it with another well-established dynamical imaging method. Within this comparison, we have identified a significant improvement of the ngMEM reconstructions. Moreover, the evaluation of the integration time evolution scheme and the time contribution showed that this method can play a crucial role in obtaining good dynamic reconstructions.