The general Degasperis-Procesi equation (gDP) describes the evolution of the water surface in a unidirectional shallow water approximation. We propose a finite-difference scheme for this equation that preserves some conservation and balance laws. In addition, the stability of the scheme and the convergence of numerical solutions to exact solutions for solitons are proved. Numerical experiments confirm the theoretical conclusions. For essentially nonintegrable versions of the gDP equation, it is shown that solitons and antisolitons collide almost elastically: they retain their shape after interaction, but a small "tail", the so-called "radiation", appears. KEYWORDS antisoliton, finite difference scheme, general Degasperis-Procesi equation, interaction, soliton 1 Numer Methods Partial Differential Eq. 2020;36:887-905. wileyonlinelibrary.com/journal/num