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

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

回答済み

コメント

2件のコメント

  • 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

サインインしてコメントを残してください。