
Gnanadeepan D
- 合計アクティビティ 11
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 4
投稿
Gnanadeepan Dによる最近のアクティビティ-
How to find absolute difference of list and use those values in maximization optimization model guobipy?
回答済み#Following is my code where I try absolute operations of two lists based on some conditions and then maximize the summation of those.m=[5,3,2]cm=[sum(m[0:x:1]) for x in range(1, len(m)+1)]P=len(m)p...
-
How to acheive cumulative sum of cumulative 3D arrays in gurobi python
ユーザーの入力を待っています。Say I have X1 and X2 which is based on some operations between variables and parameters of the model and so X1 and X2 will be variables. x1=[[[1, 6], [2, 7], [3, 8], [4, 9], [5, 10]], [[1, 6], [2, ...
-
Why the following model showing infeasible in gurobipy when the same is solved optimally by MIP python open source solver? What am I missing ? Is it the operation between arrays and guobi variables the issue? How to find out?
回答済みimport randomimport gurobipy as grbimport mathq=[[4,5,0,2],[3,2,1,0],[0,1,4,5],[3,2,0,1],[2,1,3,2],[4,3,2,1],[3,4,2,0],[5,0,3,1],[0,4,3,3],[4,0,4,1]] #s=[11,1,1,1,1,1,1,1,1,1] s=[20,0,0,0,0,0,0,0,0...