Consider a film shoot composed of n {\displaystyle n} shooting days and involving a total of m {\displaystyle m} actors. Then we use the day out of days matrix (DODM) T 0 ∈ { 0 , 1 } m × n {\displaystyle T^{0}\in \{0,1\}_{m\times n}} to represent the requirements for the various shooting days. The matrix with the ( i , j ) {\displaystyle (i,j)} entry given by:
Then we define the pay vector R m {\displaystyle {\mathfrak {R}}^{m}} , with the i {\displaystyle i} th element given by c i {\displaystyle c_{i}} which means rate of pay per day of the i {\displaystyle i} th actor. Let v denote any permutation of the n columns of T 0 {\displaystyle T^{0}} , we have:
σ n {\displaystyle \sigma _{n}} is the permutation set of the n shooting days. Then define T ( σ ) {\displaystyle T(\sigma )} to be the matrix T 0 {\displaystyle T^{0}} with its columns permuted according to σ {\displaystyle \sigma } , we have:
Then we use l i ( σ ) {\displaystyle l_{i}(\sigma )} and e i ( σ ) {\displaystyle e_{i}(\sigma )} to represent denote respectively the earliest and latest days in the schedule S {\displaystyle S} determined by a which require actor i {\displaystyle i} . So we can find actor i {\displaystyle i} will be hired for l i ( σ ) − e i ( σ ) + 1 {\displaystyle l_{i}(\sigma )-e_{i}(\sigma )+1} days. But in these days, only r i = ∑ j = 1 n t i j 0 {\displaystyle r_{i}=\sum _{j=1}^{n}t_{ij}^{0}} days are actually required, which means h i ( S ) {\displaystyle h_{i}(S)} days are unnecessary, we have:
The total cost of unnecessary days is:
K ( σ ) {\displaystyle K(\sigma )} will be the objective function we should minimize.2
It can be proved that the talent scheduling problem is NP-hard by a reduction to the optimal linear arrangement(OLA) problem.3 Even if we restrict the problem by requiring that each actor is needed for just two days and all actors' salaries are 1, it's still polynomially reducible to the OLA problem. Thus, this problem is unlikely to have pseudo-polynomial algorithm.4
The integer programming model is given by:5
In this model, e i {\displaystyle e_{i}} means the earliest shooting day for talent i {\displaystyle i} , l i {\displaystyle l_{i}} is the latest shooting day for talent i {\displaystyle i} , x j , k {\displaystyle x_{j,k}} is the scheduling for the project, i.e.
Cheng, T. C. E.; Diamond, J. E.; Lin, B. M. T. (1 December 1993). "Optimal scheduling in film production to minimize talent hold cost". Journal of Optimization Theory and Applications. 79 (3): 479–492. doi:10.1007/BF00940554. S2CID 120319128. Retrieved 25 July 2022. https://link.springer.com/article/10.1007/BF00940554 ↩
Garey, M. R.; Johnson, D. S.; Stockmeyer, L. (1 February 1976). "Some simplified NP-complete graph problems". Theoretical Computer Science. 1 (3): 237–267. doi:10.1016/0304-3975(76)90059-1. ISSN 0304-3975. https://doi.org/10.1016%2F0304-3975%2876%2990059-1 ↩
Garey, M. R.; Johnson, D. S. (1979). Victor Klee (ed.). Computers and Intractability: A Guide to the Theory of NP-Completeness. A Series of Books in the Mathematical Sciences. San Francisco, Calif.: W. H. Freeman and Co. pp. x+338. ISBN 0-7167-1045-5. MR 0519066. 0-7167-1045-5 ↩
Close Kochetov, Y. (2011). Iterative local search methods for the talent scheduling problem. In Proceedings of 1st international symposium and 10th Balkan conference on operational research, September 22, Thessaloniki, Greece (pp. 282–288). ↩