  In order to generalize a program by Agostini and others producing new KP
solutions, we construct families of quasi-periodic KP solutions which are
derived from degenerating Riemann surfaces associated with tropical curves
having nontrivial weights. By taking the regularized tropical limits of these
solutions, we obtain formulas of general KP solutions which are expressed by
mixtures of solitons and Riemann theta functions.
