Optimization and graphs | Synapse