Wenjia Shen
- Total activity 15
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Comments
Recent activity by Wenjia Shen-
Hi Riley, I think you mean adding a new variable u (with its lb=1, ub=1) and a new variable v, and rewriting SOC1 as: v + quicksum(aa[h, i] ** 2 for h in range(H)) + bb[i] ** 2 <= cc[i] ** 2v == 4...
-
Hi Riley, Thank you so much for your response. I now understand how to change the coefficients. However, if I want to change the value of “omega” in my SOC1, I can only do so by removing the entire...
-
Hi Riley, Got it. Thank you so much! Your guidance is exactly what I need to solve the problem. Best, Wenjia
-
Hi Riley, Due to my unfamiliarity with the default settings of the `model.addVar()` function, the equivalent model was previously deemed infeasible. After I adjusted the lower bounds of `bb` and `e...
-
Hi Riley, Actually, taking the second SOC as an example, the sum_h part is like this: Therefore, I should calculate a^2 + b^2 (as I've written in the code), instead of (a+b)^2. I apologize for my ...
-
Hi Riley, Please refer to this Google Drive link: https://drive.google.com/file/d/17RFhDFcoQp57Gf3S5F1R5EEGH6XEWtFa/view?usp=share_link It includes the code ("test.py") and data files. Thank you fo...
-
Hi David, Sorry I misunderstood your previous question. I meant that I have only used version 11.0, and in other models, the use of auxiliary variables has not caused infeasibility. For either the ...
-
Hi Riley, Thank you very much for your guidance! Using epigraphs is indeed useful. I am using Gurobi through Python with the gurobipy package. However, I still hope to know why Gurobi considers the...
-
Hi David, I apologize for forgetting to mention this: the initial SOCP problem was also considered non-convex by Gurobi, and it automatically solved it as MIP: Optimize a model with 22 rows, 2412...
-
Hi David, My Gurobi was working fine before. Its version is: Gurobi Optimizer version 11.0.2 build v11.0.2rc0 (mac64[arm] - Darwin 23.5.0 23F79) Additionally, I need to correct a typo: in the first...