Define the relative displacement between two nodes as an optimization response (DRESP2 / function response)