Skip to content

Commit 0b424cf

Browse files
committed
[docs] improve the docstring for DUAL_INFEASIBLE
1 parent c62446d commit 0b424cf

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/attributes.jl

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,18 +2125,23 @@ struct ListOfSupportedNonlinearOperators <: AbstractOptimizerAttribute end
21252125
"""
21262126
The algorithm concluded that no dual bound exists for the problem.
21272127
2128-
If the problem is a conic optimization problem (thus also a linear program), this status means the dual
2129-
problem is infeasible.
2128+
If the problem is a conic optimization problem (thus also a linear program),
2129+
this status means the dual problem is infeasible.
2130+
2131+
To check if the primal problem is feasible, set the objective sense to
2132+
[`FEASIBILITY_SENSE`](@ref) and re-solve the problem.
2133+
2134+
If a primal feasible point does not exist, the original problem is both
2135+
primal and dual infeasible.
21302136
21312137
If a primal feasible solution exists, this status typically implies that the
21322138
problem is unbounded, with some technical exceptions (for example, if the
21332139
problem is a conic optimization problem in which strong duality does not
21342140
hold).
21352141
2136-
To check if the primal is unbounded, set the objective sense to
2137-
[`FEASIBILITY_SENSE`](@ref) and re-solve the problem. If a primal feasible
2138-
point exists, the original problem is unbounded. If a primal feasible point
2139-
does not exist, the original problem is both primal and dual infeasible.
2142+
The technical exceptions do not apply to linear programs. The combination of
2143+
[`DUAL_INFEASIBLE`](@ref) and a primal feasible point means that the primal
2144+
linear program is ubounded.
21402145
""",
21412146
DUAL_INFEASIBLE,
21422147
"""

0 commit comments

Comments
 (0)