Re: [rules-users] Problem with chained planning variables

2013-10-25 Thread Geoffrey De Smet
Upgrade to 6.0.0.CR5 (follow the upgrade recipe txt) and take advantage of the new feature called "shadow variables" (see docs). Also see the VRP with timewindows example for an implementation that uses shadow variables :) On 25-10-13 00:27, Juan Ignacio

[rules-users] Monte Carlo and additional Optimisers for OptaPlanner

2013-10-25 Thread sirinath
Hi, Is it possible to provide more out of the box optimisers and solvers as part of OptaPlanner. Also add functionality for simulations (Monte Carlo) which would be a good addition and fit. Suminda -- View this message in context:

Re: [rules-users] Monte Carlo and additional Optimisers for OptaPlanner

2013-10-25 Thread Geoffrey De Smet
On 25-10-13 12:50, sirinath wrote: Hi, Is it possible to provide more out of the box optimisers and solvers as part of OptaPlanner. Yes, we're trying to add more every major release. For 6.1 we 'll probably add the CH's cheapest insertion and regret insertion. If you want to add one

Re: [rules-users] Error deploying knowledge-base.war on tomcat6

2013-10-25 Thread xat
After several tries and jar additions to war file I got more logs on the error: Oct 25, 2013 3:16:54 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive drools-service.war Oct 25, 2013 3:16:55 PM org.apache.catalina.core.ApplicationContext log INFO:

Re: [rules-users] Cannot use ViewChangeEventListener in tests

2013-10-25 Thread mreynolds
I fixed the issue today, it was a subtle bug that I overlooked in the helper class that creates the knowledge session. I had a local variable for the session but I never used it. Therefore, when ever I called the getKnowledgeSession method it built a new one, instead of returning the one it

Re: [rules-users] Monte Carlo and additional Optimisers for OptaPlanner

2013-10-25 Thread sirinath
Where is Drools chance hosted? Perhaps GA/GP can be a part of this? Also Monte Carlo. Maybe the current way to do is awkward? Is this covered in the documentation? On 25 Oct 2013 17:54, ge0ffrey [via Drools] ml-node+s46999n4026497...@n3.nabble.com wrote: On 25-10-13 12:50, sirinath wrote:

Re: [rules-users] Monte Carlo and additional Optimisers for OptaPlanner

2013-10-25 Thread Geoffrey De Smet
On 25-10-13 16:08, sirinath wrote: Where is Drools chance hosted? https://github.com/droolsjbpm/drools-chance Perhaps GA/GP can be a part of this? Yes, here's a Genetic Algoritms prototype for OptaPlanner: https://github.com/elsam/optaplanner Results with GA's were poor, but we're

Re: [rules-users] Monte Carlo and additional Optimisers forOptaPlanner

2013-10-25 Thread sirinath
Option pricing and calculating the Greeks. Why is GP/GA poor in performance? Best is to find a way to make it gain performance. Otherwise what is the use of adding just for the sake of adding it. Also it would be good to have journaling / event sourcing option for the engine along side logging.

Re: [rules-users] Question about custom accumulation functions

2013-10-25 Thread mikerod
On a somewhat related note: I have a rule, where the value of #getResult may match the constraint at some point during the accumulation, but later on will result in a value that does not match the constraint anymore. So in my scenario, the LHS of the rule is true at some point during the