TransOpt: Transformer-based Representation Learning for Optimization Problem Classification