What is the term for words that can be used as the opposite of themselves?

Solution 1:

This is an autoantonym, which has a number of variants enumerated on Wikipedia.

Someone coined antagonym in 1999.