Skip to content

Commit 78e5f5f

Browse files
committed
added: precompile OrthogonalCollocation
I expect it to be more popular than `TrapezoidalCollocation`, so let's replace this precompile workload.
1 parent a2a0631 commit 78e5f5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ R̂y = repeat([55; 30], 10)
101101
preparestate!(nmpc_ekf, [55, 30])
102102
nmpc_ekf([55, 30])
103103

104-
transcription = TrapezoidalCollocation()
104+
transcription = OrthogonalCollocation()
105105
nmpc_mhe = setconstraint!(NonLinMPC(
106106
MovingHorizonEstimator(nlmodel, He=2); transcription, Hp=10, Cwt=Inf), ymin=[45, -Inf]
107107
)

0 commit comments

Comments
 (0)