Pre-optimization attempt for Set constraints.