Re: [rules-users] Drools Planner examples applications running more than 10 minutes?

2011-07-15 Thread Geoffrey De Smet
Prabakar,

The alternative would be a custom algorithm, which will be slower than 
Planner.
However, you should limit how long you want Planner to solve. I'd 
recommend a short time in your case, such as 30 seconds or 1 minute.
It depends on the size of your data set of course.
Planner 5.3 will support out-of-the-box construction heuristics.
If time is really short, you might you use a construction heuristic and 
no tabu search or SA at all (although I 'd still recommend to do a few 
seconds of TS or SA anyway).

Also, you probably don't want more Planners running at the same time 
than your numberOfCpuCores - 1.
In that situation you 'll want to queue the planning jobs: there's no 
jbpm-planner integration yet that does that for you yet, but patches 
(pull requests) are welcome ;)

Op 14-07-11 21:39, DroolersEye schreef:
 Hi Geoffrey De Smet,

 thanks lot for your reply,

 I almost try all the examples in the examples GUI main page. Now I
 understand why it takes long time...to get the best out of best (I spend
 some time to understand the algoritms like tabu search, simulated
 annealing).
 Here I have the suituation like this, In my process flow (using JBPM5), one
 of the node providing input(pojo) to the Drools Planner and the process
 waiting for the result from from the Drools Planner(pojo) that output pojo
 is the input data for the next node in the process flow.
 In the above scenario what is your advise to me, Is Drools Planner is good
 in this flow? I worried for the time taken by the planner to complete the
 task. This will affect the whole process time.

 Please advise me,


 -

 with kind regards,
 Prabakar
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Re-rules-users-Drools-Planner-examples-applications-running-more-than-10-minutes-tp3168326p3170133.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


-- 
With kind regards,
Geoffrey De Smet


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools Planner examples applications running more than 10 minutes?

2011-07-14 Thread Geoffrey De Smet
Hi Prabakar,



Op 13-07-11 18:58, DroolersEye schreef:
 drools planner example programmes running long time
The more time you give a planning problem, the better solution it will be.
Many examples are configured to run for 10 minutes,
but yield a good, feasible solution after a minute or less.
Just click the terminate early button to see it.
Planner examples 5.3 will be able to refresh the gui screen as the 
planner finds new best solutions.
However, if you do give it 10 minutes, you 'll get a even better solution.
   (eg. more than 10
 minutes...and keep running stopped half way).
The examples which big data and many constraints take a few seconds 
(sometimes even a minute) to initialize.
That's probably what you're seeing.
   Is my installation wrong or is
 this the intended behavior?
Probably intended: Which example did you try out? Copy/paste the log if 
you're unsure it's intended.
   pls advise me. The documentation (user guide is
 bit abstract for me ...the examples screen shots are not the updated
 one(expected 5.2)) .
True (although I doubt it hinders much).
Screenshots are a maintenance nightmare. Please create a jira for this: 
http://issues.jboss.org
 Do you have any developer guide or any rference
 material to understand more.
The reference manual (user guide) and the examples centralize all the 
material we got.
Could you point out where the user guide was to abstract to understand?

 Thanks,
 Prabakar

 -
 Drooler
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Drools-Planner-examples-applications-running-more-than-10-minutes-tp3166681p3166681.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


-- 
With kind regards,
Geoffrey De Smet


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools Planner examples applications running more than 10 minutes?

2011-07-14 Thread DroolersEye
Hi Geoffrey De Smet,

thanks lot for your reply,

I almost try all the examples in the examples GUI main page. Now I
understand why it takes long time...to get the best out of best (I spend
some time to understand the algoritms like tabu search, simulated
annealing).
Here I have the suituation like this, In my process flow (using JBPM5), one
of the node providing input(pojo) to the Drools Planner and the process
waiting for the result from from the Drools Planner(pojo) that output pojo
is the input data for the next node in the process flow. 
In the above scenario what is your advise to me, Is Drools Planner is good
in this flow? I worried for the time taken by the planner to complete the
task. This will affect the whole process time.

Please advise me,


-

with kind regards,
Prabakar
--
View this message in context: 
http://drools.46999.n3.nabble.com/Re-rules-users-Drools-Planner-examples-applications-running-more-than-10-minutes-tp3168326p3170133.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools Planner examples applications running more than 10 minutes?

2011-07-13 Thread DroolersEye
drools planner example programmes running long time (eg. more than 10
minutes...and keep running stopped half way). Is my installation wrong or is
this the intended behavior? pls advise me. The documentation (user guide is
bit abstract for me ...the examples screen shots are not the updated
one(expected 5.2)) . Do you have any developer guide or any rference
material to understand more.

thanks,
Prabakar

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-examples-applications-running-more-than-10-minutes-tp3166674p3166674.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools Planner examples applications running more than 10 minutes?

2011-07-13 Thread DroolersEye
drools planner example programmes running long time (eg. more than 10
minutes...and keep running stopped half way). Is my installation wrong or is
this the intended behavior? pls advise me. The documentation (user guide is
bit abstract for me ...the examples screen shots are not the updated
one(expected 5.2)) . Do you have any developer guide or any rference
material to understand more. 


Thanks,
Prabakar

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-examples-applications-running-more-than-10-minutes-tp3166681p3166681.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users