
Yuan Jiawei Yuan Jiawei
- Total activity 15
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 5
Activity overview
Latest activity by Yuan Jiawei Yuan Jiawei-
Yuan Jiawei Yuan Jiawei commented,
My Big-M constraints are defined as follows: model.AddConstr(f <= mu + rho * pi+100000 * (1-Sigma[i, j, z]), "c10");model.AddConstr(f<= 100000 * sigma, "c11"); model.AddConstr(f >= mu + rho * pi ...
-
Yuan Jiawei Yuan Jiawei created a post,
Why is using Indicator Constraints in Gurobi significantly slower than the Big-M method
AnsweredIn my model, I use Gurobi's AddGenConstrIndicator to enforce the following logical constraints: However, I noticed that when using Indicator Constraints, the solver takes significantly longer to f...
-
Yuan Jiawei Yuan Jiawei commented,
Hi, Matthias, the following is my problem: GRBVar[,,,] SeatNum = new GRBVar[TotalStaNum, TotalStaNum, TotalTypeNum, TotalSerNum]; for (int i = 0; i < TotalStaNum - 1; i++) { for (int j =...
-
Yuan Jiawei Yuan Jiawei created a post,
Opposite Signs in Gurobi Dual Variables Output
AnsweredWhen I call Gurobi to output the dual variables, the outputted dual variables are exactly the opposite of the actual dual variables. Could you explain the reason for this, or provide the standard f...
-
Yuan Jiawei Yuan Jiawei created a post,
Gurobi.GRBException:“Element 0 of a double array is Nan.”
Awaiting user inputHi, I have a problem when I try to solve a nonlinear mixed integer problem in Gurobi and its nonlinearity is due to the existence of Napierian Logarithm. But this Gurobi.GRBException:“Element 0 o...
-
Yuan Jiawei Yuan Jiawei commented,
Thank you very much, best wishes to you.
-
Yuan Jiawei Yuan Jiawei created a post,
some problem about adding SOS constraint
AnsweredHi there, Firstly, a binary variable 'DownDepInterval[k, i, r]' is defined and I need to add the following constraints for (int k = 0; k < DownSerNum; k++){ for (int i = 0; i < TotalStaNum - 1; i+...
-
Yuan Jiawei Yuan Jiawei commented,
Think you very much, best wishes to you.
-
Yuan Jiawei Yuan Jiawei created a post,
How to use a solution from a heuristic algorithm as the initial solution of Gurobi
AnsweredRecently, I know that , if Guribi has a good initial solution, the speed of solving will be accelerated and the result may be better. Therefore, I want to use Genetic algorithm to obtain a be...