Unit 14, lesson 108

Optimal execution and the Almgren Chriss model

How the continuous Almgren-Chriss model weighs temporary impact cost against a variance risk penalty, and how the Euler-Lagrange equation gives the unique optimal inventory trajectory and its execution urgency.

  • Video 108
  • Order books, execution and market making

A trader must sell a block of shares before the close. Selling at a steady pace keeps the temporary price impact low, but every share still held is exposed to price moves, and selling early cuts that exposure only by trading faster. Which inventory path balances the two effects, and how strongly should price risk pull the sales forward? This lesson writes the tradeoff as the mean-variance objective of the continuous Almgren-Chriss model, derives the optimal schedule from the Euler-Lagrange equation, proves that it is the unique global minimum, and shows how a single urgency parameter sets its shape.

Key terms

Inventory trajectory

Definition A trader holds Q>0Q > 0 units at time 00 and must hold none at the deadline T>0T > 0. An inventory trajectory is a deterministic function xx on [0,T][0, T], fixed at time 00, with

x(0)=Q,x(T)=0,x(0) = Q, \qquad x(T) = 0,

that is absolutely continuous with ∫0Tx˙(t)2 dt<∞\int_0^T \dot x(t)^2\,dt < \infty. Write A\mathcal{A} for this admissible class. The selling speed is v(t)=−x˙(t)v(t) = -\dot x(t) in units per unit of time and the cumulative sales are y(t)=Q−x(t)y(t) = Q - x(t), so every admissible path has ∫0Tv(t) dt=Q\int_0^T v(t)\,dt = Q. The class does not assume monotone selling, and it contains paths that buy back (v<0v < 0 on some interval) or go short (x<0x < 0). Because the path is fixed in advance, the schedule does not react to the prices it meets along the way.

In plain words A trajectory is the plan for how many units are still unsold at each moment. Its slope is the trading speed. The condition on the slope says that the plan has a finite trading cost in the model below, which rules out selling a block instantly.

Example Take Q=1Q = 1 normalized unit and T=1T = 1 day. The linear trajectory x(t)=1−tx(t) = 1 - t sells at the constant speed of 11 unit per day and still holds 0.50.5 units at midday. The trajectory x(t)=max⁡(1−2t,0)x(t) = \max(1 - 2t, 0), which sells everything at speed 22 during the morning, is also admissible. It holds nothing after midday, but it trades twice as fast while it trades.

Impact cost

Definition Temporary impact makes sales at speed v(t)v(t) execute η v(t)\eta\, v(t) below the prevailing price, with a constant η>0\eta > 0 in currency times time per squared unit. Over the schedule it costs

Ctemp[x]=η∫0Tx˙(t)2 dtC_{\text{temp}}[x] = \eta \int_0^T \dot x(t)^2\,dt

currency units. Linear permanent impact lowers the prevailing price by γ y(t)\gamma\, y(t) once y(t)y(t) units have been sold, with a constant γ≥0\gamma \ge 0. The units sold at speed v(t)v(t) then lose γ y(t)v(t) dt\gamma\, y(t) v(t)\,dt, and since yy is absolutely continuous with y(0)=0y(0) = 0 and y(T)=Qy(T) = Q,

Cperm=∫0Tγ y(t) y˙(t) dt=12γQ2\begin{aligned} C_{\text{perm}} &= \int_0^T \gamma\, y(t)\, \dot y(t)\,dt \\[0.4em] &= \tfrac12 \gamma Q^2 \end{aligned}

for every admissible path, monotone or not. A fixed half-spread β≥0\beta \ge 0 per unit traded costs β∫0T∣v∣ dt≥βQ\beta \int_0^T \lvert v \rvert\,dt \ge \beta Q, with equality exactly for paths that never buy. For fixed QQ and TT, the Cauchy-Schwarz inequality gives

Q2=(∫0Tv dt)2≤T∫0Tv2 dt,\begin{aligned} Q^2 &= \Bigl(\int_0^T v\,dt\Bigr)^2 \\[0.4em] &\le T \int_0^T v^2\,dt, \end{aligned}

so Ctemp[x]≥ηQ2/TC_{\text{temp}}[x] \ge \eta Q^2/T, with equality only when the speed is constant, equal to Q/TQ/T, almost everywhere.

In plain words Trading faster moves the execution price further against each sale and also sells more units in each short interval, so the temporary cost grows with the square of the speed. Linear permanent impact costs the same whatever the timing, so it changes the total cost and not the schedule. Spreading the sales evenly is the cheapest way to pay temporary impact.

Example With the constructed coefficient η=0.04\eta = 0.04 currency days per squared unit, Q=1Q = 1 and T=1T = 1 day, the linear trajectory has Ctemp=0.04C_{\text{temp}} = 0.04. The morning trajectory of the previous card has ∫0Tv2 dt=22⋅12=2\int_0^T v^2\,dt = 2^2 \cdot \tfrac12 = 2, so its temporary cost is 0.080.08, twice as much. With a constructed permanent coefficient γ=0.01\gamma = 0.01, both pay the same permanent cost 12⋅0.01⋅12=0.005\tfrac12 \cdot 0.01 \cdot 1^2 = 0.005.

Almgren-Chriss model

Definition The continuous-time Almgren-Chriss model of a liquidation makes the following assumptions. Under the physical measure P\mathbb{P} the unaffected price is S0+σWtS_0 + \sigma W_t, where WW is a P\mathbb{P}-Brownian motion, so the price is an arithmetic Brownian motion with zero drift and constant volatility σ≥0\sigma \ge 0 in currency per unit per square root of time. Impact is linear as in the previous card, and the schedule xx in A\mathcal{A} is deterministic. Sales at time tt execute at

S~t=S0+σWt−γ y(t)−η v(t).\begin{aligned} \tilde S_t &= S_0 + \sigma W_t \\[0.4em] &\quad - \gamma\, y(t) - \eta\, v(t). \end{aligned}

The execution cost is the implementation shortfall against the arrival price, C=QS0−∫0TS~t v(t) dtC = Q S_0 - \int_0^T \tilde S_t\, v(t)\,dt. Since xx is deterministic and of finite variation, the product rule gives d(xW)=x dW+W dxd(x W) = x\,dW + W\,dx, and with x(T)=0x(T) = 0 and W0=0W_0 = 0 this yields ∫0TWt v(t) dt=∫0Tx(t) dWt\int_0^T W_t\, v(t)\,dt = \int_0^T x(t)\,dW_t. Hence

C=12γQ2+η∫0Tv2 dt−σ∫0Tx(t) dWt.\begin{aligned} C &= \tfrac12 \gamma Q^2 + \eta \int_0^T v^2\,dt \\[0.4em] &\quad - \sigma \int_0^T x(t)\,dW_t . \end{aligned}

The Itô integral of the bounded deterministic function xx has mean zero and, by the Itô isometry, variance ∫0Tx2 dt\int_0^T x^2\,dt. The risk penalty is λVar⁡(C)=λσ2∫0Tx2 dt\lambda \operatorname{Var}(C) = \lambda \sigma^2 \int_0^T x^2\,dt, with a risk weight λ≥0\lambda \ge 0 in inverse currency units, and the model chooses xx in A\mathcal{A} to minimize EP[C]+λVar⁡(C)\mathbb{E}^{\mathbb{P}}[C] + \lambda \operatorname{Var}(C). Dropping the constant 12γQ2\tfrac12 \gamma Q^2 leaves the functional

J[x]=η∫0Tx˙(t)2 dt+λσ2∫0Tx(t)2 dt.\begin{aligned} J[x] &= \eta \int_0^T \dot x(t)^2\,dt \\[0.4em] &\quad + \lambda \sigma^2 \int_0^T x(t)^2\,dt . \end{aligned}

Adaptive schedules that react to prices, nonlinear or transient impact, time-varying liquidity and participation limits are outside this model, and each needs its own derivation.

In plain words The model scores a schedule by its expected cost plus a charge for uncertainty. The expected cost comes from impact. The uncertainty comes from price moves on the units not yet sold, so a unit held for a long time adds more variance, and λ\lambda says how many currency units of expected cost the trader would give up to remove one squared currency unit of variance.

Example Take the constructed inputs Q=1Q = 1, T=1T = 1 day, η=0.04\eta = 0.04, σ=0.2\sigma = 0.2 currency per unit per square root day and λ=1\lambda = 1 per currency unit. The linear trajectory has ∫01(1−t)2 dt=13\int_0^1 (1 - t)^2\,dt = \tfrac13, so Var⁡(C)=0.04/3≈0.013333\operatorname{Var}(C) = 0.04/3 \approx 0.013333 squared currency units, the standard deviation of its cost is about 0.11550.1155, and its risk penalty is about 0.0133330.013333. Its objective is J=0.04+0.013333≈0.053333J = 0.04 + 0.013333 \approx 0.053333. The morning trajectory has ∫01x2 dt=16\int_0^1 x^2\,dt = \tfrac16, half the variance, but its objective 0.08+0.04/6≈0.0866670.08 + 0.04/6 \approx 0.086667 is much higher.

Euler-Lagrange equation

Definition Let xx be admissible and let hh be absolutely continuous with square-integrable derivative and h(0)=h(T)=0h(0) = h(T) = 0, so that x+εhx + \varepsilon h is admissible for every real ε\varepsilon. The first variation of JJ at xx in the direction hh is

δJ[x;h]=ddεJ[x+εh]∣ε=0=2∫0T(η x˙h˙+λσ2xh) dt.\begin{aligned} \delta J[x; h] &= \frac{d}{d\varepsilon} J[x + \varepsilon h]\Big|_{\varepsilon = 0} \\[0.4em] &= 2 \int_0^T \bigl(\eta\, \dot x \dot h + \lambda \sigma^2 x h\bigr)\,dt . \end{aligned}

If xx is twice continuously differentiable, integration by parts gives

δJ[x;h]=2[η x˙h]0T+2∫0T(λσ2x−η x¨)h dt,\begin{aligned} \delta J[x; h] &= 2\bigl[\eta\, \dot x h\bigr]_0^T \\[0.4em] &\quad + 2 \int_0^T \bigl(\lambda \sigma^2 x - \eta\, \ddot x\bigr) h\,dt, \end{aligned}

and the boundary term vanishes because h(0)=h(T)=0h(0) = h(T) = 0. At a minimizer the first variation is zero for every such hh, and since the bracket is continuous, the fundamental lemma of the calculus of variations forces it to vanish identically. This is the Euler-Lagrange equation

η x¨(t)=λσ2x(t),0<t<T,\begin{gathered} \eta\, \ddot x(t) = \lambda \sigma^2 x(t), \\[0.4em] 0 < t < T, \end{gathered}

a linear second-order equation with the boundary conditions x(0)=Qx(0) = Q and x(T)=0x(T) = 0. On its own it is a necessary condition, met by every twice differentiable minimizer, and the next card shows that its solution is in fact the minimum.

In plain words Bending the path slightly around some moment changes the impact cost through the speed and the risk through the inventory held. On the best path these two marginal effects cancel at every instant. The term η x¨\eta\, \ddot x comes from the cost of changing speed, and the term λσ2x\lambda \sigma^2 x from the risk of the inventory still held.

Example With the constructed inputs, λσ2=0.04\lambda \sigma^2 = 0.04. The linear trajectory x(t)=1−tx(t) = 1 - t has x¨=0\ddot x = 0, while λσ2x(t)=0.04(1−t)>0\lambda \sigma^2 x(t) = 0.04(1 - t) > 0 before the deadline, so it does not solve the equation. In the direction h(t)=t(1−t)h(t) = t(1 - t) its first variation is

δJ=−0.08∫01(1−2t) dt+0.08∫01t(1−t)2 dt=0+0.0812≈0.006667.\begin{aligned} \delta J &= -0.08 \int_0^1 (1 - 2t)\,dt \\[0.4em] &\quad + 0.08 \int_0^1 t(1 - t)^2\,dt \\[0.4em] &= 0 + \tfrac{0.08}{12} \approx 0.006667 . \end{aligned}

Because JJ is quadratic, J[x+εh]=J[x]+ε δJ+ε2J[h]J[x + \varepsilon h] = J[x] + \varepsilon\, \delta J + \varepsilon^2 J[h] exactly, with J[h]=0.04⋅13+0.04⋅130≈0.014667J[h] = 0.04 \cdot \tfrac13 + 0.04 \cdot \tfrac{1}{30} \approx 0.014667. The best step ε=−δJ/(2J[h])≈−0.2273\varepsilon = -\delta J/(2 J[h]) \approx -0.2273 lowers the midday inventory and the objective, from 0.0533330.053333 to about 0.0525760.052576.

Optimal execution schedule

Definition Assume Q>0Q > 0, T>0T > 0, η>0\eta > 0, λ≥0\lambda \ge 0 and σ≥0\sigma \ge 0, and let κ=λσ2/η\kappa = \sqrt{\lambda \sigma^2/\eta}. If κ>0\kappa > 0, the unique minimizer of JJ over A\mathcal{A} is

x∗(t)=Q sinh⁡(κ(T−t))sinh⁡(κT),x^*(t) = Q\, \frac{\sinh\bigl(\kappa (T - t)\bigr)}{\sinh(\kappa T)},

with selling speed

v∗(t)=Qκ cosh⁡(κ(T−t))sinh⁡(κT).v^*(t) = Q\kappa\, \frac{\cosh\bigl(\kappa (T - t)\bigr)}{\sinh(\kappa T)} .

If κ=0\kappa = 0, it is the linear schedule x∗(t)=Q(1−t/T)x^*(t) = Q(1 - t/T). The function x∗x^* solves x¨=κ2x\ddot x = \kappa^2 x, and among the solutions Asinh⁡(κ(T−t))+Bcosh⁡(κ(T−t))A \sinh(\kappa(T - t)) + B \cosh(\kappa(T - t)) the endpoint conditions force B=0B = 0 and A=Q/sinh⁡(κT)A = Q/\sinh(\kappa T). For any admissible xx, the difference h=x−x∗h = x - x^* vanishes at both ends, and the quadratic form of JJ gives

J[x]−J[x∗]=δJ[x∗;h]+η∫0Th˙2 dt+λσ2∫0Th2 dt.\begin{aligned} J[x] - J[x^*] &= \delta J[x^*; h] \\[0.4em] &\quad + \eta \int_0^T \dot h^2\,dt \\[0.4em] &\quad + \lambda \sigma^2 \int_0^T h^2\,dt . \end{aligned}

The first variation is zero by the integration by parts of the previous card, which needs only that x∗x^* is smooth and hh is absolutely continuous with zero endpoints. The remaining terms are nonnegative, and they vanish only if h˙=0\dot h = 0 almost everywhere, which makes hh constant and hence zero. Integrating η x˙∗2\eta\, \dot x^{*2} by parts and using the equation gives the minimum value

J[x∗]=η Q v∗(0)=ηκQ2coth⁡(κT),\begin{aligned} J[x^*] &= \eta\, Q\, v^*(0) \\[0.4em] &= \eta \kappa Q^2 \coth(\kappa T), \end{aligned}

which tends to ηQ2/T\eta Q^2/T as κ→0\kappa \to 0. For κ>0\kappa > 0 the schedule is positive before TT and strictly decreasing, it never buys, and its speed falls from Qκcoth⁡(κT)Q\kappa \coth(\kappa T) at the start to Qκ/sinh⁡(κT)>0Q\kappa/\sinh(\kappa T) > 0 at the deadline. Since sinh⁡(u)/u\sinh(u)/u increases for u>0u > 0, the schedule lies strictly below the linear one at every time strictly between 00 and TT. The hypothesis η>0\eta > 0 is needed. With η=0\eta = 0 and λσ2>0\lambda \sigma^2 > 0, paths that sell ever faster make JJ as small as desired, but no admissible path reaches J=0J = 0.

In plain words The best schedule sells fastest at the start, when the most inventory is exposed, and slows down as the exposure shrinks, without ever stopping before the deadline. No search over paths is needed to see that it is best, because any change to it adds a positive quadratic amount to the objective.

Example With the constructed inputs, κ=0.04/0.04=1\kappa = \sqrt{0.04/0.04} = 1 per day. The schedule holds about 0.69970.6997, 0.44340.4434 and 0.21500.2150 units at t=0.25t = 0.25, 0.50.5 and 0.750.75 days, against 0.750.75, 0.50.5 and 0.250.25 on the linear path, and its speed falls from about 1.31301.3130 to about 0.85090.8509 units per day. The identities sinh⁡2u=12(cosh⁡2u−1)\sinh^2 u = \tfrac12(\cosh 2u - 1) and cosh⁡2u=12(cosh⁡2u+1)\cosh^2 u = \tfrac12(\cosh 2u + 1) give

∫0Tx∗2 dt=Q2sinh⁡2(κT)×(sinh⁡(2κT)4κ−T2)≈0.294487\begin{aligned} \int_0^T x^{*2}\,dt &= \frac{Q^2}{\sinh^2(\kappa T)} \\[0.4em] &\quad \times \Bigl(\frac{\sinh(2\kappa T)}{4\kappa} - \frac{T}{2}\Bigr) \\[0.4em] &\approx 0.294487 \end{aligned}

and

∫0Tv∗2 dt=Q2κ2sinh⁡2(κT)×(sinh⁡(2κT)4κ+T2)≈1.018548.\begin{aligned} \int_0^T v^{*2}\,dt &= \frac{Q^2 \kappa^2}{\sinh^2(\kappa T)} \\[0.4em] &\quad \times \Bigl(\frac{\sinh(2\kappa T)}{4\kappa} + \frac{T}{2}\Bigr) \\[0.4em] &\approx 1.018548 . \end{aligned}

The temporary cost is about 0.0407420.040742 and the risk penalty about 0.0117790.011779, so J[x∗]≈0.052521J[x^*] \approx 0.052521, which equals 0.04coth⁡(1)0.04 \coth(1). The linear schedule scores 0.0533330.053333, so the optimum is about 1.51.5 percent lower. Compared with constant speed it pays about 0.0007420.000742 more impact cost and saves about 0.0015540.001554 of risk penalty. The one-direction improvement of the previous card reached 0.0525760.052576, close to this minimum and above it.

Execution urgency

Definition The parameter

κ=λσ2η\kappa = \sqrt{\frac{\lambda \sigma^2}{\eta}}

measures execution urgency. It has units of inverse time, 1/κ1/\kappa is the time scale over which the optimal inventory decays, and the dimensionless number κT\kappa T fixes the shape of x∗(t)/Qx^*(t)/Q as a function of t/Tt/T. Urgency increases with the risk weight λ\lambda and the volatility σ\sigma, decreases with the temporary coefficient η\eta, and does not depend on QQ, S0S_0 or the permanent coefficient γ\gamma. At each time 0<t<T0 < t < T the inventory x∗(t)x^*(t) is strictly decreasing in κ\kappa, because

∂ln⁡x∗(t)∂κ=(T−t)coth⁡(κ(T−t))−Tcoth⁡(κT)<0,\begin{aligned} &\frac{\partial \ln x^*(t)}{\partial \kappa} \\[0.4em] &\quad = (T - t)\coth\bigl(\kappa(T - t)\bigr) \\[0.4em] &\qquad - T \coth(\kappa T) < 0, \end{aligned}

as scoth⁡(κs)s \coth(\kappa s) increases in s>0s > 0. At midday x∗(T/2)=Q/(2cosh⁡(κT/2))x^*(T/2) = Q/\bigl(2\cosh(\kappa T/2)\bigr), and when κ(T−t)\kappa (T - t) is large, x∗(t)≈Qe−κtx^*(t) \approx Q e^{-\kappa t}. When σ>0\sigma > 0 the minimized objective ηκQ2coth⁡(κT)\eta \kappa Q^2 \coth(\kappa T) increases with λ\lambda, because a larger λ\lambda raises JJ of every path, so objective values computed with different λ\lambda measure different criteria and cannot rank schedules against each other. The original Almgren-Chriss model trades at NN dates spaced τ=T/N\tau = T/N apart. There the permanent cost has a schedule-dependent part −12γ∑knk2-\tfrac12 \gamma \sum_k n_k^2 for the sales nkn_k, the temporary coefficient becomes η−12γτ\eta - \tfrac12 \gamma \tau, assumed positive, and the optimal inventory at the trading dates is again a hyperbolic sine, with a decay rate κτ\kappa_\tau that solves

2(cosh⁡(κττ)−1)τ2=λσ2η−γτ/2.\begin{aligned} &\frac{2\bigl(\cosh(\kappa_\tau \tau) - 1\bigr)}{\tau^2} \\[0.4em] &\quad = \frac{\lambda \sigma^2}{\eta - \gamma \tau/2} . \end{aligned}

As τ→0\tau \to 0 the rate κτ\kappa_\tau tends to κ\kappa, so the continuous formulas are the limit of the discrete ones, not the same model.

In plain words Urgency says how hard price risk pushes sales forward compared with the impact cost of trading fast. A trader with high urgency accepts larger impact early to cut exposure, and a trader with no urgency spreads the sales evenly.

Example Raising λ\lambda from 11 to 44 in the constructed example doubles κ\kappa to 22 per day. Midday inventory falls from about 0.44340.4434 to about 0.32400.3240 units, the initial speed rises to about 2.07462.0746 and the final speed falls to about 0.55140.5514 units per day. The inventory integral drops from 0.2944870.294487 to about 0.2213180.221318, while the temporary cost rises from 0.0407420.040742 to about 0.0475740.047574. The new minimum, about 0.0829850.082985, is larger than 0.0525210.052521 only because the penalty is larger. Under the λ=1\lambda = 1 criterion the κ=2\kappa = 2 schedule scores about 0.0564270.056427, above that criterion’s minimum, and under the λ=4\lambda = 4 criterion the κ=1\kappa = 1 schedule scores about 0.0878600.087860, above 0.0829850.082985. In the discrete model with λ=1\lambda = 1, τ=0.25\tau = 0.25 days and the permanent coefficient γ=0.01\gamma = 0.01 of the impact cost card, the decay rate is about 1.01331.0133 per day, against the continuous value 11.

Check yourself

  1. In the constructed example the order doubles to Q=2Q = 2 units, with T=1T = 1 day, η=0.04\eta = 0.04, σ=0.2\sigma = 0.2 and λ=1\lambda = 1 unchanged. How do the shape of the optimal schedule, the midday inventory and the minimum objective change?
Show the answer

The urgency κ=λσ2/η=1\kappa = \sqrt{\lambda \sigma^2/\eta} = 1 per day does not involve QQ, so x∗(t)/Qx^*(t)/Q is the same function as before. The schedule still holds about 44.3444.34 percent of the order at midday, which is now about 0.88680.8868 units. Both integrals in JJ scale with Q2Q^2, so

J[x∗]=0.04⋅1⋅22coth⁡(1)≈0.210086,\begin{aligned} J[x^*] &= 0.04 \cdot 1 \cdot 2^2 \coth(1) \\[0.4em] &\approx 0.210086, \end{aligned}

four times 0.0525210.052521. With linear impact and a variance penalty the tradeoff does not depend on the size of the order, which would no longer hold with nonlinear impact.

  1. A colleague adds the constructed permanent impact γ=0.01\gamma = 0.01 to the example and argues that the schedule should now sell faster, to get ahead of its own price pressure. Is that right in the continuous model?
Show the answer

No. In the continuous model the permanent cost is ∫0Tγ y y˙ dt=12γQ2=0.005\int_0^T \gamma\, y\, \dot y\,dt = \tfrac12 \gamma Q^2 = 0.005 for every admissible path, so the objective becomes 0.005+J[x]0.005 + J[x] and has the same minimizer. The urgency κ\kappa involves only λ\lambda, σ\sigma and η\eta, and the minimum of EP[C]+λVar⁡(C)\mathbb{E}^{\mathbb{P}}[C] + \lambda \operatorname{Var}(C) is about 0.005+0.052521=0.0575210.005 + 0.052521 = 0.057521. In the discrete model the permanent impact enters the schedule only through the coefficient η−12γτ\eta - \tfrac12 \gamma \tau, and that effect disappears as τ→0\tau \to 0. With τ=0.25\tau = 0.25 days, raising γ\gamma from 00 to 0.010.01 moves the discrete decay rate from about 0.99740.9974 to about 1.01331.0133 per day, a slightly faster schedule, while the continuous rate stays at 11.

  1. In the constructed example with λ=1\lambda = 1, a participation limit caps the selling speed at 1.21.2 units per day. Is x∗x^* still optimal, and what can be said about the best capped schedule?
Show the answer

The schedule x∗x^* starts at speed coth⁡(1)≈1.3130\coth(1) \approx 1.3130 and stays above 1.21.2 until about t=0.1226t = 0.1226 days, so it violates the cap and is not a candidate. The proof of optimality compares x∗x^* with every path in A\mathcal{A}, and x∗x^* is the only path with J=0.052521J = 0.052521, so every capped schedule has an objective strictly above 0.0525210.052521. Constant speed 11 respects the cap and scores 0.0533330.053333, so the best capped schedule scores between these two values. Clipping x∗x^* at the cap is not a solution, because it sells about 0.00670.0067 units less by t=0.1226t = 0.1226 and, if it then follows the speed of x∗x^*, still holds that amount at the deadline. The cap has to enter the feasible set of the optimization, which is outside the model of this lesson.

How this lesson connects