Skip to main content

Export solution in R as .sol file?

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Eli Towle
    • Gurobi Staff

    The gurobi_write() function is used to write model files, not solution files. You can write a solution file via the ResultFile parameter. For example:

    params <- list(ResultFile="test.sol")
    result <- gurobi(m, params)
    0

Post is closed for comments.