Skip to content

Commit fe0e989

Browse files
author
taylor howell
committed
merge
2 parents cb60604 + 5275b43 commit fe0e989

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44

55
A Julia package for solving constrained trajectory optimization problems with iterative LQR (iLQR).
66

7-
```
8-
minimize cost_T(state_T; parameter_T) + sum(cost_t(state_t, action_t; parameter_t))
9-
states, actions
10-
subject to state_t+1 = dynamics_t(state_t, action_t; parameter_t), t = 1,...,T-1
11-
state_1 = state_initial
12-
constraint_t(state_t, action_t; parameter_t) {<,=} 0, t = 1,...,T
13-
```
7+
$$
8+
\begin{align*}
9+
\underset{x_{1:T}, \phantom{\,} u_{1:T-1}}{\text{minimize }} & \phantom{,} g_T(x_T; \theta_T) + \sum \limits_{t = 1}^{T-1} g_t(x_t, u_t; \theta_t)\\
10+
\text{subject to } & \phantom{,} f_t(x_t, u_t; \theta_t) = x_{t+1}, \phantom{,} \quad t = 1,\dots,T-1,\\
11+
& \phantom{,} c_t(x_t, u_t; \theta_t) \phantom{,}[\leq, =] \phantom{,} 0, \quad t = 1, \dots, T,\\
12+
\end{align*}
13+
$$
14+
15+
with
16+
17+
- $x_{1:T}$: state trajectory
18+
- $u_{1:T-1}$: action trajectory
19+
- $\theta_{1:T}$: problem-data trajectory
1420

1521

1622
- Fast and allocation-free gradients and Jacobians are automatically generated using [Symbolics.jl](https://github.com/JuliaSymbolics/Symbolics.jl) for user-provided costs, constraints, and dynamics.

0 commit comments

Comments
 (0)