A General Framework for Evaluating Robustness of Combinatorial Optimization Solvers on Graphs