File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -291,10 +291,16 @@ NonLinMPC controller with a sample time Ts = 10.0 s:
291291 AutoSparse(
292292 AutoForwardDiff();
293293 sparsity_detector = TracerSparsityDetector(),
294- coloring_algorithm = GreedyColoringAlgorithm(ALL_COLORING_ORDERS)
294+ coloring_algorithm = GreedyColoringAlgorithm((
295+ NaturalOrder(),
296+ LargestFirst(),
297+ SmallestLast(),
298+ IncidenceDegree(),
299+ DynamicLargestFirst()
300+ ))
295301 )
296302 ```
297- that is, it will test all coloring orders at preparation and keep the best. This is
303+ that is, it will test many coloring orders at preparation and keep the best. This is
298304 also the sparse backend selected for the Hessian of the Lagrangian function if
299305 `oracle=true` and `hessian=true`, which is the second exception. Second order
300306 derivatives are only supported with `oracle=true` option.
Original file line number Diff line number Diff line change @@ -382,7 +382,13 @@ MovingHorizonEstimator estimator with a sample time Ts = 10.0 s:
382382 AutoSparse(
383383 AutoForwardDiff();
384384 sparsity_detector = TracerSparsityDetector(),
385- coloring_algorithm = GreedyColoringAlgorithm(ALL_COLORING_ORDERS)
385+ coloring_algorithm = GreedyColoringAlgorithm((
386+ NaturalOrder(),
387+ LargestFirst(),
388+ SmallestLast(),
389+ IncidenceDegree(),
390+ DynamicLargestFirst()
391+ ))
386392 )
387393 ```
388394 that is, it will test all coloring orders at preparation and keep the best.
You can’t perform that action at this time.
0 commit comments