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
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
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
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
, 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
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
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
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
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:
>
&
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
10 matches
Mail list logo