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 is
spinjala wrote
Is it possible to have a rule flow file that defines a set of rules
(constraints) but executed in the order per the defined ruleflow.? I dont
see any example doing that so I was wondering if it is possible at all to
have the constraints defined with a rule flow file instead
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 way is
spinjala wrote
We have been having real hard time understanding the examples with such
limited/no documentation about the examples that are included in the
product. Did someone find any other documentation on them apart from the
5-6 paragraphs mentioned in the reference manual? Also, we
last month, Ralph wrote: /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./
Just to address this one unanswered point.
The Cloud Balancing example does support changing the problem
Rookie error -- I neglected to put the modify() in the RHS of a rule.
That'll make a big difference. :-)
--
View this message in context:
http://drools.46999.n3.nabble.com/Planner-IntConstraintOccurrence-not-being-retracted-tp4018672p4018710.html
Sent from the Drools: User forum mailing list
my error here in looking to extend CachedMoveFactory. Obviously, the moves
are cached, and not regenerated each forage.
I suppose if I wanted to achieved what I wanted, I'd just override
isMoveDoable() to make it more discerning -- but,as the JavaDoc suggests,
there's little benefit to doing
I've been building a prototype similar to CloudBalancing.
I've got IntConstraintOccurrence objects being inserted via insertLogical()
through my rules.
For some reason, I don't think these are being retracted as expected -- the
count() of accumulated IntConstraintOccurrence's ramps up to 10x what
I figured out the problem.
DefaultSolver.runSolverPhases() will go through each phase, and will revert
the changes if they're not better. Or, more exactly, here are lines 191-193:
if (it.hasNext()) {
// solverScope.setWorkingSolutionFromBestSolution();
}
I'm using v5.4. I've built a prototype which uses the constructionHeuristic,
and localSearch, as the example does, and am able to run the solver (though
it still doesn't do a good job of solving at this point).
I've now added customSolverPhase, and set it to use an initializer class
which
Right, the root of the behavior is that TRACE enables assertWorkingScore(),
which tells me that the workingScore (reflecting the score after the move)
is not the same as the uncorruptedScore (reflecting prior to the change),
and specifically, that 4 ConstraintOccurrences are mismatched. For some
re: /Double check if you aren't calling afterEntityAdded() on the
non-initialized entities too.
Also check that the construction heurstics run before the localSearch solver
does (the order in which they are declared in the config xml matters)./
Checked both.
I'll file a JIRA bug, but I'm just
On June 1st, claz12 wrote: when I try to upload the model jar file, I get
the error 'Unable to to upload the file' message box displayed.
I was able to reproduce this problem on Guvnor 5.4 / Tomcat 7 -- and
uploading a JDK1.7 compiled Jar.
The HTTP response suggested that the Java version was
13 matches
Mail list logo