メインコンテンツへスキップ

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

回答済み

コメント

2件のコメント

  • 正式なコメント
    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

投稿コメントは受け付けていません。