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

SetObjectiveN() both tolerances required?

回答済み

コメント

3件のコメント

  • Simranjit Kaur
    • Gurobi Staff

    In GRBModel.SetObjectiveN(), abstol initialises the ObjNAbsTol attribute for the objective. You can set it to its default value of 1e-6.

    0
  • Michael Hölscher
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks for the quick reply. But isnt that restricting the objective to the optimal value that has been found, if I set the absolute tolerance to basically zero (even if i have for example 0.2 for the reltol parameter) or am I missing something? 

    0
  • Simranjit Kaur
    • Gurobi Staff

    In multi-objective models, the tolerance by which a higher-priority objective can be degraded is mainly defined by the parameters MIPGap and MIPGapAbs. The ObjNxxxTol attributes are only used to further relax the degradation for an objective. For more details, please refer to our documentation on Working With Multiple Objectives, specifically the subsection "Allowing Multiple-Objective Degradation".

    0

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