Skip to main content

How to declare an empty global environment in R?

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?.
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi,

    Unfortunately, this is not possible in R. As you might have seen already from our documentation:

    By default, the various Gurobi functions will look for a valid license file and create a local Gurobi environment. This environment exists for as long as the corresponding R API function is running, and is released upon completion.

    You cannot re-use a Gurobi environment. It's also usually not very time-intensive to construct a new env.

    Our Python API is more flexible in that regard and also very user-friendly.

    Cheers,
    Matthias

    0

Post is closed for comments.