Garnet: integrating random walk encoding and graph rewiring for routing optimization | Synapse