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 -

Python ctypes access violation with const pointer arguments -