Similar Items: Automatic constraint satisfaction problem