Shadi Beheshti
- Total activity 6
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Posts
Recent activity by Shadi Beheshti-
Heuristic solution for continuous and binary variables
AnsweredGood day. I am solving optimization problem by Gurobi. In the first case, I defined variables as binary using the following command: x = [model.addVar(vtype=gp.GRB.BINARY, name="x%s" % i) for i in...
-
How to print the cost function in every step of optimization in Gurobipy?
AnsweredI am going to plot cost function (feval) in terms of iterations in Gurobipy? Could you please help me how to do that? The code is in the foolowing: import gurobipy as gpgurobipy_model = gp.Model("g...