UniTime / cpsolver

Local-search based solver of Constraint Satisfaction and Optimization Problems
http://www.cpsolver.org
GNU Lesser General Public License v3.0
60 stars 35 forks source link

Adding Same Day Distribution constrain to Exams Solver #14

Closed rafati closed 5 years ago

rafati commented 6 years ago

In addition there is a need to add an entry in the timetable.distribution_type table

INSERT INTO timetable.distribution_type (uniqueid, reference, label, sequencing_required, req_id, allowed_pref, description, abbreviation, instructor_pref, exam_pref, visible) VALUES ('99090448', 'EX_SAME_DAY', 'Same Day', '0', '111', 'P43210R', 'Exams are to be placed at the same day .
When prohibited or (strongly) discouraged: exams are to be placed at different days.', 'Same Day', '0', '1', '1');