You can set the parameters of the deviant bot by defining the variables bot1, bot2, etc ... and set it to

[7,6,5,4,3,2,1,0]
etc and it will swap that many cities from optimal at each round. If there are more rounds, then it will continue to use the last one. Deactivate them by setting them blank.