Solutions of a variable-coefficient Kadomtsev-Petviashvili equation via computer algebra

We apply the truncated Painleve expansion and computer algebra to a type of the variable-coefficient Kadomtsev-Petviashvilli equations and find a class of the analytical solutions, along with the corresponding constraints on the variable coefficients. Shown in this class are the physically meaningful solutions which possess the usual soliton profile.