---
title: Homotopy-Based Constraint Relaxation
url: https://www.emergentmind.com/topics/homotopy-based-constraint-relaxation
type: topic
---

# Homotopy-Based Constraint Relaxation

Homotopy-based constraint relaxation denotes a class of methods that replace a hard constrained problem by a parameterized family of easier problems and then trace solutions as the parameter approaches the target regime. In the literature, the relaxed family may deform the feasible set, smooth an indicator or complementarity relation, embed inequalities into a barrier, or replace an overdetermined system by adaptive well-constrained subsystems. The continuation parameter is then decreased or increased—depending on the formulation—while solutions of earlier subproblems are used as warm starts for later ones. This paradigm appears in switching-constrained and complementarity-constrained programming, convex and conic optimization, parameterized polynomial systems, Bayesian inference under equality and inequality constraints, motion planning, sparse recovery, and density-based topology optimization [1809.02388], [2403.02095], [1710.06362], [1801.01525], [2601.04003].

## 1. Parameterized reformulation and continuation principle

A common formal pattern is to replace an original constrained problem by a one-parameter family
\[
P_\tau:\quad \min_x f_\tau(x)\quad \text{s.t.}\quad x\in X_\tau,
\]
or, at the level of first-order conditions, by a parameterized residual equation
\[
H(z,\tau)=0.
\]
The homotopy parameter \(\tau\) is chosen so that one endpoint corresponds to an easy problem and the other to the original problem. In switching-constrained optimization, one solves relaxed nonlinear programs \(P(t_k)\) with \(t_k\downarrow 0\) [1809.02388]. In feasible-set homotopies for convex optimization, one solves
\[
\max_{x\in C_t} f(x), \qquad t\in[0,1],
\]
with \(C_0\) easy and \(C_1=C\) the target set [2403.02095]. In barrier-based conic methods, the family is
\[
x(t)\in\arg\min_x \varphi_t(x),\qquad \varphi_t(x)=t\,g(x)+F(x),
\]
so increasing \(t\) tightens the effect of the barrier relaxation and traces the analytic central path [2207.03101]. In Bayesian constraint relaxation, the family of posteriors is
\[
p_\rho(\theta\mid y)\propto L(y\mid \theta)\,\pi_R(\theta)\,\exp\{-\rho\, d(\theta,C)\},
\]
with \(\rho\to\infty\) recovering the sharply constrained model and \(\rho\to 0\) recovering the unconstrained posterior [1801.01525].

The continuation viewpoint is not restricted to scalar schedules. Probabilistic Homotopy Optimization formulates the homotopy as a map \(\phi:H^d\to Q\) from a multidimensional parameter cube into nonlinear-program parameters, so that each sampled \(\lambda\in H^d\) defines a constrained optimization problem \(P_{\phi(\lambda)}\) [2408.12490]. Parameter homotopy for polynomial systems instead interpolates problem parameters directly through
\[
H(x,t)=F\!\big(x;\,t\,p^*+(1-t)\,\hat p\big),
\]
and tracks solution paths with predictor-corrector continuation [1710.06362]. The sequential homotopy method for Hilbert-space mathematical programming embeds the original problem into primal-dual proximal-regularized subproblems indexed by a stepsize or regularization parameter [1902.06984].

Across these formulations, homotopy-based constraint relaxation is characterized by three elements: a family of surrogate problems with improved regularity or tractability, a path-following mechanism, and a limiting argument that relates terminal points of the path to constrained stationary points or optimizers of the original problem.

## 2. Relaxation mechanisms

The concrete form of the relaxation varies widely across problem classes. Some methods enlarge or smooth the feasible set; others keep the feasible set implicit and regularize the optimality system.

| Setting | Relaxed representation | Limiting regime |
|---|---|---|
| MPSC | Quadrant-wise NCP inequalities \(\Phi_l^s(x;t)\le 0\) | \(t\downarrow 0\) [1809.02388] |
| MPCC | Lasry–Lions envelope \(f(x)+(1/\lambda)\sum_i r_\beta(F_i(x))\) | \(\lambda,\mu\downarrow 0\) [2507.04694] |
| Conic/SDP | Barrier objective \(t\,g(x)+F(x)\) | \(t\uparrow\infty\) in effect of \(\nu/t\) bound [2207.03101] |
| Bayesian constraints | Kernelized posterior \(L\pi_R e^{-\rho d(\theta,C)}\) | \(\rho\uparrow\infty\) [1801.01525] |
| Topology optimization | Primal-dual barrier system with \(z\odot c(x)=\mu e\) | \(\mu\downarrow 0\) [2601.04003] |
| Motion planning | Metric \(G(x)=b(x)H(x)\) and geometric heat flow | flow time \(s\uparrow\infty\) [1901.10094] |

In mathematical programs with switching constraints, the Kanzow–Schwartz adaptation uses the smooth NCP function
\[
\varphi(a,b)=
\begin{cases}
ab & \text{if } a+b\ge 0,\\[2mm]
-\tfrac12(a^2+b^2) & \text{if } a+b<0,
\end{cases}
\]
and defines four quadrant-specific inequalities \(\Phi_l^s(x;t)\le 0\) for each switching pair \((G_l,H_l)\). This yields a relaxed NLP with feasible sets \(X(t)\) satisfying \(X(0)=X\), \(X(t_1)\subseteq X(t_2)\) for \(0\le t_1\le t_2\), and \(\bigcap_{t>0}X(t)=X\) [1809.02388]. By contrast, Scholtes-type relaxations use a product band \(-t\le G_l(x)H_l(x)\le t\), while Steffensen–Ulbrich relaxations smooth absolute values inside four inequalities; these two variants are structurally more coupled in the multipliers they induce [1809.02388].

In MPCCs, the Lasry–Lions double envelope relaxes the indicator of the complementarity set. For \(0<\mu<\lambda\),
\[
E_{\lambda,\mu}(\varphi)(x)
=
\sup_u \left\{M_\lambda(\varphi)(u)-\frac{1}{2\mu}\|x-u\|^2\right\}
=
-\,M_\mu(-M_\lambda(\varphi))(x).
\]
Applied pairwise to complementarity constraints, this produces a globally \(C^{1,1}\) surrogate with Lipschitz gradient and sandwich bounds
\[
M_\lambda(\varphi)\le E_{\lambda,\mu}(\varphi)\le M_{\lambda-\mu}(\varphi)\le \varphi,
\]
preserving minima and minimizers while smoothing the nonsmooth indicator [2507.04694].

Barrier-based relaxations use a different mechanism. In conic optimization, a logarithmically homogeneous self-concordant barrier \(f\) on a cone \(\mathcal K\) is transported through an affine map \(P\) to obtain \(F(x)=f(P(x))\), and the family \(t\,g(x)+F(x)\) tracks the analytic central path [2207.03101]. In density-based topology optimization, box constraints on the density are enforced by a primal-dual log-barrier system
\[
F_{\text{box}}(x,z^a,z^b;\mu)=
\begin{bmatrix}
\nabla f(x)-z^a+z^b\\
z^a\odot(x-a)-\mu e_n\\
z^b\odot(b-x)-\mu e_n
\end{bmatrix}=0,
\]
so strict feasibility is maintained while \(\mu\) is decreased [2601.04003].

Distance-based relaxations appear in Bayesian inference. Equality constraints \(\nu_j(\theta)=0\) are replaced by a Lipschitz residual norm such as \(d(\theta,C)=\|\nu_D(\theta)\|_1\), and the sharp indicator is replaced by \(\exp\{-\rho d(\theta,C)\}\) [1801.01525]. In motion planning, the relaxation is geometric rather than algebraic: constrained directions are made expensive through a metric \(H(x)=F(x)DF(x)^\top\), obstacles are encoded by a barrier multiplier \(b(x)\), and the final metric is \(G(x)=b(x)H(x)\); inadmissible motion is then suppressed by geometric heat flow [1901.10094].

## 3. Stationarity notions, regularity, and convergence guarantees

A central issue is the mismatch between classical constraint qualifications and the geometry of the original constrained problem. In mathematical programs with switching constraints, when
\[
I^{GH}(\bar x)=\{l\in\mathcal Q\mid G_l(\bar x)=0,\ H_l(\bar x)=0\}\neq\varnothing,
\]
standard MFCQ and often ACQ fail. This motivates weaker stationarity notions. W-stationarity imposes first-order balance with restricted multipliers; M-stationarity adds \(\mu_l\nu_l=0\) at doubly active switching indices; S-stationarity sets both multipliers to zero there. The Kanzow–Schwartz-type relaxation computes M-stationary limit points under MPSC-NNAMCQ, while adapted Scholtes and Steffensen–Ulbrich relaxations generally yield only W-stationarity. The contrast is structural: the quadrant-wise NCP relaxation separates \(G\)- and \(H\)-multipliers, whereas product-band and smoothing relaxations do not enforce the decoupled multiplier condition \(\mu_l\nu_l=0\) at double-active indices [1809.02388].

For MPCCs, the Lasry–Lions envelope method uses regular, limiting, and Clarke-type normal cones to the scalar complementarity set \(D\). Under approximate first-order stationarity of the smooth subproblems and a basic Clarke CQ, limit points are C-stationary. If the complementarity constraints are well behaved and BCQ\(^+\) holds, the method yields M-stationary points; an intermediate AM-stationarity concept captures the limiting multiplier sequence before boundedness is established [2507.04694]. The paper also derives a worst-case complexity estimate of order
\[
O\!\left(\epsilon^{-4}\log(\epsilon^{-2})\right)
\]
for obtaining an \(\epsilon\)-approximate C-stationary point under the stated schedule and first-order inner solves [2507.04694].

In the sequential homotopy method for mathematical programming in Hilbert spaces, the continuation subproblems are the KKT systems of primal-dual proximal-regularized augmented Lagrangian problems. The associated projected gradient/antigradient flow has equilibria that coincide with critical points of the original constrained problem, and the backward Euler discretization is equivalent to solving the proximal-regularized subproblems. The method is designed so that the regularized problems are always feasible, satisfy a strong CQ, and admit unique multipliers; under the stated assumptions, global flow solutions exist and critical points with emanating descent curves cannot be asymptotically stable equilibria [1902.06984].

In convex feasible-set homotopy, the theoretical object is a path of boundary optimizers \(a_t\) satisfying differentiated KKT conditions
\[
K(a_t,t)\,a_t'(t)+m(a_t,t)=0.
\]
If the homotopy of smooth descriptions is regular and \(p_t\) is strictly quasi-concave on \(\partial C_t\), then the path exists uniquely on \([0,1]\), remains on the boundary, and converges to the optimizer of the target convex problem. The invertibility of \(K\) is supplied by strict quasi-concavity, and correctness follows from uniqueness along the path and compactness at the limit [2403.02095].

These results show that homotopy-based constraint relaxation is not a single convergence theorem but a family of limiting arguments. The limit object may be an optimizer, a KKT point, a W/M/S-stationary point, or a probabilistic limit of posterior expectations, depending on how the relaxation interacts with the original constraint geometry.

## 4. Numerical realization and path-tracking strategies

Most implementations are sequential and warm-started. In switching-constrained optimization, the basic template initializes \(t_0>0\), solves the relaxed NLP \(P(t_k)\) to KKT accuracy, computes a feasibility residual, decreases the parameter geometrically by \(t_{k+1}=\sigma t_k\), and warm-starts the next subproblem from the current KKT point. The reported practical choices include \(\sigma=0.01\), stopping when \(t_k<10^{-8}\), and using SNOPT or IPOPT with user-supplied gradients; safeguards include temporarily increasing \(t\), damping the step, perturbing the start, and monitoring oscillations in relaxed active sets [1809.02388].

ODE-based path following is used when the homotopy is formulated directly on stationarity equations. For convex optimization, the numerical scheme combines an explicit Runge–Kutta 5(4) predictor for
\[
a'(t)=-K(a_t,t)^{-1}m(a_t,t)
\]
with a Newton-like corrector that reduces the residuals in \(p_t(x)=0\) and the parallelism constraints \(\mathcal Q_{k,i}(x,t)=0\). The step size is adapted so that the endpoint error is at most \(10^{-5}\) [2403.02095]. Parameter homotopy for polynomial systems uses the Davidenko ODE
\[
J_x H(x,t)\,\dot x(t)=-J_t H(x,t),
\]
classical fourth-order Runge–Kutta prediction, Newton correction, adaptive step-size control, and additional adaptive mechanisms for projective patch selection and randomization of overdetermined systems [1710.06362].

Not all modern variants follow a single continuous path. Probabilistic Homotopy Optimization alternates solve and sample phases over a multidimensional homotopy parameter space. It stores solutions in an Optimization Tree, attempts warm-start solves at previously sampled parameters, and samples new parameters when the ratio of attempted solves to available node-parameter combinations becomes too high. This discrete search in homotopy space is intended to cope with folds, bifurcations, and disconnected solution components that can obstruct classical continuation [2408.12490].

Double-loop methods separate homotopy updates from inner constrained minimization. The conditional gradient homotopy method of Dvurechensky, Shtern, and Staudigl applies a Frank–Wolfe inner loop to the barrier-augmented objective \(t\,g(x)+F(x)\), with an outer schedule
\[
t_{i+1}=t_i/\sigma,\qquad \varepsilon_{i+1}=\sigma\,\varepsilon_i.
\]
The inner loop is projection-free and uses a linear minimization oracle; for spectrahedra with trace bounds, each step reduces to a leading-eigenvector computation and hence a rank-one update [2207.03101].

Topology optimization couples continuation and interior mechanisms differently. There the homotopy is applied to the primal-dual barrier optimality system, with \(t\) driving both the original residual and the barrier parameter \(\mu(t)\), and Newton correctors solving the resulting block system in \((\rho,u,p,z^a,z^b)\) [2601.04003]. In motion planning, the homotopy variable is a flow time \(s\), and the numerical task is parabolic PDE integration for the geometric heat flow, rather than repeated nonlinear programming solves [1901.10094].

## 5. Domains of application

Switching and complementarity problems provide a canonical optimization setting. For mathematical programs with switching constraints, the reported computational experiments cover an either-or constrained problem with 64 starts from \(\{0,1\}^6\), a switching-constrained optimal control problem for the heat equation in 2D with 101 time nodes and 1000 random starts in \([0,10]\), and a semi-continuous portfolio optimization problem with \(n=200\) over 30 instances. The Kanzow–Schwartz relaxation achieved the best function values in more than 80% of runs in the either-or test, lower objective values in around 70% of runs for the control problem, and best function values in 28/30 portfolio instances, with higher feasibility reliability than non-relaxed NLP solvers [1809.02388]. For MPCCs, the Lasry–Lions envelope method was tested on MacMPEC, large-scale bound-constrained quadratic MPCCs, and large-scale linearly constrained quadratic MPCCs, where the reported outcome was a strong balance of robustness, speed, and solution quality, especially under degeneracy [2507.04694].

Conic and convex optimization supply another major application class. Feasible-set homotopy was developed for compact convex problems with linear objectives and explicit constructions for semidefinite and hyperbolic programming using real-zero polynomials and Renegar smoothing [2403.02095]. The conditional gradient homotopy method targets convex programs with many simple conic constraints and was specialized to semidefinite relaxations such as MaxCut and fastest mixing Markov chain formulations, where the key computational primitive is a projection-free linear minimization oracle on a spectrahedron [2207.03101].

Parameterized algebraic systems and computer vision use homotopy-based relaxation in a different sense. Adaptive patching and adaptive subsystem selection were developed for overdetermined parameterized polynomial systems, with detailed experiments on the 5-point essential matrix problem and a 6-point problem with radial distortion. The reported averages over 100 instances show that coordinate-wise patching plus leverage-score randomization reduced steps per path and runtime relative to fixed patch/fixed randomization, and that an early truncation heuristic further improved performance when many nonreal solutions were present [1710.06362].

Bayesian inference treats constraints probabilistically. The relaxed posterior
\[
p_\rho(\theta\mid y)\propto L(y\mid \theta)\pi_R(\theta)\exp\{-\rho d(\theta,C)\}
\]
was applied to sphere and torus constraints, monotonicity and simplex-type inequalities, and a brain-network latent factor model with near-orthonormality on a Stiefel manifold. In the brain-network study, shrinkage plus near-orthonormality achieved fitted AUC \(97.9\%\), prediction AUC \(96.2\%\), and ESS/1000 of about \(193.7\), whereas the completely constrained version had prediction AUC \(93.6\%\) and ESS about \(8.15\) [1801.01525].

Motion planning uses both continuous and search-based homotopies. The geometric heat-flow method was illustrated on the unicycle, car-like systems, multi-vehicle planning, and a two-link manipulator, where the initial trajectory is only required to avoid obstacles and is deformed into an admissible path by the metric-induced flow [1901.10094]. Probabilistic Homotopy Optimization was evaluated on cart-pole swing-up and MIT Humanoid flips. On cart-pole, PHO and the RRT-inspired baseline RHO solved many goal instances that linear-interpolation homotopy and direct root solves could not under a budget of 200 solver queries. On humanoid back and front flips, LI-HO solved quickly but with higher objective values, whereas PHO and RHO reached at least 80% success around 700 seconds and PHO continued to improve solution quality over time [2408.12490].

Sparse recovery and topology optimization show that the paradigm is not restricted to classical feasibility constraints. In \(\ell_0\)-regularized least squares, the regularization path
\[
J(x;\lambda)=\|y-Ax\|_2^2+\lambda\|x\|_0
\]
is piecewise constant in \(\lambda\), and the Continuation Single Best Replacement and \(\ell_0\) Regularization Path Descent algorithms exploit this path structure to track supports across decreasing \(\lambda\) [1406.4802]. In higher-order topology optimization, continuation and primal-dual barrier relaxation maintained strict feasibility of the density field \(0<\rho<1\) throughout 26 successful homotopy steps on a compliance-minimization problem over a mesh with 11100 triangles and 5711 vertices [2601.04003].

A broader, non-optimization use of the idea appears in polymer physics. There the relaxation of topological constraints in ring-linear blends is quantified through the periodic Gauss linking number \(L_P\); threading is detected by \(|L_P|>0.5\), and in majority-linear blends the ring diffusive relaxation time scales as
\[
\tau_{d,R}\sim N_R^2 N_L^{3.4}.
\]
This usage is conceptually related because relaxation is again organized by a topological obstruction and its gradual release, although the underlying mechanism is reptation rather than numerical continuation [2404.15560].

## 6. Comparative structure, limitations, and recurring difficulties

A persistent theme is that the success of a homotopy-based relaxation depends less on the existence of a continuation parameter than on how the relaxation encodes multiplier structure, curvature, and feasible-set geometry. In MPSC, the Kanzow–Schwartz relaxation succeeds where Scholtes and Steffensen–Ulbrich may fail because the quadrant-wise NCP construction supports recovery of separate \(G\)- and \(H\)-multipliers satisfying the M-stationarity condition at double-active indices [1809.02388]. In MPCCs, the Lasry–Lions envelope is distinguished from plain Moreau-type quadratic penalties by its \(C^{1,1}\) regularity and explicit Lipschitz gradient, which make fast first-order and quasi-Newton methods more natural [2507.04694]. In conic optimization, self-concordant barriers provide local norms and descent inequalities unavailable in ad hoc smoothings, but feasibility is obtained only in the interior of the cone and high accuracy still requires a growing homotopy parameter [2207.03101].

Several limitations recur across the literature. Global minimization is generally not guaranteed in nonconvex settings. Switching-constrained and complementarity-constrained homotopies can converge to local stationary points, and branch structure can induce many local minima [1809.02388]. PHO does not guarantee solution of the goal NLP even when a feasible terminal problem exists, because success depends on solver basins, the parameterization \(\phi\), and computational budget [2408.12490]. In topology optimization, ill-conditioning increases as the barrier parameter \(\mu\) decreases, and smaller homotopy steps are often required near the terminal design because major topological changes concentrate there [2601.04003]. In Bayesian relaxation, very large \(\rho\) can force HMC step sizes to become very small because the Hessian of the negative log-posterior acquires \(\rho\)-scaled terms [1801.01525]. In feasible-set convex homotopies, unbounded intermediate sets or nonsmooth boundaries can invalidate the ODE theory [2403.02095].

Constraint qualification and identifiability issues remain technically central. MPSC-NNAMCQ, BCCQ, BCQ\(^+\), GCQ, and related tailored CQs appear because standard MFCQ or LICQ are frequently unavailable in the original formulation [1809.02388], [2507.04694], [1902.06984]. Verifying these assumptions is often nontrivial, and several papers recommend numerical diagnostics rather than exact certification. This suggests that, in practice, homotopy-based constraint relaxation is most effective when theoretical regularity, solver design, and parameter scheduling are developed jointly rather than treated as separate concerns.

The comparative record of the cited methods supports a general conclusion: homotopy-based constraint relaxation is a methodology for converting hard constraints into a path of tractable surrogates while preserving meaningful asymptotic information about the original problem. Its strongest results arise when the surrogate family is both analytically faithful to the constraint geometry and numerically compatible with warm-started continuation.

Source: https://www.emergentmind.com/topics/homotopy-based-constraint-relaxation