Oil rose on Tuesday to above $31 a barrel on hopes that OPEC and non-OPEC producers were inching closer to a deal to reduce output…