In the drools script (projectJobSchedulingConstraints.drl) of example Project Job Scheduling, in the LHS of rule "renewableResourceCapacity", for the class RenewableResourceUsedDay, the variable $capacity gets the value from its field "resourceCapaciy", but I don't find this member from this class. How can it get the capacity?
Lukáš Petrovický
He/Him/His
Principal Software Engineer, Business Automation
lukas.pe...@redhat.com IM: triceo/lpetrovi
I understand that Constraint Stream can express constraints better. I am planning to change the Drools constraints in the existing project to Constraint Stream, but for the example Project Job Scheduling, I still cannot use Constraint Stream to implement it, especially the constraint renewableResourceUsedDay. The insertLogical method, I don’t know how to implement it in Constraint Stream. Will your team provide Constraint Stream implementation constraints for the example Project Job Scheduling ? Thanks again.
--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/CAEs6%2BmzaeJNa4RAgPJEReUSLm8Td6PgUS7hrdnTS8G8J5QY%3DFw%40mail.gmail.com.