How do i match users on the basis of a particular numeric field

Take a look at this post: How to automatically create "unique pairs" of users with a Group ID

I think @john3’s proposed solution there can be adapted for your case. To unmatch, you could schedule a workflow task (to remove the matched_to value) for current date + TV hours (in hours).