Closed KarthikRv93 closed 5 years ago
The Objectives column shows the difference in the parameter when the change is done. As the solver tries to minimize the weighted sum of various criteria, the preferences has the following values:
Please note that Available Instructors table considers the whole change, including the conflicting assignment that would have to be unassigned. So, because there would be one less teaching assignment assigned that prefers two attributes, the difference in the attribute preference would be +2 from what it is now.
In the Assigned Instructors table, the Objectives shows the change of just this particular assignment and as the instructor satisfies both prefered attributes, this assignment contributes to the overall attribute preference by -2 (please note that we want to minimize the overall value, so a negative value is what we want).
@tomas-muller, Thanks for your reply :) I understand the other part of your answer, but I don't understand when you say:
" Please note that Available Instructors table considers the whole change, including the conflicting assignment that would have to be unassigned. So, because there would be one less teaching assignment assigned that prefers two attributes, the difference in the attribute preference would be +2 from what it is now " In the above scenario : MAT-342 has to be assigned to Prof.Tim Ferguson even though I consider all the constraints as you have mentioned in the above answer. I am asking this question because this is happening for a lot of other professors as well. So I want to understand the reason behind the wrong results so that we can change the data accordingly. If possible, can you explain taking the above example of MAT-342 which will clarify our doubt on other cases as well.
Well, the question was about attribute preferences. The Prof."Eric Kostelich" is currently assigned to the section on the first screenshot and he is meeting both preferred attribute, hence the value -2 (-1 for each satisfied preferred attribute). This takes into account this one assignment and its contribution to the various optimization criteria.
The Prof.Tim Ferguson has currently a full schedule (I am guessing here), so assigning him to the above section would mean he would get removed from MAT 142 which looks like also has two satisfied preferred attributes. So, making the change (assigning Prof.Tim Ferguson to MAT 343 and leaving MAT 142 not assigned) has a difference in the attribute preferences +2 (no change for MAT 343 as we are swapping two instructors that meet both preferences, two no longer satisfied preferences for MAT 343).
Please note that you can explore a bigger change by following up on the assignments (click on the instructor in the Available Instructors table, than click on the unassigned teaching assignment and find a new instructor for it, etc.). For instance, see what a difference it would make in the cost to actually swap the two professors between the two courses. You can also see the Suggestions that try to do just that automatically (ordered by the cost of the change). Usually, if you left the solver running long enough, you should not be able to make any simple swap of two variables that would improve the overall solution value (while the solver cannot guarantee optimality, the produced solution is usually at least locally optimal).
You say that the results are wrong and that the MAT 342 (the screenshot is for MAT 343) has to be assigned to Prof.Tim Ferguson, I do not see that in the data. There is only that one soft course preference on the instructor that can be easily overpowered by other criteria (e.g., the two distribution preferences).
So, please, do try to make the changes you think the solver should have done and see if they are even feasible to make and what they would mean in terms of the overall solution value. It is possible you may need to adjust the weights of some of the criteria to better suit your needs (e.g., put more weight on the Course Preferences).
@tomas-muller, we are finding difficulty in understanding the logic behind the calculation of the scores involved while assigning a subject to an instructor based on various parameters set in the applications.
Screenshot 1: Solver score of Prof.Eric Kostelish
Screenshot2: Solver score of Prof.Tim Ferguson
With reference to the screenshots above, Prof."Eric Kostelich" has been assigned with this course when he has not set any kind of preferences( Time preference = Neutral, No course preference). Where as prof."Tim Ferguson" has set the MAT-342 as his preferred course and the time preference matches with the time of the class. Yet he's not assigned with this class. Under the objectives column we are not able to interpret how the values are calculated for entries such as Attribute preferences, same course, teaching preferences and time preferences. Specifically, we want to understand how Prof.Eric Kostelich's attribute preference is -2 and Prof.Tim Ferguson has +2.
Please find the preferences info for both the professors :
Prof.Eric Kostelishs attribute preferences
Prof.Tim Ferguson's attribute preferences