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

barrier method early termination

回答済み

コメント

2件のコメント

  • 正式なコメント
    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.
  • Riley Clement
    • Gurobi Staff

    Hi Dong,

    Our documentation on Barrier Logging will be helpful here.  The Residual - Primal column characterizes the primal infeasibility of the current iterate.  If this number is not sufficiently small then the solution is not primal feasible.

                      Objective                Residual
    Iter       Primal          Dual         Primal    Dual     Compl     Time
    . . . . . . .

    If you wanted to programmatically terminate when the iterate is primal feasible then you can do so with callbacks, see callback.py for an example which includes querying barrier attributes in Python (other API examples available through our Functional Code Examples page).

    See also the Initialization: phase-I methods section of Interior Point Methods on Wikipedia.

    - Riley

     

    0

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