Fei Wang
- 合計アクティビティ 21
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 8
- サブスクリプション 4
アクティビティの概要
Fei Wangさんの最近のアクティビティ-
Fei Wangさんがコメントを作成しました:
Hello, It seems c = m.addConstr(lhs, sense, rhs, name) is no longer supported in the newest version of gurobi. What should I do to add back a constraint in this case?
-
Fei Wangさんがコメントを作成しました:
Thanks Simran, It works. However in my code self.r is only 2. So this changes won't save a lot of time, in fact, the majority of the time is spent in adding those SOCP constraints. Constraints as ...
-
Fei Wangさんがコメントを作成しました:
Hi Simran, Here is part of the code that’s very expensive. Most of the time is spent on adding the constraints especially the first and second for loops model = gp.Model()model.Params.LogToConsole...
-
Fei Wangさんがコメントを作成しました:
I have another question: I found that adding the constraints to the model is the most expensive part of the codeSo it is this command model.addConstr() that is costing 90% of the time Since I am...
-
Fei Wangさんがコメントを作成しました:
Thanks! That's the method I am looking for
-
Fei Wangさんがコメントを作成しました:
Hi Simran, Thank you very much! It solved my problem. I didn't know the default lower bound is zero,
-
Fei Wangさんが投稿を作成しました:
Gurobi seems not able to solve an SOCP problem to optimal
回答済みI have the following second order cone problem as following ()I used model.write("myfile_test.lp") to output the model as following: \ LP format - for model browsing. Use MPS format to capture...
-
Fei Wangさんがコメントを作成しました:
Hi Mario, Thanks for the answer, but I want to generalise it to define a vector which represent a point in r dimensional space, If I use this approach, I would have to modify the code to define z ...
-
Fei Wangさんが投稿を作成しました:
How to define a list of n tuples, each tuple contains 2 variables
回答済みI want to define a list of n tuples, each tuple represents a point in a plane, so each tuple contains two variables, what gurobi API should I use? I am using Python For example, if n = 5, then my ...