Wl MK
 Total activity 16
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 4
 Subscriptions 2
Comments
Recent activity by Wl MK
Zed Dean here is what I got: channels:  https://conda.anaconda.org/gurobi  http://conda.anaconda.org/gurobi  defaults

Hi Zed Dean, I did exactly what you suggested, but I'm getting this: (my_gurobi950) C:\Users\Hp>conda install c gurobi gurobi=9.5.0 yCollecting package metadata (current_repodata.json): doneSolvi...

Thank you very much Maliheh.

Thank you, I tried with both python m pip install gurobipy and python setup.py install but always getting:  ImportError...

This code generates the same error: A=[0,4,3,2,8]B=[7,9,4,5,2]model = gp.Model("name")Var = model.addVars(5, lb=0, ub=sqrt(2), vtype=GRB.CONTINUOUS, name="var")xmin = model.addVar(lb=0, ub=sqrt(2)...

Thank you Maliheh When runing the code it raises an error: TypeError: unsupported operand type(s) for : 'GenExprMax' and 'GenExprMin' at this line: m.addQConstr(y[i]*(xmax  xmin) == h[i]  xmin, ...

So I should proceed as: model = gp.Model('name')Var = m.addVars(len(A), vtype=GRB.CONTINUOUS, name='var')xmin=m.addVars(1, vtype=GRB.CONTINUOUS, name='xmin')xmax=m.addVars(1, vtype=GRB.CONTINUOUS, ...

Hi Maliheh,The decision variables in the objective function are a binary type (0 or 1), and the variable Var is a Euclidean distance between points in a graph that has the x and yaxis bounded betw...