Questions tagged [drools-planner]

Drools Planner optimizes planning, routing and scheduling. It solves resource optimization problems such as bin packing, vehicle routing, employee rostering and course timetabling. It scales out in data and constraints. It's open source (ASL), pure java and enterprise ready.

Drools Planner has been renamed to OptaPlanner. It is a lightweight, embeddable planning engine written in Java™. It helps normal Java™ programmers solve constraint satisfaction problems efficiently. Under the hood, it combines optimization heuristics and metaheuristics with very efficient score calculation.

148 questions
0
votes
1 answer

Drools Planner Move

I don't have a lot of experience programming, let alone with Drools, but I am doing a project similar to the one of vehicle routing. Almost everything works fine, except for some moves, depending on the random seed. The problem is that, once the…
unugarte
  • 3
  • 1
0
votes
1 answer

Drools Planner: Planner not providing expected result based on Best Score

I have tried posting on the user forum for Drools, but haven't been getting any responses (I am sure they are just busy), so I am hoping to attract a wider audience here. I am very confused by the results I am getting as they seem to not be…
PaulP1975
  • 528
  • 1
  • 5
  • 12
0
votes
1 answer

Set Working Directory in Netbeans in Drools Planner example

when I build the Drools Planner Examples pom project i get these errors on tests: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.624 sec <<< FAILURE! …
Tom Jerry
  • 39
  • 1
  • 9
0
votes
1 answer

Drools planner: nurse rostering scenario configuration with competition.xsd

I am modelling a personnel rostering based on Drools Planner Nurse Rostering. I am toying with the *.xml samples based on the competition.xsd schema. The schema is in general very clear, but there are so many configuration parameters that I am not…
Alberto De Caro
  • 5,147
  • 9
  • 47
  • 73
0
votes
1 answer

drools DRL classpath resource

I have a grails app with an XMLSolverFactory, loading it's XML configuration file from ./myapp/grails-app/conf/ with the code below. It cannot find the DRL file from the same path though. How can I get an XML configured Solver to find a classpath…
gregn
  • 1,260
  • 1
  • 14
  • 25
0
votes
1 answer

Team Formation using Drools Planner

Advice on whether it would be possible to implement this is Drools Planner: The problem involves team formation. Strong constraints: Students must be placed in N groups Each group must contain X group members Weak Constraints (possible ordered or…
orbital
  • 943
  • 3
  • 16
  • 28
0
votes
3 answers

Rule for checking if object is in list

how can I check via Drools Rule Language (DRL) if an object is also part of a list? Let's take a look at the exam example. Image the situation that an exam has a Room and also a List. Now I want to check, if the Room object is in the List. Is there…
Vivid
  • 399
  • 1
  • 8
  • 19
0
votes
3 answers

Drools Planner examination example has only one Topic

I tested out the examination example of Drools Planner. After a while I wanted to solve a unsolved problem. I started the app, selected an xml-file and hit the solve button. In my XML file were 5 exams with 5 different topics (t1, t2, t3, t4,…
Vivid
  • 399
  • 1
  • 8
  • 19
0
votes
2 answers

Drools planner says "Solving failed" with NullpointerException

I used the examination example of drools planner to create my own example. I renamed the classes und erased every rule except one. The application started and I could load my XML-File. When clicking the "solve"-Button an error occured:…
Vivid
  • 399
  • 1
  • 8
  • 19
0
votes
3 answers

Drools best score is null

I'm using Drools 5.4.0.CR1 and when I start with ... XmlSolverFactory configurer = new XmlSolverFactory(); configurer.configure(SOLVER_CONFIG); Solver solver =…
Tommaso Taruffi
  • 8,932
  • 9
  • 44
  • 56
-1
votes
1 answer

Optaplanner with TimeWindow

I need help for one question with Time Window I am beginner with Optaplanner For object VrpTimeWindowedCustomer we have some fieldes: readyTime, dueTime and serviceDuration In my problem I have 3 deliveries One up to 6:15 pm another up to 6:30…
-2
votes
2 answers

Can Drools offer a near optimal solution in this scheduling project?

I have been assigned a project that requests scheduling (construction of a timetable) about 30 resources on 2 shifts/day for a 6 months period with pretty complicated hard constraints like No consecutive days shifts for each resource: sum of total…
ChrisV
  • 11
  • 1
-4
votes
1 answer

Routing a Heterogeneous Fleet of Vehicles

I know it is possible to solve a VRP problem using OptaPlanner. I would like to know if it is possible to route a Heterogeneous Fleet of Vehicles using OptaPlanner.
1 2 3
9
10