Run main.py script - it will trigger optimization in following stages
Objective - Minimize difference between demand and supply with the existing resources.
Variables -
- Tps (Time per practitioner and state), NonNegativeInteger
- Lps (new license assignment per practitioner and state) - Binary
Constraints -
- Therapist constraint - (p)∑Tps <= availability_per_therapist
- State constraint - (s)∑Tps <= demand_per_state
- Licensing constraint - Lps - {0, 1} if p didn’t have license in s before and p’s license_time < planning_horizon
Definitions
- p- {set of all available therapists, P}
- s- {set of all states with practice, S}
Objective - Minimize the supply deficit with the new resources.
Variables -
- Tsh (Time per new hire and state),
- Lsh (license assignment per new hire and state)
Constraints -
- New hire constraint - (h)∑Tsh <= maximum_newhire_hrs
- State constraint - (s)∑Tsh <= supply_deficit_per_state
- Licensing constraint - Lps - {0, 1} if h’s license_time < planning_horizon
Definitions -
- h- {set id of all new potential hires, H}
- s- {set of all states with practice, S}