[rules-users] [planner][5.3.0.Final] Benchmark

2011-10-25 Thread Guilherme Kunigami
I'm trying to upgrade from drools 5.2.0 to 5.3.0 and having some difficulties with the planner benchmark. I'd like to make a set of move factories common to all local search solvers, by adding them to inheritedSolverBenchmark block. But it seems that the localSearch environment always requires a s

Re: [rules-users] [planner] Performance question

2011-10-20 Thread Guilherme Kunigami
2011/10/19 Geoffrey De Smet > ** > > > Op 19-10-11 15:00, Guilherme Kunigami schreef: > > > >> In this use case, that is probably a bad idea in my experience. Why? Well >> I hope this makes any sense: >> *You need to allow the optimization algorithms to bre

Re: [rules-users] [planner] Performance question

2011-10-19 Thread Guilherme Kunigami
2011/10/19 Geoffrey De Smet > ** > > > Op 19-10-11 14:16, Guilherme Kunigami schreef: > > Consider I have a set of N activities with a given start and end times and > I want to assign them to a set of rooms. > > One of the main rules is to avoid two activities that h

[rules-users] [planner] Performance question

2011-10-19 Thread Guilherme Kunigami
Consider I have a set of N activities with a given start and end times and I want to assign them to a set of rooms. One of the main rules is to avoid two activities that have time conflicts, to be assigned to the same room. I devised three modelling options: [1] Do it entirely in Java code, check

Re: [rules-users] [planner] The presumed score is corrupted

2011-10-17 Thread Guilherme Kunigami
, then create problem fact to > hold the historic data up to, but *not including*, the planning window (so > it doesn't change when a planning entity changes) and let the score > constraints take it into account. > > Thanks for the advice. I'll rethink my model and try to use a

Re: [rules-users] [planner] Problem setting configuration file

2011-10-17 Thread Guilherme Kunigami
ebase And http://docs.jboss.org/drools/release/5.2.0.Final/drools-planner-docs/html/ch04.html#d0e1566 to set the rule base. Thank you for the help! > > Op 13-10-11 15:37, Guilherme Kunigami schreef: > > Geoffrey, > > Thank you, that worked! > > I was wondering now if I can

Re: [rules-users] [planner] The presumed score is corrupted

2011-10-14 Thread Guilherme Kunigami
based on remaining activities: http://pastebin.mozilla.org/1355014 > In Planner 5.4 there will be 2 out-of-the-box Move implementations to use, > so writing Move's become optional. > > Cool! By the way, I'm using Drools 5.2.0 final. Thanks, > > Op 13-10-11 16:37, Gu

[rules-users] [planner] The presumed score is corrupted

2011-10-13 Thread Guilherme Kunigami
Hi, I've implemented a very simple application using drools planner consisting of a bunch of activities. My rule file is very simple too and just counts the number of activities not assigned. When I run Solver.solve(), I get the following error message: Exception in thread "AWT-EventQueue-0" java

Re: [rules-users] [planner] Problem setting configuration file

2011-10-13 Thread Guilherme Kunigami
onf.xml"); > configurer.configure(in); > } finally { > IOUtils.closeSilently(in); > } > > Op 11-10-11 15:01, Guilherme Kunigami schreef: > > Hi, > > I'm trying to load a configuration file (namely SolverConf.xml) into > XmlSolver with the code below: > &

[rules-users] [planner] Problem setting configuration file

2011-10-11 Thread Guilherme Kunigami
Hi, I'm trying to load a configuration file (namely SolverConf.xml) into XmlSolver with the code below: XmlSolverConfigurer configurer = new XmlSolverConfigurer(); configurer.configure(SOLVER_CONFIG); Solver solver = configurer.buildSolver(); If I bundle SolverConf.xml file with the application