Skip to main content

Retrieving logs from a Cloud run

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three 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 why not try our AI Gurobot?.
  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Hi Alvaro,

    You can retrieve the LOG file from the Cloud by setting the corresponding parameter for the environment holding your model.

    In C++ this could be something like

    // Create an environment
    GRBEnv env = GRBEnv(true);
    env.set("LogFile", "myLogFile.log");
    env.start();

    // Create an empty model
    GRBModel model = GRBModel(env);

    Best regards,
    Jaromił

    0

Post is closed for comments.