Esmaeil Delfaraz

Gurobi-versary
Conversationalist
  • Total activity 9
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 2
  • Subscriptions 2

Activity overview

Latest activity by Esmaeil Delfaraz
  • Esmaeil Delfaraz commented,

    Very helpful! Thanks a lot! My graph is directed and I was looking for something like this as you gave above map<edge, GRBVar> *x = new map<edge, GRBVar>[num_vertices]; for (int i = 0; i < num_vert...

  • Esmaeil Delfaraz commented,

    Hi, In case you use Gurobi with c++, you can use the following  // Env and model GRBEnv env = GRBEnv(); GRBModel model = GRBModel(env); //Avoid printing the LP solution in consolemodel.set(GRB_IntP...

  • Esmaeil Delfaraz commented,

    Thanks Eli. I could use it but in a different way. I needed to define a map assigning a distinct integer number to each edge as I need to access the source and target of each edge through my constr...

  • Esmaeil Delfaraz commented,

    Thanks Eli for your reply! As most of the graphs I'm using are sparse, I would like to define a two dimensional array in which the first dimension represents the vertices and the second dimension r...

  • Esmaeil Delfaraz commented,

    Hi Eli, I want to define a two dimensional array in which the first dimension representing the vertices in a graph and the second dimension representing the edges in the graph. This means that the ...