I saw this image on the official website. How can I get the score for each part? I tried using the content described in section 5.1 'Additional metrics' of the documentation and added the STEP_SCORE variable. However, the data I saw after monitoring was not the score for each step, but a final score. How can I obtain the score for each step? Can this only be done using benchmarking? I want to get the result of each step after solving is completed, similar to what's shown in this image
The Timefold Solver documentation describes how to monitor the solver. Specifically, you're looking for the STEP_SCORE
metric.
This will expose the metric using Micrometer, and you can consume the values using the standard Java observability API. Please do not use internal Timefold Solver classes to access the data - we do not provide backwards compatibility guarantees on classes outside of the API package.