Skip to main content

Technician routing and scheduling problem

Answered

Comments

3 comments

  • Ayesha Maroof
    Gurobi-versary
    First Comment
    First Question

    kindly someone reply this

    0
  • Simon Bowly
    Gurobi Staff Gurobi Staff

    Hi Ayesha,

    I have just tested this notebook example as well and I do not run into the same issue.  Have you made any changes to the code or the input data from the latest version of the notebook found at https://github.com/Gurobi/modeling-examples?

    My best guess for debugging, since the Gurobi solve is completed, would be to look at the part of the solve_trs0() function which processes the results.  There is a "while True" loop there - this might be stuck in an infinite loop.  You could try printing the state of the code on each pass to see why the "break" statement is not being triggered.

    0
  • Ayesha Maroof
    Gurobi-versary
    First Comment
    First Question

    Hello Simon,

    thank you for your answer.

    I somehow accidentally found the problem. It is not anywhere in coding. Actually, the excel sheet from where data was being read I defined it differently. Hence it was being stuck. Now it is working. Thank you so much for the feedback.

     

    Have a good day

     

    0

Please sign in to leave a comment.