Swing can be modeled by shifting just the even sub-beats. The following shows a single 4/4 measure without and with swing.
Notice this can be modeled just as
τmgbs = 1/2 τmgb
for no swing and something like:
τmgb1 = 2/3 τmgb
τmgb2 = 1/3 τmgb
for swing. Of course, swinging doesn't have to be 2/3, but we can easily model other fractions in similar manner.