Matlab expert on genetic algorithm

Job ID: 36508528

Budget: $30 – $250 USD

Use genetic algorithm in matlab to optimize the patient schedule appointments in a hospital.
The inputs will be

schedule: a matrix of size (n_patients, n_slots), where n_patients is the number of patients and n_slots is the number of available time slots. The (i,j)-th entry of the matrix is 1 if patient i is scheduled for time slot j, and 0 otherwise.

preferred_times: a matrix of size (n_patients, n_slots), where each entry (i,j) is the preferred time slot for patient i (1 = preferred, 0 = not preferred).

urgency: a vector of length n_patients, where each entry is the urgency level of the corresponding patient (1 = highest urgency, 0 = lowest urgency).

availability: a matrix of size (n_doctors, n_slots), where each entry (i,j) is 1 if doctor i is available at time slot j, and 0 otherwise.