Embedding models for recommendation under contextual constraints