Graph Representation Learning for Optimization on Graphs