If it was the swashplate itself problem would be exist if both forward and reverse. More likely it is in the swashplate control on one of the pumps (one pump each for front & rear axle motor). If it drives fine with warm oil acts up only with cold then look for either some obstruction in the charge/pilot pressure circuit for the problem pump or sticking solenoid.
There are 2 electric solenoids on each pump, 1 for forward other for reverse. When the foot pedal is depressed to move the machine the controller sends equal voltage to the solenoid on each pump. The solenoids open to allow charge/pilot oil into swashplate control piston to move, stroke the swashplate. Movement of the swashplate is monitored via a sensor in each pump so uniform flow of oil goes to each motor to keep axle speeds equal. If one swashplate doesn't move the same as the other the controller will reduce voltage on the good pump to match the slower pump while sending stronger signal to the slower pump. Once the slower pump receives sufficient oil to stroke as it should the good pump will increase pump flow to match, this is when you see the surging.
Actual cost of repair is a crap shoot. It could be a simple as cleaning a debris screen to the solenoid(s) or as severe as replacing the pump control unit.
If you are buying as is call your closest Bobcat dealer service department and get price on replacing the pump control unit plus a couple hours diagnostic time, then use that is negotiation.