Towards a General GNN Framework for Combinatorial Optimization