I was given Tramadol after an op last year, sadly it did very little for the pain but did help me sleep - which I suppose was something. The wound became infected so was also given antibiotics, flucloxacillin (penicillin based), I think.
From my nursing experience I can remember Tramadol on the medicines rounds and don't recall any problems with antibiotics.