Skip to content

Commit c4290c6

Browse files
authored
Merge pull request #330 from JuliaControl/run_bench
bench: compare `OrthogonalCollocation` to other `TranscriptionMethod`
2 parents c65d79c + 1e87de3 commit c4290c6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/controller/transcription.jl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,10 @@ and ``\mathbf{k}_i(k+j)`` is the deterministic state prediction for the ``i``th
153153
point at the ``j``th stage/interval/finite element (details in Extended Help). The `roots`
154154
keyword argument is either `:gaussradau` or `:gausslegendre`, for Gauss-Radau or
155155
Gauss-Legendre quadrature, respectively. See [`MultipleShooting`](@ref) docstring for
156-
descriptions of `f_threads` and `h_threads` keywords.
157-
158-
This transcription computes the predictions by enforcing the collocation and continuity
159-
constraints at the collocation points. It is efficient for highly stiff systems, but
160-
generally more expensive than the other methods for non-stiff systems. See Extended Help for
161-
more details.
156+
descriptions of `f_threads` and `h_threads` keywords. This transcription computes the
157+
predictions by enforcing the collocation and continuity constraints at the collocation
158+
points. It is efficient for highly stiff systems, but generally more expensive than the
159+
other methods for non-stiff systems. See Extended Help for more details.
162160
163161
!!! warning
164162
The built-in [`StateEstimator`](@ref) will still use the `solver` provided at the
@@ -178,7 +176,7 @@ this transcription method (sparser formulation than [`MultipleShooting`](@ref)).
178176
"optimal" for approximating the state trajectories with polynomials of degree ``n_o``.
179177
The method then enforces the system dynamics at these points. The Gauss-Legendre scheme
180178
is more accurate than Gauss-Radau but only A-stable, while the latter being L-stable.
181-
See [`con_nonlinprogeq!`](@ref) for details on the implementation.
179+
See [`con_nonlinprogeq!`](@ref) for implementation details.
182180
"""
183181
struct OrthogonalCollocation <: CollocationMethod
184182
h::Int

0 commit comments

Comments
 (0)