Spaces:
Sleeping
Sleeping
Update objective_engine.py
Browse files- objective_engine.py +4 -4
objective_engine.py
CHANGED
|
@@ -51,12 +51,12 @@ class ObjectiveEngine:
|
|
| 51 |
"subject_repetition": 10,
|
| 52 |
"morning_core": 5,
|
| 53 |
"late_heavy": 5,
|
| 54 |
-
"faculty_gaps":
|
| 55 |
-
"student_gaps":
|
| 56 |
-
"isolated_afternoon":
|
| 57 |
"campus_movement": 3,
|
| 58 |
"faculty_load_balance": 1,
|
| 59 |
-
"no_first_hour_free":
|
| 60 |
}
|
| 61 |
|
| 62 |
self.penalties: List[cp_model.IntVar] = []
|
|
|
|
| 51 |
"subject_repetition": 10,
|
| 52 |
"morning_core": 5,
|
| 53 |
"late_heavy": 5,
|
| 54 |
+
"faculty_gaps": 30,
|
| 55 |
+
"student_gaps": 100,
|
| 56 |
+
"isolated_afternoon": 100,
|
| 57 |
"campus_movement": 3,
|
| 58 |
"faculty_load_balance": 1,
|
| 59 |
+
"no_first_hour_free": 50
|
| 60 |
}
|
| 61 |
|
| 62 |
self.penalties: List[cp_model.IntVar] = []
|