[rules-users] feature request : load config/drl files using full path

2009-07-05 Thread Laurent Michenaud
Hi, We would need that the file solver-config.xml and the rules files (*.drl) can be loaded using a full path. For the moment, only the classpath is used to load these files. Thanks Michenux ___ rules-users mailing list rules-users@lists.jboss.org

RE : [rules-users] Re: the n best solutions on a ver y simple test case(drools-solver)

2009-07-05 Thread Laurent Michenaud
er() b) Or did you use xstream ability to configure in your BestSolutionRecaller implementation directly? BTW: other feed-back on how to improve drools-solver is welcome With kind regards, Geoffrey De Smet Laurent Michenaud schreef: > Hi, > > We have implemented a best score recaller to

[rules-users] the n best solutions on a very simple test case

2009-07-02 Thread Laurent Michenaud
Hi, We have implemented a best score recaller to keep the n best found solutions. It seems to be ok except on very simple test cases : - On the first step, 4 moves are tested. They all return a feseable score. The best one is kept and sent to the solution recaller. - After each of these moves,

RE : RE : RE : [rules-users] Re: [drools-sol ver] help for definingmy droolsmodel/ moves

2009-07-01 Thread Laurent Michenaud
users@lists.jboss.org Objet : Re: RE : RE : [rules-users] Re: [drools-solver] help for definingmy droolsmodel/ moves Probably a typo (no ; after AppointmentSlot() ?), take a look at the examination example's roomCapacity rule to compare. With kind regards, Geoffrey De Smet Laurent Michenaud sch

RE : RE : [rules-users] Re: [drools-solver] help for defining my droolsmodel/ moves

2009-06-30 Thread Laurent Michenaud
not IntConstraintOccurrence( ruleId == "mySoftConstraint", constraintType == ConstraintType.NEGATIVE_SOFT, causes contains $appointmentSlot, eval(weight != ($appointmentSlot.getCurrentDistance() + ( $appointmentSlot.getNbShift

RE : [rules-users] Re: [drools-solver] help for defining my drools model/ moves

2009-06-29 Thread Laurent Michenaud
0 of that profession. 3) On trunk you can plug in a custom deciderScoreComparatorFactory and a custom ScoreDefinition. Keep the annoying constraint separately in the Score and make your deciderScoreComparatorFactory ignore it every 50 steps for a duration of 10 steps. With kind regards, Geoffrey

[rules-users] [drools-solver] help for defining my drools model / moves

2009-06-29 Thread Laurent Michenaud
Hi, Here is my test : I have an appointment to schedule on a customer availability. I have a list of customer availabilities. A customer availability is a period. An appointment needs an exact number of persons. A resource is composed of persons ( between 1 and n ) and has availabilities too. Th