jielin yang
- Total activity 3
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
Posts
Recent activity by jielin yang-
Map integer to binary
AnsweredI am want to model a situation that: N is an integer variable, and n0,n1,n2 are binary variables. I wish that when N % 3 == 0, n0 = 1 and others =0; when N % 3 == 1, n1 = 1 and others =0; when N % ...