Let $f(\cdot,\cdot):\Omega\to\mathbb{R}$ be a continuous function with $\Omega$ a compact subset of $\mathbb{R}^n\times\mathbb{R}^m$.
From these assumptions, $f(x,\cdot)$ must possess a maximum for each $x\in\mathcal{X}$, where $\mathcal{X} = \{x\in\mathbb{R}^n: (x,y)\in\Omega \text{ for some } y\in\mathbb{R}^m\}$.
In general, however, $f(x,\cdot)$ may contain multiple global maximizers.
My question is -- are there any (mild) conditions that we can impose on $f$ to ensure that a function $F:\mathcal{X}\to\mathcal{Y}$ $$F(x) \in \operatorname{argmax} f(x,\cdot),$$ where $\mathcal{Y} = \{y\in\mathbb{R}^m: (x,y)\in\Omega \text{ for some } x\in\mathbb{R}^n\}$, is continuous?
In other words, $F(\cdot)$ is such that $$f(x,F(x)) = \max_{y\in\Omega_x} f(x,y),$$ where $\Omega_x = \{y\in\mathbb{R}^m: (x,y)\in\Omega\}$.
And I mean other than the "trivial" case of $f(x,\cdot)$ having exactly one global maximizer for each $x$ and thus $F(x)$ being uniquely defined.
EDIT: Follow-up question: Under the conditions that I stated (or other similar mild ones), where $F$ is non-unique, must one of them be continuous?
EDIT 2: Scratch the previous follow-up question. I guess the better question is: are there any mild conditions on $f$ (and/or $\Omega$) that ensure that at least one particular $F$ (when the argmax may not be uniquely defined) must be continuous?