
Laynufar Silsilia
- 合計アクティビティ 14
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 2
- サブスクリプション 4
アクティビティの概要
Laynufar Silsiliaさんの最近のアクティビティ-
Laynufar Silsiliaさんがコメントを作成しました:
okey, but thank you for your response.
-
Laynufar Silsiliaさんがコメントを作成しました:
Halo, Thank you in advance for your response, is it like this? ###A = (sum(sum(x[n,d,1]) ** 2) / (17) for n in range(5,N) for d in range (D))B = (sum(sum(x[n,d,1]) / (17) ** 2) for n in range(5,N)...
-
Laynufar Silsiliaさんがコメントを作成しました:
halo! Now, i have the same problem. What is causing the error? thanks! File d:\pemograman\iis.py:39 m.setObjective(((sum(sum(x[n,d,1]) ** 2) / (17) for n in range(5,N) for d in range (D)) - (s...
-
Laynufar Silsiliaさんが投稿を作成しました:
How to write sum starting from 5
回答済みI have data on the number of nurses 21, but the used in the equation starts from nurse 5, with n = 1,2,3,...,N and the sequence 1,2,3,4 is the senior nurse (T). If i=N-T then written in programming...
-
Laynufar Silsiliaさんが投稿を作成しました:
ValueError: Expected 1D or 2D array, got 3D array instead
ユーザーの入力を待っています。Halo, It's the first time I encounter this problem. I saw in other topic that is not scarce, but in fact i don't understand where to reshape the data in my code. File ~\anaconda3\envs\python_38_e...
-
Laynufar Silsiliaさんが投稿を作成しました:
KeyError: (0, 0)
ユーザーの入力を待っています。Hai, I get the following error: KeyError: (0, 0) I think this is because of these codes; shift [n,d] = x[n,d].X # Solutionshift = np.zeros((N,S)) for n in range (N): for s in range (S): ...
-
Laynufar Silsiliaさんがコメントを作成しました:
If I move the code above, the results appear TypeError: unsupported operand type(s) for -: 'bool' and 'NoneType'
-
Laynufar Silsiliaさんが投稿を作成しました:
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
ユーザーの入力を待っています。Hi, I get the following error; TypeError: unsupported operand type(s) for -: 'int' and 'NoneType' I think this is because of these codes; m.addConstr(sum(p[n,s] <= 21 for n in range (N) for s in ra...