What is the difference between MIPSOL_OBJ and MIPSOL_OBJBST
回答済みMy understanding is that, MIPSOL_OBJ (Objective value for new solution) is the currently found objective, and MIPSOL_OBJBST is the best obj before this currently found incumbent.
Thus MILSOL_OBJ provides the better obj, is that right?
-
In Gurobi's callback mechanism,
MIPSOL_OBJ
andMIPSOL_OBJBST
are two different attributes that you can query when you receive a MIPSOL (solution) callback. Here’s what each one represents:-
MIPSOL_OBJ: This attribute provides the objective value of the new integer feasible solution found by Gurobi. It gives you the actual objective value of the current solution that triggered the MIPSOL callback.
-
MIPSOL_OBJBST: This attribute represents the best objective value of any integer feasible solution found so far during the optimization process. Essentially, it's the objective value of the best solution found up to the point of the current callback.
The key difference is that
MIPSOL_OBJ
refers to the objective value of the current solution being considered in the callback, whereasMIPSOL_OBJBST
refers to the best (lowest or highest depending on the optimization sense) objective value found across all solutions up to that point in the optimization.0 -
サインインしてコメントを残してください。
コメント
1件のコメント