
ghada ouerfelli
- Total activity 30
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 8
Activity overview
Latest activity by ghada ouerfelli-
ghada ouerfelli created a post,
Range constraint requires two values
AnsweredHello when I read my data from Excel and rewrite them to list , pandas makes them like this : I1=[[3], [4]] but I wanna them like this I1=[3, 4] to eliminate this error What should I do to elimina...
-
ghada ouerfelli created a post,
Help in pandas-gurobipy
Answeredany help please Hello, the problem in my model is how to convert the database S1 and S2 of week zero into S1[1,0].ub and S1[2,0].lb , the same for S2 , I sent the excel files by email S1 and S...
-
ghada ouerfelli commented,
Hello, the problem in my model is how to convert the database S1 and S2 of week zero into S1[1,0].ub and S1[2,0].lb , the same for S2 , I sent the excel files by email S1 and S2 are variables f...
-
ghada ouerfelli commented,
hello by Initial stock I wanna say the S1 in my week zero , it is my initial stock , like this but i have a lot of products that is why I need an excel database S1[1,0].lb=1S1[1,0].ub=1S1[2,0].lb=...
-
ghada ouerfelli created a post,
Help in gurobipy
Ongoinghello I wanna get my database a and l from excel like this table: S1 and S2 : import gurobipy as gpimport pandas as pdimport numpy as npfrom gurobipy import GRB#Read Purchase Order from Exc...
-
ghada ouerfelli created a post,
result not correct
Answeredhello when I change my database a,l,S1 and S2 get it from excel some thing happen my excel database a and l are like this table and S1 , S2 are like this table import gurobipy as gpimport panda...
-
ghada ouerfelli created a post,
result not correct
Answeredhello when I Change my database the result is 0, I want to read my database a,l, my initial stocks S1 and S2 From excel, I made them in lists but there are some errors that make the result 0 here t...
-
ghada ouerfelli commented,
Thanks a lot for your support
-
ghada ouerfelli commented,
Sorry but I still have the same problem import gurobipy as gpfrom gurobipy import GRBm=gp.Model("Log")weeks = [0,1,2,3,4]products=[1,2]L=10k=2a=[[0,0,10,0,0],[0,20,0,0,0],]l=[[0,2,3,1,2], [...
-
ghada ouerfelli commented,
File "C:\Users\Ghada\PycharmProjects\Logistika Program\Logistika Program.py", line 55, in <genexpr> m.addConstrs(S[p,weeks[weeks.index(t)-1]]+a[p][t] == l[p][t]+S[p][t] for p in products for t ...