Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-15 Thread npiedeloup
If someone got the same problem : I think i've found my problem. As i write it my undoMove was : (*new PlanMove(assigment, fromDay)*) Read : my fromDay was set in constructor and then it was set to the initial day. During solving assigments are plan on other days, but the undoMove always return t

Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-14 Thread ge0ffrey
In the manual, read "delta score calculation". That gets broken somehow. Drools 5.1 had a bug that broke that, fixed since 5.2. you're probably changing a fact without doing wm.update -- View this message in context: http://drools.46999.n3.nabble.com/Planner-CachedMoveFactory-drive-to-Corrupted-

Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-14 Thread npiedeloup
I have test in TRACE mode, and I don't know what I can do with this error. In this test I have activated some Constraints. I've got a "The presumedScore (0hard/-500soft) is corrupted because it is not the realScore (0hard/-450soft)" I've got some questions : - When this error was launch ? - In

Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-10 Thread Geoffrey De Smet
Try with set to TRACE. It might fail-faster with a clearer message about what's going wrong. Op 10-11-11 14:18, npiedeloup schreef: > Thanks for your response. > > I'have juste test you proposition of method on assigment, and i've got the > same error. > I also test with a simplier rule set : > >

Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-10 Thread npiedeloup
Thanks for your response. I'have juste test you proposition of method on assigment, and i've got the same error. I also test with a simplier rule set : Juste 1 rule : (and the two for scoreCalculator of course) rule "notPlannified" when $assigment: Assigment() then inse

Re: [rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-09 Thread Geoffrey De Smet
Op 09-11-11 23:31, npiedeloup schreef: > Hello, > > I'm almost new to Drools Planner, and i run into some problems. > One of them, I really want to understand is that my Planner works well until > i try to use a CachedMoveFactory instead of my MoveFactory, then i've got > "Corrupted undo move" at

[rules-users] [Planner] CachedMoveFactory drive to Corrupted undo move

2011-11-09 Thread npiedeloup
Hello, I'm almost new to Drools Planner, and i run into some problems. One of them, I really want to understand is that my Planner works well until i try to use a CachedMoveFactory instead of my MoveFactory, then i've got "Corrupted undo move" at step 2. Assigment are my PlanningEntity, Day are f