ArgMax
ArgMax[f,x] gives a position xmax at which f is maximized.
ArgMax[f,{x,y,…}] gives a position {xmax,ymax,…} at which f is maximized.
ArgMax[{f,cons},{x,y,…}] gives a position at which f is maximized subject to the constraints cons.
ArgMax[…,x∈rdom] constrains x to be in the region or domain rdom.
ArgMax[…,…,dom] constrains variables to the domain dom, typically Reals or Integers.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.