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

FeasibilityTol for GRBCallback.useSolution()

進行中

コメント

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.
  • Xavier Nodet
    • Gurobi Staff

    You mentioned that your solution should be feasible. As stated at e.g. https://docs.gurobi.com/projects/optimizer/en/10.0/reference/java/callback.html#java-method-GRBCallback-useSolution, the value "1e+100" may be returned when the solution is feasible, but it doesn't have a better objective value than the current incumbent:

    It equals GRB.INFINITY if no _improved_ solution is found or...

    Did you consider this possibility?

    0
  • Zhaomiao Guo
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you Xavier for your prompt reply. Sorry I didn't reply earlier. There is no current incumbent solution found yet before I used useSolution(). My current approach is to relax some constraints a little bit, and it successfully registers the solution I provided as an incumbent solution. But I'm still not sure what is the FeasibilityTol of  useSolution(). Is it the same as the main program by default? Can the user control it separately? Thank you.

    0

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