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

GRBgeterrormsg() vs GRBgetmerrormsg()

進行中

コメント

2件のコメント

  • Maliheh Aramon
    Gurobi Staff Gurobi Staff

    Hi Mike, 

    As you know, only GRBgeterrormsg() function is included in our official documentation. Therefore, we recommend using this officially documented function.

    You are correct that the Gurobi C API includes a function named GRBgetmerrormsg(GRBmodel *model). However, this function internally calls GRBgeterrormsg() after verifying the validity of the model pointer. Is there a specific reason you prefer to use GRBgetmerrormsg instead of GRBgeterrormsg?

    Best regards,

    Maliheh

    0
  • Mike Heinen
    First Comment
    Gurobi-versary
    First Question

    No reason other than making the code a little cleaner on our end.

    0

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