Sliding cable modeling: A nonlinear complementarity function based framework. (1st January 2021)