
子龙 王
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 4
Comments
Recent activity by 子龙 王-
I have looked at the relevant website and understood the application of the if constraint in gurobi, but I still don't know how to write my own questions I wonder if it is convenient to provide spe...
-
The complete executable code is as follows: from gurobipy import Model, GRB, quicksumimport sysimport numpy as npimport timeimport os from DataRead import getdata from itertools import chain def MP...
-
I also tried the following:# constraint(4)# for i in J:# for j in OJ[i]:# if j ! = OJ[i][0]: # p = None# current_machine = None# model.update()# ...
-
I don't know if adding the corresponding code in constraint 4 is the right thing to do, and I appreciate someone giving me some guidance
-
The last line of code is wrong. My new code should read: D[previous_machine][operations_machines],Instead of D(previous_machine,operations_machines),But it also fails in the following parts: for k ...