Re: [rules-users] best rule for grouping planning entities?

2013-01-23 Thread Reinis
o Wolfgang for pointing your message out and recognizing similarity of the problem. br Reinis On 01/23/2013 09:08 AM, Michiel Vermandel wrote: > Hi, > > I need to group a number of entities together and I'm not sure if my > rule is optimal. > > My planning entities represe

Re: [rules-users] Drools planner Score corruption issue: how to tackle?

2013-01-11 Thread Reinis
ue(toValue); scoreDirector.beforeVariableChanged(myPlanningVariableInstance, "myPlanningVariable"); //notice how I use beforeVariableChanged instead of afterVariableChanged... } } br Reinis On 01/10/2013 03:30 PM, Geoffrey De Smet wrote: > > Op 10-01-13 10:54, Michiel Vermandel schreef:

Re: [rules-users] Purpose of difficultyWeightFactoryClass in @PlanningEntity annotation.

2013-01-07 Thread Reinis
says what BEST_FIT or, respectively, BEST_FIT_DECREASING does. I hope I could at least give you couple of ideas on where to proceed with the issue. br Reinis On 01/07/2013 09:26 PM, Michiel Vermandel wrote: > Hi, > > I am struggling with the purpose of difficultyWeightFactoryClass

Re: [rules-users] Fwd: Retrieving constraints based on a manual solution

2013-01-07 Thread Reinis
lassObjectFilter(ConstraintOccurrence.class)); while (it.hasNext()) { //here you collect constraint occurrences and prepare your report } Hope this helps, for a complete example of the usage of this (internal!) api see drools planner examples from Geoffrey on Git. br Reinis On 01/

[rules-users] Dedication to Wolfgang Laun - Thank You

2013-01-06 Thread Reinis
time to help me to solve my drools problem. So cheers to you, Wolfgang - a scientist, a mentor, a friend. Reinis ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] [planner] Looking for testimonials for Drools Planner

2012-12-22 Thread Reinis
mproved for 100 steps) used ram: 350 MB - 360MB used cpu: 50% - 60% used solution algorithm: simulated annealing and tabu search I hope this helps. kind regards Reinis On 12/20/2012 01:28 AM, Willem van Asperen wrote: > On 12/16/2012 02:06 PM, Reinis wrote: >> Country: Germany >> Compa

Re: [rules-users] [planner] Looking for testimonials for Drools Planner

2012-12-16 Thread Reinis
sage optimization. kind regards Reinis On 12/11/2012 03:40 PM, Geoffrey De Smet wrote: > Hi Planner users, > > I need your help :) > Lately, several people have been asking me for public testimonials for > Drools Planner. > So if you're a Planner user, would like to say a few words

Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning System

2012-04-10 Thread Reinis
and number of other less useful changes still, if I add these rules the calculate count goes down from approx 5300 to 2000 per second which is more than a half. Thanks and kind regards, Reinis On 04/06/2012 01:50 PM, Geoffrey De Smet wrote: > I just realized that the graph only prints out valu

[rules-users] [Drools Planner] Proof-of-Concept Stock-planning System

2012-04-03 Thread Reinis
n solving this sort of problem with drools planner? thanks and br Reinis ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored - How to isolate a working memory corruption in drools expert

2012-03-13 Thread Reinis
rking memory state depend on such sort of things and that it is intended behavior. kind regards Reinis On 03/10/2012 08:24 PM, Wolfgang Laun wrote: > The Rete algorithm imposes severe restrictions on the way fact updates > may be performed and the when and where these changes are advert

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored - How to isolate a working memory corruption in drools expert

2012-03-10 Thread Reinis
Final, will look at > 5.4.0.Beta2 later today. > > As far as I can see, the test case asserts the correct result which > Drools produces anyway? > > -W > > On 09/03/2012, ge0ffrey <mailto:ge0ffrey.s...@gmail.com>> wrote: > > Great wor

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored - How to isolate a working memory corruption in drools expert

2012-03-10 Thread Reinis
com>> wrote: > > Can't reproduce the described effect with 5.3.0.Final, will look at > 5.4.0.Beta2 later today. > > As far as I can see, the test case asserts the correct result which > Drools produces anyway? > > -W > &

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored - How to isolate a working memory corruption in drools expert

2012-03-08 Thread Reinis
Hi all, update. I created JBRULES-3416 now and added unit test to replicate this: https://github.com/droolsjbpm/drools/pull/106 If anyone would find the time to cross-check it, would be great! On 03/04/2012 02:56 PM, Geoffrey De Smet wrote: > > Op 04-03-12 10:43, Reinis schreef: >

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored - How to isolate a working memory corruption in drools expert

2012-03-04 Thread Reinis
Geoffrey described; 2. retrieve scoreCalculator after firing all rules; 3. assert scoreCalculator.getSoftConstraintsBroken() == 6 (<- and this would be correct) Thank you for your hints, guys! Reinis On 02/28/2012 11:52 AM, Geoffrey De Smet wrote: > Hi Reinis, > > So drools-core 5.4.0.

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored

2012-02-27 Thread Reinis
e("reward Resource consolidation", ConstraintType.POSITIVE , 1, $leftAssignment, $rightAssignment)); end * If I comment the "reward Resource consolidation" rule out, the test case completes successfully. * Is there anything else I can try? br Reinis On 02/27/2012 09:46 AM, Geoffrey

Re: [rules-users] [Drools Planner] Hard constraint appears to be ignored

2012-02-26 Thread Reinis
nal Thank you for the hints! Is the "eval" causing all this trouble? br Reinis On 02/26/2012 06:45 PM, Geoffrey De Smet wrote: > 1) If you haven't already, can you turn onTRACE > and let it run a while (it will be much slower)? > Report here if that crashes or not. >

[rules-users] [Drools Planner] Hard constraint appears to be ignored

2012-02-26 Thread Reinis
ar to be correct; - moves are simple and I tried to keep them consistent with the way moves in drools-planner examples are constructed; Would be great if you could give me a hint to what direction I should look next. br Reinis ___ rules-users mailing li