Robust optimization of system compliance for physical interaction in uncertain scenarios