I have a Lagrangian of which I want to find the supremum in the primal variable $\boldsymbol{x}$:
$\mathscr{L}(\boldsymbol{x},\boldsymbol{\lambda})=f(\boldsymbol{x})^T\boldsymbol{a} + \boldsymbol{\lambda}^T(\boldsymbol{b}+cf(\boldsymbol{x})-f(\boldsymbol{x}))$
such that:
$\mathscr{L}:\mathbb{R}^M \times \mathbb{R}^N \to \mathbb{R}$
$f:\mathbb{R}^M \to \mathbb{R}^P$
In this way, the supremum will be at an $\boldsymbol{x}$ such that the gradient of the Lagrangian satisfies:
$\nabla_\boldsymbol{x}\mathscr{L}(\boldsymbol{x},\boldsymbol{\lambda})=\nabla_x f(\boldsymbol{x})^T(\boldsymbol{a} + c\boldsymbol{\lambda}-\boldsymbol{1})=0$
and it will be $\boldsymbol{\lambda}^T\boldsymbol{b}$. It is:
$$ sup \mathscr{L}(\boldsymbol{x},\boldsymbol{\lambda}) = \left\{ \begin{array}{ll} \boldsymbol{\lambda}^T\boldsymbol{b} & \nabla_x f(\boldsymbol{x})^T(\boldsymbol{a} + c\boldsymbol{\lambda}-\boldsymbol{1})=0 \\ \infty & otherwise \end{array} \right. $$
This statement is only truth if $\nabla_x f(\boldsymbol{x})=0$ implies $f(\boldsymbol{x})=0$
So, my questions are:
Is there any family of functions $f(\boldsymbol{x})$ which satisfies $f(\boldsymbol{x})=0$ if $\nabla_x f(\boldsymbol{x})=0$ (appart from linear functions)?
Is there a more general expression for the suppremum of this Lagrangian?
Thanks in advance!