---
# System prepended metadata

title: Projeto

---

# Projeto

## Variables
Pij - Instructor's i preference for course j
Mij - Instructor's i preference for MWF class times j
Tij - Instructor's i preference for TuTh class times j
Ci - Course load required for professor i
Qij - Instructor's i qualification to tech course j
Nj - Number of classes required for course j

## Desision Variables
### Non-Binary 
Xij - Number of classes taught by Instructor i in course j

### Binary
Yij - Insctructor i teachs course j classes 
Zij - Insctructor i teachs course j classes in MWF
Kij - Insctructor i teachs course j classes in TuTh

## Objective Function
Maximize Yij * Pij + Zij * Mij + Kij * Tij

## Restrictions

Profs can only teach classes their qualified to
nr of courses a teacher can teach (ideally <=2)
for course CS03 profs can teach ony 2 classes
number of classes given to professors has to be the same as the required for the course
no professor must teach 2 sequencial classes


## Assumptions

Classes belonging to the same schedule are at the same time on different days.

When the professors are assign classes slots, they are not restricted by order, meaning that if a teacher teaches at 9:10 and 11:30 they can choose wether it is CSO1 followed by CSO3 or vice versa.
