What I was trying to do is , to test if optaplanner is suitable for our requirements etc. Thus, I created our own dataset of courses, ~280 courses etc. I "believe" XML I prepared is valid for sample, since it loads and optaplanner can start solving it. However, right during CH phase, it finds some (-220) hard constraint violations, specifically for the rule "conflictingLecturesDifferentCourseInSamePeriod". And for how long it tries, those violations still remain. Then when I check violations, they are actually not real violations. It is two different course, in same hours, but in different rooms, and teachers are not same. So there should be no violation for this scenario. Also actually when I scan schedule by eye, I dont see any conflict. So, I am lost right now....
Optaplanner finds unnecessary conflict for Custom dataset for curriculum example
188 views Asked by Serkan Kasapbaşı At
1
There are 1 answers
Related Questions in DROOLS
- how to use global variable in drools
- Unable to parse file 'pom.xml'
- How to write functions written in the decision manager
- Wrong answer when checking array of objects where the condition built from a group with "or" between objects, checked with other group (with "and")
- Drools 8 OSGi support
- How to inject KieRuntimeBuilder - (Migrating to Drools 8)
- Limitation of IN Operator items in drl, INoperator doesn't support huge list
- Different result for query with and without using agenda-group
- More than one condition in drools spreadsheet
- DROOLS DRL Rule Unit with RuleUnitData declaration isn't working
- KieServices are not injecting with guice
- Drools facts filtering with eval does not work for boolean with quotes ""
- Drools to decide fields to display in UI
- How to get Drools BPMN2 to evaluate Data Assignments as MVEL Expressions?
- Kogito DMN Data Types Create New Data Type Dictionary/Map
Related Questions in OPTAPLANNER
- Timefold Solver applies the constraints based on priority/order of constraints (from ConstraintProvider) by default?
- What are the algorithms that are used by default by Timefold Solver if you don't provide any configuration?
- Timefold: How to create a constraint for equipment capacity in jobs that are scheduled to employees?
- Timefold: under what situation does the Solver will choose to break hard constraint
- Nearby Selection with std configuration fails to select correct destination
- Timefold: How to unit test a variable listener?
- How to get consecutive pairs (based on their Timeslot) of Lessons in Timefold?
- How to write unit tests for Constraints where it is applied penalizeConfigurable() method in Timefold?
- use constraints dynamically sent by api's body
- OptaPlanner - use groupBy for avoidOvertime but only on the Resource creating the overtime
- How to create a model that assigns a time, employee, and equipment to a job?
- How to choose dynamically which constraints should be applied on the optimization problem based on the frontend input in Timefold Spring Boot?
- timefold.ai partial pinning
- OptaPy error when using @inverse_relation_shadow_variable
- Optaplanner termination strategy based on dynamic score
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Actually I found the problem, well it is not a problem in first place :) Maybe rule name is little bit misleading. Anyway, problem is actually in too crowded curriculums. Like we had 30-40 courses, which makes 80-100 lectures. And for a 45 hours week, it is impossible to fit everything. And I assume the rule "conflictingLecturesDifferentCourseInSamePeriod", checks "different" courses of same curriculum.
So, when I reduce course counts by splitting curriculumns into 4 for each, violations reduced to 0 .
Believe this will be a valuable info to whom couldnt understand mentioned rule's purpose.
Thanks.