Skip to main content

Relaxed variable in Java API

Answered

Comments

2 comments

  • Official comment
    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

  • A.Omidi
    Gurobi-versary
    Conversationalist
    Investigator

    Hi Michael,

     

    Thanks for your advice. It works fine.

    Regards

    Abbas

    0

Please sign in to leave a comment.