Shadi Beheshti
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 4
Activity overview
Latest activity by Shadi Beheshti-
Shadi Beheshti created a post,
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...
-
Shadi Beheshti commented,
Good day, I would like to save the Gaps (16.1, 12.5, 2.86)that I get in the output log: Nodes | Current Node | Objective Bounds | Work Expl Unexpl | Obj Depth IntInf | In...
-
Shadi Beheshti commented,
Thanks a lot for your great help and the nice clarification. Sure. You are right. The pre-solver considers the variables as binaries. I deactivate the pre-solver in the early stage of process using...
-
Shadi Beheshti commented,
Thanks for the reply and your great help. I expect to have at least some continuous values where I stop Gurobi where the MIPGap is still large. For example, in the following code: import numpy as n...
-
Shadi Beheshti created a post,
How to solve continuous-variable quadratic program and do warm-stating
Awaiting user inputI am going to solve a continuous-variable Qubo problem by Gurobi. However, it gives me always the binary solutions. Does any one know how to resolve the issue such that I can get continuous-value s...
-
Shadi Beheshti created a post,
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...