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

I need help coding this optimization problem

回答済み

コメント

4件のコメント

  • 正式なコメント
    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?.
  • Greg Glockner
    • Gurobi Staff Gurobi Staff

    Can you edit your post with the tail of the Gurobi log and with the definition of clustering_bs() and clustering_sc().

    0
  • Hesham Moussa
    • Gurobi-versary
    • First Comment
    • First Question

    I added the definition of clustering_bs() and clustering_sc()

     

    I am not sure what do you mean by tail of the gurobi log

    0
  • Silke Horn
    • Gurobi Staff Gurobi Staff

    The getValue() method evaluates a linear expression in a solution. You can only call it once Gurobi knows a solution, i.e., you need to call optimize() before you can call getValue().

    Silke

    0

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