Discretization of Total Variation in Optimization with Integrality Constraint | Synapse