[rules-users] Best Solution found but latest solution does not work

moltenice dabrainstabber at gmail.com
Tue Mar 4 17:02:45 EST 2014


Hi ge0ffrey,

You response actually partially solved my problem :)

I completely removed my own clone/equals/hashCode implementations and the
planner seemed to get results much faster as well as being efficient
(FIT_FIRST actually reduced the score down very well).

I still had the problem of the latest solution showing up and finally after
trying everything possible to understand it I decided to take the ugly path:
storing the best solution myself in the calculator class. This obviously
works but I can't help but feel wrong after doing so :P

In any case, I have posted my working (albeit a horrible Software
Engineering) example as an attachment for anyone in the future stumped and
looking for a dirty solution.

Thanks once again ge0ffrey for your timely and helpful responses! :)

Karan

Timetabler.zip
<http://drools.46999.n3.nabble.com/file/n4028501/Timetabler.zip>  



--
View this message in context: http://drools.46999.n3.nabble.com/Best-Solution-found-but-latest-solution-does-not-work-tp4028442p4028501.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list