[rules-users] Drools Planner changing problem fact

Ralph Schwitalla ralphschwitalla at me.com
Wed Jun 20 05:13:07 EDT 2012


Hi all,
i am new to drools planner and try to model a 2dimensional rectangle packing
problem. 
I have some problems modelling the problem facts because one of them (the
list of free spaces) is constantly 
changing.

For example I have a list of rectangles I try to pack on a fixed size layer.
This list is fixed. 
But the list of free space is dynamic (first you have the whole layer as
free space, 
then you cut out the space occupied by the first rectangle which gives you 3
remaining free spaces, and so on)

All the examples in the drools-planner-examples seem to have a fixed list of
problem facts (rooms, teachers, timeslots) which only should be combined
optimally. 

How can a dynamic number of problem facts be modelled?

Greetings Ralph 

--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Planner-changing-problem-fact-tp4018087.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list