Fernanda Tovar

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

Activity overview

Latest activity by Fernanda Tovar
  • Fernanda Tovar commented,

    Hello again, I still haven't heard back, but it finally prints out results but now the problem is that it repeats the same set of vertices for each commodity about 7 times. Here are some screenshot...

  • Fernanda Tovar commented,

    Hello again, yes so if we also change it to addConstr, it still gives us an error (screenshot below). We provided the most recent code below as well.  import networkx as netx import matplotlib.pypl...

  • Fernanda Tovar commented,

    Hello Jaromil, thanks again so I changed it slightly but now the issue is the syntax for m.Constrs or m.Constr. When I do m.Constrs , I get 3 printed results. When I do m.Constr, we get one printed...

  • Fernanda Tovar commented,

    Hi Jaromil,  thank you for reaching out! I do make a call to the function. Let me add the whole code and screenshots of the spreadsheet. I believe the problem is the flow conservation part because ...

  • Fernanda Tovar created a post,

    I can't get the flows to print out at all.

    Answered

    import gurobipy as gpdef max_flow(commodity,leavingnode,commingnode, origin,destination,cost,demandz): global graph global vertices_no global vertices global weight listkeyPair=[] ...

  • Fernanda Tovar commented,

    Hello, Thank you for answering! To be more exact, do you know what kinds of algorithms, Gurobi uses to get the answers? For example, does it use ford-Fulkerson? Does this also work for any large ra...

  • Fernanda Tovar created a post,

    Inquiry about python example

    Answered

    I have been looking at the network.py(https://www.gurobi.com/documentation/9.1/quickstart_mac/cs_netflow_py_example.html) example on the  site and I was wondering how the flows are actually calcula...