Skip to main content

TimeLimit

Awaiting user input

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Chung-Kyun Han
    • Gurobi Staff

    Hi Rayan,

    Thank you for reaching us.

    Based on the screenshot, it seems that your code spends more than 3 minutes creating decision variables and has not yet started the model-solving part. To validate this issue, import time and add print(time.ctime())  before and after the decision variable creation part.

    Additionally, could you share the code more (this time, please copy and paste your code, not screenshot one)? I cannot find 'model.optimize()' function, which will start solving the model and give logs. You don't need to share the data loading part.

    And make sure you don't change the default value about 'OutputFlag'.
    If your code includes the following one, logs will not appear on the console.

    model.params.OutputFlag = 0

    The information about suppressing all console output from Gurobi is in our Knowledge Base.


    Best regards,
    Chung-Kyun Han

    0

Post is closed for comments.