typo:
Planner perceives an planning variable with the planning value *null* as
being "uninitialized", not as "unassigned". This is due to
https://issues.jboss.org/browse/JBRULES-3317
--
View this message in context:
http://drools.46999.n3.nabble.com/modifying-the-problem-facts-while-running-t
spinjala wrote
>
> Once the solver finds that a workorder (WO1) couldn't be assigned to any
> resource in the list of resources (due to the constraints), it simply
> picks up the 1st resource in the list with highest hard score and assigns
> it (even though this assignment breaks all constraints)
spinjala wrote
>
> THis is what is happening now with my sample solution that I am writing..
> Once the solver finds that a workorder (WO1) couldn't be assigned to any
> resource in the list of resources (due to the constraints)...
Well, it's a slightly different problem them. Planner's approach
spinjala wrote
>
> I tried setting the scoreAttained and maximum time allowed to spend in my
> termination configuration, but none seems to stop the solver finding the
> solution that violates ALL constraints and hence throws a negative hard
> score. Is this the only way to do it or any other wa
spinjala wrote
>
> 1) When a solution violates all constraints, does it provide a default
> solution? If so, can it be changed so that it doesn't provide one?
> Otherwise, is there a way to assure that no solution is generated when ALL
> constraints are violated.
>
Let's walk through the code.
spinjala wrote
>
> I am new to Drools planner. I have one issue and wanted to understand how
> to resolve it best.
>
> I am trying to use planner to optimize the scheduling of work orders to
> resources. I have certain resources that need to be assigned to a work
> order in a way that maximizes