A bilevel framework for decision-making under uncertainty with contextual information. (April 2022)