Op 03-11-11 08:35, sirius schreef:
I'm new Drools Planner user, so sorry if my question proved to be
trivial.
Simplified problem definition:
Facts:
Workorder
Technician
Planning entity:
WorkorderAssignement {
private List<Technician> technicianList;
private Workorder workorder;
}
Workorder depends of his definiiton maybe assigned to variable number of
technicians. So, some of them require only ONE technician, but other
requires TWO technicians.
Just create a WorkOrderAssignment per workorder per
required technician.
WorkorderAssignement {
private Workorder workorder;
private Technician technician; // technician is the planning variable, not the
workorder
}
It's just like the nurserostering example. Workorder == shift and
technician == employee.
Is there possible build optimized technician list in this case?
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Planner-planning-variable-as-lis...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
With kind regards,
Geoffrey De Smet