Mixed-integer linear problems encoding of dynamics and constraints