yansong bai
- Total activity 36
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 10
Comments
Recent activity by yansong bai-
Thank you very much, Marika and David. I just find the output 'xn' has the same value.And the information will not appear while the default MIPGap can appear. Optimal solution found at node 0 - now...
-
Thank you, Maliheh.
-
Ok, thank you Mario.
-
import numpy as npimport mathimport pandas as pdimport gurobipy as gpfrom gurobipy import GRBset1 = range(0,46)set3 = range(0,39)set4 = range(0,10)set5 = range(29,39)set2 = range(0,20)index = np.ar...
-
Thank you very much. It helps me a lot.
-
Hi, Jaromił Thank you for your prompt reply. import numpy as npimport gurobipy as gpfrom gurobipy import GRBmodel = gp.Model('test')x = model.addVars(1,4,vtype=GRB.BINARY,name='x')y = model.addVar...
-
Gurobi version is 9.1.2 and Python is 3.7. The environment used is PyCharm.
-
Hi,Mario Yes, i export the model with write. \ LP format - for model browsing. Use MPS format to capture full model detail.Maximize....Subject ToR0: ai[0,0] = 1.....(the constraints are omitted)R66...
-
Thank you very much for your prompt reply. It means if i don't set the lb or ub bound for a variable, the default value is 0? But when i export the model corresponding to the first code and the th...
-
Thank you for your answers, Matthias.