Skip to main content

Is there a way to setup WLS license by using Gurobi parameters for GurobiOptimods?

Answered

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.
  • Riley Clement
    • Gurobi Staff

    Hi Chu-Yuan Huang,

    You may notice there is a solver_params keyword parameter in the API documentation for the solve_qubo function.  All of the main optimod functions have this parameter and it allows the user to pass in their own parameters (which includes license parameters) via a dictionary.  So for solve_qubo:

    options = {
        "WLSACCESSID": "203dec48-e3f8-46ac-0184-92d7d6ded944",
        "WLSSECRET": "a080cce8-4e01-4e36-955e-61592c5630db",
        "LICENSEID": 12127,
    }
    solve_qubo(Q, solver_params=options)

    - Riley

    0

Post is closed for comments.