Jonasz Staszek
-
Community Moderator
- 合計アクティビティ 302
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 13
- サブスクリプション 124
コメント
Jonasz Staszekによる最近のアクティビティ-
Hi Johan, Did you set the NonConvex parameter to 2, as suggested in the article you linked? Additionally, for the second auxiliary variable, which you defined as: gp.max_(a[t], 1) for t in range (T...
-
I have too little information to tell. I used "_" in my codes and it never caused any trouble. If you like, you can share a minimal reproducible example of your code and we'll see what could cause ...
-
Cross-posted here. Best regards,Jonasz
-
Generally, I would recommend giving all the variables a custom name to quickly distinguish one from the other. Then the .lp file will contain the user-defined variable names. Just beware not to us...
-
You can write the complete model using model.write("model.lp") in Python API, although the file will not look exactly the way you want. But I believe it should not be too difficult to come up with ...
-
Hi Tiril! Could you share a minimal reproducible example of the code which throws the error? We will then be able to give you better advice. Best regardsJonasz
-
Hi Alessandro, is the set p continuous, or does it contain all the integers between 2 and 10? If yes, you can just set the appropriate bounds: p = m.addVar(vtype=GRB.INTEGER, lb=2, ub=10) If not, y...
-
Hi Mustafa, Some more questions and thoughts: 1) Why do you model angles as binary variables? angle_list=cvx.Variable(N-1, boolean=True) Don't they have to take some other value, for example betwee...
-
Hi Mustafa, I am afraid I still have too little information to help you. You could try writing down the exact mathematical model to be solved with each iteration, before updating the values for v, ...
-
If my understanding of your problem is correct, these equations are used to update the position of a car. I also infer that you want Gurobi to tell you the acceleration and vehicle's angle. What we...