Optaplanner : Which score value should I trust? -


which score value actual solution score : score value returned method scoredirector.calculatescore() or value returned solution.getscore()?

i'm asking because noticed return different values every new best solution found.

they shouldn't. implies have score corruption, bad. turn on:

<solver>    <environmentmode>fast_assert</environmentmode> 

and

<solver>    <environmentmode>full_assert</environmentmode> 

to find out where.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -