Drools Planner does automated planning. It solves a planning problem while respecting the constraints as much as possible.
Drools Planner can be used on all kinds of planning problems. Let's take a look at some use cases.
Whether you are filling shipping containers, a moving truck or even just your suitcase, you are doing bin packaging. Some of the constraints can include:
Ensuring continuous customer service in a hospital, a store or a call center isn't easy. Some of the constraints can include:
Drools Planner improves the quality of service, minimizes staff size and maximizes staff contentment.
When you create a timetable for lessons, courses, exams, meetings or even conference presentations, you 'll not only pick a time, but also a room. Some of the constraints can include:
Drools Planner creates a better timetable then a human planner, in less time, while considering more constraints (especially individual teacher or student preferences).
Whether you are scheduling the olympics, major league baseball or a regional soccer competition, you 'll want an efficient and competitive schedule that respects all stakeholders, such as stadium owners, players, coaches, sponsors and of course the fans. Some of the constraints can include:
Other planning problems include:
Constraints are defined as score rules in DRL (see Drools Expert). For example:
// If a hospital patient prefers specific equipment, try to assign him/her a hospital room with such equipment.
rule "preferredPatientEquipment"
when
// If a patient prefers specific equipment
PreferredPatientEquipment($patient : patient, $equipment : equipment);
// and that patient is assigned a room
BedDesignation(patient == $patient, $room : room);
// and that room doesn't have that equipment
not RoomEquipment(room == $room, equipment == $equipment);
then
... // lower the score with a certain weight
end
Advantages include:
The planner algorithm is configured. It searches through the solutions within a given amount of time and returns the best solution found.
Drools Planner is part of the Drools community.
Continue to learn more about Drools Planner: