Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/attributes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,13 @@ struct ObjectiveBound <: AbstractModelAttribute end
"""
RelativeGap()

A model attribute for the final relative optimality gap, defined as ``\\frac{|b-f|}{|f|}``, where ``b`` is the best bound and ``f`` is the best feasible objective value.
A model attribute for the final relative optimality gap.

!!! warning
The definition of this gap is solver-dependent. However, most solvers
implementing this attribute define the relative gap as some variation of
``\\frac{|b-f|}{|f|}``, where ``b`` is the best bound and ``f`` is the best
feasible objective value.
"""
struct RelativeGap <: AbstractModelAttribute end

Expand Down