Waseem Akram
- Total activity 21
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 3
Comments
Recent activity by Waseem Akram-
I want to get this. [1 2 3] = [x y z] + [s1_1 s1_2 s1_3] I need three constraints not their summation. I need to achieve : m.addConstr([1 2 3]-[x y z]==[s1_1 s1_2 s1_3]) #at each iteration of k loop
-
Thanks Jaromil. Sorry it was my mistake. Actually Bu object is 3x4 matrix. Using s1 as AddVars the problem solved in setting the objective function. However, I am still having difficulty in setting...
-
I would like to add one more thing that: m.addConstr(xseq[i-k-1]-A@xseq[i-k-2]==(Ts*np.linalg.inv(M)@Bu@dDelta)@useq[i-k-2]+s1[:,k]) the left side gives 3x1 shape while right side gives MLinExpr of...
-
I got it. Thank you!