
ahmad alanaqreh
- 合計アクティビティ 45
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 8
- サブスクリプション 12
アクティビティの概要
ahmad alanaqrehさんの最近のアクティビティ-
ahmad alanaqrehさんがコメントを作成しました:
Thank you so much Maliheh, now it is working in a proper way
-
ahmad alanaqrehさんが投稿を作成しました:
Find the variable values for different solutions by PoolSolutions
回答済みI have a MIP and I am solving the model and collecting all the possible solutions by using PoolSolutions parameter, now I am trying to get the value of x variable for each solution but unfortunatel...
-
ahmad alanaqrehさんが投稿を作成しました:
The bounds of the variables
回答済みI have a model where I define three variables as follows : alpha[a] = model.addVar(lb=-GRB.INFINITY, name="alpha%d" % a)beta[i, j] = model.addVar(lb=-GRB.INFINITY, ub=0, name="beta%d,%d," % (i, j))...
-
ahmad alanaqrehさんがコメントを作成しました:
Sorry Jaromil, your suggestion is not clear for me, terminating the MP model will terminate the callback which is not what I want, do you mean terminating the DSP model where I am trying to change ...
-
ahmad alanaqrehさんがコメントを作成しました:
In my case x[i, j] and z are parameters(alpha, beta, omega, and lamda are variables), actually, these are the values changing every time, so I am changing my objective function based on the new val...
-
ahmad alanaqrehさんがコメントを作成しました:
Hi Jaromil Thanks a lot for your answer, yes that is true, in this case how I can replace the objective function?? should I create a new model with a new objective function or there is a way to do ...
-
ahmad alanaqrehさんがコメントを作成しました:
Hi Jarmoil I have the following objective function: model.setObjective(quicksum(x[i, j] * alpha[i] for (i, j) in E if i != s) + quicksum((n * (1 - x[i, j]) - 1) * beta[i, j] for (...
-
ahmad alanaqrehさんが投稿を作成しました:
change the coefficient of the variables in the objective function
回答済みI have a model that I am solving with callback, I need to change the coefficients of the variables in the objective function from time to time, I have seen the Model.chgCoeff() to change the coeffi...
-
ahmad alanaqrehさんがコメントを作成しました:
Hi Jaromil, this is just the smallest example I have, the time here is acceptable but when the graph has hundreds or thousands of nodes and edges it really takes a lot of time, there is any part th...
-
ahmad alanaqrehさんが投稿を作成しました:
Improve performance of constraint-adding in Gurobi Python
進行中In the model I am working on I have to add constraints, the constraints based on the edges of a graph, I have the decision variable x = {}for (i, j) in E: x[i, j] = model.addVar(vtype=GRB.BINAR...