Continuing the conversation in #275 on coloring improvements, here is something else you can try to see if it makes a difference in sparse autodiff efficiency:
using StableRNGs
# try the best of several orders
coloring_algorithm = GreedyColoringAlgorithm((
NaturalOrder(),
LargestFirst(),
SmallestLast(),
IncidenceDegree(),
DynamicLargestFirst(),
RandomOrder(StableRNG(0), 0)
))
Efficiency can be judged by
Continuing the conversation in #275 on coloring improvements, here is something else you can try to see if it makes a difference in sparse autodiff efficiency:
Efficiency can be judged by
ncolors(hess_prep)