Optimization with constraint learning: A framework and survey | Synapse