Re: [rules-users] OptaPlanner: Solver.isEveryProblemFactChangeProcessed() return true before the last fact change is processed

2014-04-30 Thread Geoffrey De Smet
On 30-04-14 15:07, Hagai wrote: > I do use it from other threads in the following 2 scenarios: > > 1. In a thread that monitors a stream of messages with fact changes. Just > before the thread add a new problem fact change to the solver, the code > checks if the message is relevant by examining th

Re: [rules-users] OptaPlanner scalability

2014-04-30 Thread Geoffrey De Smet
On 30-04-14 15:04, Rupesh M G wrote: > Hi, > > I tested Optaplanner successfully for a fleet planning application. > Upto 1200 trips with around 80 vehicles for 3 days is fine. > I'm reaching the target of 0 hard constraints in less than 30 minutes. > > But my target is to plan for a month with 12

Re: [rules-users] OptaPlanner: Solver.isEveryProblemFactChangeProcessed() return true before the last fact change is processed

2014-04-30 Thread Hagai
I do use it from other threads in the following 2 scenarios: 1. In a thread that monitors a stream of messages with fact changes. Just before the thread add a new problem fact change to the solver, the code checks if the message is relevant by examining the current solution facts. But if there is

[rules-users] OptaPlanner scalability

2014-04-30 Thread Rupesh M G
Hi, I tested Optaplanner successfully for a fleet planning application. Upto 1200 trips with around 80 vehicles for 3 days is fine. I'm reaching the target of 0 hard constraints in less than 30 minutes. But my target is to plan for a month with 12000 trips using 80 vehicles. This time it didn't c

Re: [rules-users] OptaPlanner: Solver.isEveryProblemFactChangeProcessed() return true before the last fact change is processed

2014-04-30 Thread Geoffrey De Smet
On 30-04-14 12:17, Hagai wrote: > Using OptaPlanner 6.0.1.Final and following the documentation for real-time > planning: > "Alternatively, you can subscribe to the BestSolutionChangedEvent. > A BestSolutionChangedEvent doesn't guarantee that every ProblemFactChange > has been > processed already,

[rules-users] OptaPlanner: Solver.isEveryProblemFactChangeProcessed() return true before the last fact change is processed

2014-04-30 Thread Hagai
Using OptaPlanner 6.0.1.Final and following the documentation for real-time planning: "Alternatively, you can subscribe to the BestSolutionChangedEvent. A BestSolutionChangedEvent doesn't guarantee that every ProblemFactChange has been processed already, so check Solver.isEveryProblemFactChangeProc

Re: [rules-users] Integrate jBPM with OptaPlanner

2014-04-30 Thread Geoffrey De Smet
So the JBPM human task assignments are a *task assignment problem* you want to solve with OptaPlanner? Kris and I spoke about building some out-of-the-box integration/docs for this. But for now you 'll have to do the integration yourself. OptaPlanner is being successfully used for other task as

Re: [rules-users] Drools 6 Junit Random Failures

2014-04-30 Thread richardhands
Okay, after much investigation, it turns out the tests were A) using .execute, rather than insert and fireallrules type behaviour, so i refactored that to improve them a bit (gave me more control). after that, and using the debug tools suggested it lead me to the root cause of the problem. someon