Shadi Beheshti

  • Gurobi-versary
  • First Comment
  • First Question
  • Total activity 6
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by Shadi Beheshti
  • Shadi Beheshti created a post,

    Heuristic solution for continuous and binary variables

    Answered

    Good 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 created a post,

    How to print the cost function in every step of optimization in Gurobipy?

    Answered

    I 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...