[rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

Geoffrey De Smet ge0ffrey.spam at gmail.com
Thu Jul 24 04:40:18 EDT 2014


(this is indeed a Drools question)
It's a matter of adding Java annotations on those declared fact types.
I don't know if Drools supports that.

It would be nice if we have an example to demonstrate that.
Feel free to open a jira on OptaPlanner that we should create such an 
example.

On 24-07-14 10:15, colorful.world wrote:
> Hi guys,
>
> Recently, I have successfully implemented drools project with dynamic domain
> attributes(using declare facts type in drl) and dynamic rules(using drl rule
> string) which allows the users to easily add and change the domain classes
> and rules from GUI.
>
> But, when we come to have auto allocation with this requirement (using
> OptaPlanner), we are having difficulties to achieve this dynamic classes
> feature.
>
> So, is there a way we can define like planning entities and variables in
> 'declare fact type' (or)
> has anyone achieved this kind of mechanism using Optaplanner??
>
> Thanks in advance for your time and suggestions.
>
>
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/optaplanner-creating-dynamic-fact-classes-planning-entity-and-planning-variables-in-Optaplanner-tp4030473.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list