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

Relaxed variable in Java API

回答済み

コメント

3件のコメント

  • 正式なコメント
    Michael Winkler
    Gurobi Staff Gurobi Staff

    Hi Abbas,

     

    you can change the type of a variable with by settings it's variable type attribute. E.g., start[0][0].set(GRB.CharAttr.VType, GRB.CONTINUOUS).

     

    Best,

    Michael

  • 正式なコメント
    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?.
  • A.Omidi
    Gurobi-versary
    Conversationalist
    Investigator

    Hi Michael,

     

    Thanks for your advice. It works fine.

    Regards

    Abbas

    0

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