Okey

I have difficult to calcute the absolute value in a constraint with two variables

DX=ABS(X2-X1)

I try get the absulute value with these pair of constraints

DX>=X2-X1

DX>=X1-X2

Similar questions and discussions