
ghada ouerfelli
- 合計アクティビティ 17
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 5
アクティビティの概要
ghada ouerfelliさんの最近のアクティビティ-
ghada ouerfelliさんがコメントを作成しました:
Thanks a lot Sir
-
ghada ouerfelliさんがコメントを作成しました:
Thanks a lot, Sir for helping a beginner like me.
-
ghada ouerfelliさんがコメントを作成しました:
thanks Sir , but the objective result is not correct it is 0: Best objective 0.000000000000e+00, best bound 0.000000000000e+00, gap 0.0000% import numpy as npimport pandas as p# Parameters and Data...
-
ghada ouerfelliさんが投稿を作成しました:
result not correct
回答済みfrom gurobipy import *#input dataa=[5 ,6 ,4 ,6 ,7]#k=['1','2','3'] # binsC=20 # capacity of bin#key parametersN=range(len(a))M=range(len(k))#create a modelm=Model('Bin packing')# create variablesx=...
-
ghada ouerfelliさんがコメントを作成しました:
I still have problem : mdl.addConstrs((s[months[index_month-1],product]+x[month,product])==(Dem_client[month][product]+s[month,product])ValueError: too many values to unpack (expected 2) import nu...
-
ghada ouerfelliさんがコメントを作成しました:
I have another error with lists : mdl.addConstrs((s[month-1,product]+x[month,product])==(Dem_client[month][product]+s[month,product])KeyError: (-1, 0) # Parameters and Dataproducts=["prod1","prod2...
-
ghada ouerfelliさんがコメントを作成しました:
Thanks a lot Sir
-
ghada ouerfelliさんがコメントを作成しました:
thanks, Sir but I didn't understand how to reuse the lists of products and months when I create my constraint, can you write the correct constraint, please.
-
ghada ouerfelliさんが投稿を作成しました:
Error with lists
回答済みimport numpy as npimport pandas as p# Parameters and Dataproducts=["prod1","prod2","prod3","prod4"] # number of productsmonths=["Jan","Fev","Mar","Apr","May"] #number of periodeDem_client={ "Jan...
-
ghada ouerfelliさんがコメントを作成しました:
thanks a lot, Sir but the human-readable LP doesn't work on my Laptop. also, I didn't get the best objective function : import gurobipy as gpfrom gurobipy import GRBmonths = range(5)products=range(...