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

How to use callback to save the objvalue output of each iteration of gurobi to an array or txt file When it gets a new feasible solutio in the integer programming

回答済み

コメント

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.
  • Elisabeth Rodríguez Heck
    • Gurobi Staff

    Hi Bin, 

    Please see my solution to your other post.

    If you only need these values when Gurobi finds a feasible solution, then you only have to query the attributes at the MIPSOL where value. (See Callback Codes for more information.)

    Best regards,

    Elisabeth

    1
  • Bin Du
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks!!!

    0

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