Replies: 3 comments 5 replies
-
Quick look at your constraint provider tells me your biggest problem may actually be score traps.
Obviously this example doesn't apply to your case, but it demonstrates a principle. In principle, you want to make sure that any two fundamentally different solutions have different scores. And your unweighted constraints don't accomplish that. It is possible you will need custom moves, they almost always help, but I'd start with score traps. |
Beta Was this translation helpful? Give feedback.
-
@triceo Sir, I disabled all other constraints except the one mentioned above, the score still doesn't improve, it remains ,same as the number of planning entities , -28(* the arbitary weight), is there something wrong with my implementation? |
Beta Was this translation helpful? Give feedback.
-
First always check the basics and validate constraints with a unit test (at least when running into issues better before). A debugger can be helpful as well to analyze the data structure. In your case you are comparing objects (in this case from class Course), so you need to validate that there is either:
The JSON Jackson was not referring to course objects, but creating multiple objects with the same content. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This constraint is identifying all the constraint breaking entities properly, but the score doesn't improve at all.....How can I mitigate this?
repo: https://github.com/ace19wre/TimeLith-Wizard
edit 1: I am pretty sure I have to implement custom moves to exchange the instructors based on what courses they can teach, may be a step by step in a nutshell guide will help alot.
Beta Was this translation helpful? Give feedback.
All reactions