I am currently working on a large workforce/manpower planning model for an aviation company. This model should decide whether to hire a new pilot or to let pilots fly overtime. It has two skillsets. Copilots and Captains. Captains can only be hired from the copilots.
Each Skillset contains 24 salary steps. Each step will earn more money than the previous step. Each Pilot will jump one step after one year so the pilots in the highest steps will be there the longest and will hence upgrade first from copilot to captain. If the model decides I will need a captain this month.
All the copilots from step 17 onward will be upgraded to the captains side but will be integrated in step 7 of the captains side. Step 16 will be integrated into step 6 and so forth until step 11 to 1 which will be upgraded to step 1 on the captains side. Also, the model should be forced to take the copilot of the highest step first. There are following sets in the model s E Skills {"co","cpt"} t E Month {Ranging from 1 to 12} i E Salary Steps{Ranging from 1 to 24}
I use following decision variables for the Balance constraint
$W_{s,t,i} = Workforce$
$h_{s,t,i} =$ hiring of a copilot or captain
$u_{t,i} = $ upgraded Pilots at month t from step i
I have following constraints:
$h_{cpt,t,7} = u_{t,18} + u_{t,17} $ this has to hold for all t
$h_{cpt,t,6} = u_{t,16} $
$h_{cpt,t,5} = u_{t,15} $
$h_{cpt,t,4} = u_{t,14} $
$h_{cpt,t,3} = u_{t,13} $
$h_{cpt,t,2} = u_{t,12} $
$h_{cpt,t,1} = u_{t,i} $ this has to hold for i <= 11
Furthermore the balance constraint:
$w_{co,t,i} = w_{co,t-1,i} - u_{t,i} + h_{co,t,i}$
$w_{cpt,t,i} = w_{cpt,t-1,i} + h_{cpt,t,i}$
Also:
$h_{co,t,i} = 0 $ for all i > 1
$h_{cpt,t,i} = 0 $ for all i > 7
Right now my model will take the pilots out of step 11 of the copilot skill and put it in the correct step of the captains side. Then it will use the copilots out of step 12 and put them in the right step of the captain salary scale. I want it that it should use first the copilots from step 18 and work the other way around. Disregard step 18 to 24 of the copilot salary scale the workforce will always be 0 in these steps. They are included because the captains salary scale has more steps.