encode_preferences: Title

Description Usage Arguments

Description

There is a potential target solution, but it doesn't strictly adhere to the constraint functions. We can do this with GAs by defining a penalized fitness function. So can we now use this method to optimise the rota. Let's start with the simple case of 2 doctors, each to fill 2 days, with alternate day preferences. I.e. the solution is already in their preferences.

Usage

1

Arguments

x

DocEd/optimal.rota documentation built on Sept. 27, 2021, 1:07 p.m.