KKT conditions from Wikipedia:
We consider the following nonlinear optimization problem: $$ \text{Minimize }\; f(x) $$ $$ \text{subject to: }\ g_i(x) \le 0 , h_j(x) = 0 $$ The number of inequality and equality constraints are denoted $m$ and $l$, respectively.
Suppose that the objective function $f : \mathbb{R}^n \rightarrow \mathbb{R} $ and the constraint functions $g_i : \,\!\mathbb{R}^n \rightarrow \mathbb{R}$ and $h_j : \,\!\mathbb{R}^n \rightarrow \mathbb{R}$ are continuously differentiable at a point $x^*$ . If $x^*$ is a local minimum that satisfies some regularity conditions, then there exist constants $\mu_i\ (i = 1,\ldots,m)$ and $\lambda_j\ (j = 1,\ldots,l)$, called KKT multipliers, such that
Stationarity $$ \nabla f(x^*) + \sum_{i=1}^m \mu_i \nabla g_i(x^*) + \sum_{j=1}^l \lambda_j \nabla h_j(x^*) = 0, $$ Primal feasibility $$ g_i(x^*) \le 0, \mbox{ for all } i = 1, \ldots, m $$$$ h_j(x^*) = 0, \mbox{ for all } j = 1, \ldots, l $$ Dual feasibility $$
\mu_i \ge 0, \mbox{ for all } i = 1, \ldots, m $$ Complementary slackness $$ \mu_i g_i (x^*) = 0, \mbox{for all}\; i = 1,\ldots,m. $$
I was wondering:
- how will the KKT conditions change, if the inequality constraints $g_i(x) \le 0$ are replaced with strict inequalities i.e. $g_i(x) < 0$?
- if the cost function $f$ already put some implicit condition on $x$ so that it can be well-defined, will the implicit condition be considered as an explicit constraint when writing the KKT conditions? For example, $f(x)=x- \ln(x)$ requires $x>0$. Will $x>0$ be considered as a constraint when writing the KKT conditions?
Thanks and regards!