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

KappaExact

回答済み

コメント

3件のコメント

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

    Is the model a LP?  It will need to be for KappaExact to be available since it requires a basis.  If it is a MILP then you could use:

    r = m.relax()
    r.params.OutputFlag=0
    r.optimize()
    kappa_exact_value = r.KappaExact

    - Riley

    0
  • Matthew Galati
    • Gurobi-versary
    • Curious
    • First Comment

    Got it. The model is a MILP and I had not relaxed it. Thank you. 

    0

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