# Notes - Continuous Optimisation HT26, Constrained optimisation problems

> Source: https://ollybritton.com/notes/uni/part-c/ht26/continuous-optimisation/notes/constrained-optimisation-problems/ · Updated: 2026-05-13 · Tags: uni, notes

- [Course - Continuous Optimisation HT26](https://ollybritton.com/notes/uni/part-c/ht26/continuous-optimisation/)
	- [Notes - Continuous Optimisation HT26, Constrained optimality conditions for convex problems](https://ollybritton.com/notes/uni/part-c/ht26/continuous-optimisation/notes/constrained-optimality-conditions-for-convex-problems/)

### Flashcards
<!-- flash-start -->
Suppose we have the constrained optimisation problem
$$
\min_{x \in \mathbb R^n} f(x) \quad \text{s.t.} \quad c_E(x) = 0,\, c_I(x) \ge 0
$$
where $c_E : \mathbb R^n \to \mathbb R^m$ and $c_I : \mathbb R^n \to \mathbb R^p$. What is meant by $E$, $I$ and $\mathcal A(x)$?::

- $E$ is the index set of equality constraints
- $I$ is the index set of inequality constraints
- $\mathcal A(x)$ is the index set of active constraints at $x$, i.e. $\mathcal A(x) := E \cup \{i \in I  \mid c_i(x) = 0\}$

^constrained-optimisation-terminology
<!-- flash-end -->

<!-- flash-start -->
Suppose we have the constrained optimisation problem
$$
\min_{x \in \mathbb R^n} f(x) \quad \text{s.t.} \quad c_E(x) = 0,\, c_I(x) \ge 0
$$
where $c_E : \mathbb R^n \to \mathbb R^m$ and $\mathbb c_I : \mathbb R^n \to \mathbb R^p$. @Define the constraint Jacobians $J_E(x), J_I(x)$, and the unsubscripted $J(x)$ used when only one type of constraint is in play. @State also a useful identity in this notation.::

$J_E(x) \in \mathbb R^{m \times n}$ has $j$th row $\nabla c_j(x)^\top$ for $j \in E$, and similarly $J_I(x) \in \mathbb R^{p \times n}$ for $i \in I$. When only one constraint type is in play, $J(x)$ refers to the corresponding sub-block unambiguously. 

**Useful identity**:
$$
\sum_{j \in E} y_j \nabla c_j(x) = J_E(x)^\top y, \qquad \sum_{i \in I} \lambda_i \nabla c_i(x) = J_I(x)^\top \lambda.
$$

^constraint-jacobian-matrices
<!-- flash-end -->

### Bite-sized

<!-- cloze-start -->
The feasible set of the constrained problem $\min f(x)$ s.t. $c_E(x) = 0$, $c_I(x) \ge 0$ is $\Omega := \{x \in \mathbb R^n : c_E(x) = 0, \, c_I(x) \ge 0\}$ .

**Source**: Lectures 10-11, **Optimality conditions for constrained problems** slide.

^bite-constrained-feasible-set
<!-- cloze-end -->

<!-- cloze-start -->
At a feasible point $x \in \Omega$, an inequality constraint $i \in I$ is **active** if $c_i(x) = 0$ (boundary) and **inactive** if $c_i(x) > 0$ (strict interior). Equality constraints $i \in E$ are always considered active. The active set is $\mathcal A(x) = E \cup \{i \in I : c_i(x) = 0\}$.

**Source**: Lectures 10-11, **Active and inactive constraints** discussion.

^bite-active-inactive-constraints
<!-- cloze-end -->

<!-- cloze-start -->
The Jacobian $J_E(x) \in \mathbb R^{m \times n}$ of the equality constraints has $j$th row given by $\nabla c_j(x)^\top$ for $j \in E$ . The same convention applies to $J_I(x) \in \mathbb R^{p \times n}$.

**Source**: Lectures 10-11, **Jacobian form** slide.

^bite-jacobian-row-convention
<!-- cloze-end -->

---
Olly Britton — https://ollybritton.com. Machine-readable index: https://ollybritton.com/llms.txt
