I am trying to use docplex to create a cost function for the longest path problem. As part of the formulation I would like to use the unit step function on a sum of variable