Anis Boudieb
- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 1
Activity overview
Latest activity by Anis Boudieb-
Anis Boudieb commented,
I have two lists: Costs = [2, 3, 1, 0...]list3 = [('287','128'), ('292','129'), ('271','130'), ('272','131')...] I am using this code below to assign the cost to each combination. (I have more than...
-
Anis Boudieb commented,
Hi Eli, I have another question please. How I store the costs related to each variable. By using multidict(), I am attributing costs to each variable as: combinations, ms = multidict({k: v for k, ...
-
Anis Boudieb commented,
Hi Eli, I used the list comprehension as you said and my combinations have been stored. Thank you for you help.
-
Anis Boudieb created a post,
How to store a solution from gurobi optimizer in a list in python ?
AnsweredI have an assignment problem where I used gurobi to optimise my model. I have results in this format when I use the optimize() function : assign[287,128]:1.0 assign[292,129]:1.0 assign[271,130]:1....