RHDM 7.12 contains OptaPlanner 8.11 which has the ScoreManager
API:
https://www.optaplanner.org/docs/optaplanner/latest/score-calculation/score-calculation.html#explainingTheScore
So this should work to quickly print something quick&dirty:
System.out.println(ScoreManager.create(solverFactory).getSummary(solution));
As well as scoreManager.explainScore(solution) to expose it nicely
via an API.
With kind regards,
Geoffrey De Smet
--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/1f258c21-569a-4a58-976d-26c64ccd8512n%40googlegroups.com.