KK
- Total activity 5
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
Activity overview
Latest activity by KK-
KK commented,
Thank you for giving me the example in R! I have tried to code the relationship without matrix( because my original code is in C#) x−b−Mz1≤0.5 −x+b+Mz1≤M+0.5 I follow your suggest and introduce ...
-
KK commented,
Hello Jaromil, According to the link, how do I code these two formulation in Gurobi Mz1 >= x-b+ sigma (1) M(1-z1)> b-x-sigma(2) As far as I understand, M and sigma is some constant value, z1 is a G...
-
KK commented,
Thank you for answering my question. I still have questions about introducing an additional binary variable for every entry of my goal array. I forget to say my goal array is some random integer ...
-
KK created a post,
Add constraint
AnsweredI have the following code: GRBLinExpr lhs = 0.0; for (int ti = 0; ti < alltask_CountVars.Count; ti++) { int taskProVal = GetTaskPrope...