Skip to content

[docs] improve the docstring for DUAL_INFEASIBLE #2701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 27, 2025
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
16 changes: 9 additions & 7 deletions src/attributes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2123,20 +2123,22 @@ struct ListOfSupportedNonlinearOperators <: AbstractOptimizerAttribute end
""",
INFEASIBLE,
"""
The algorithm concluded that no dual bound exists for the problem.
The algorithm proved that no dual feasible solution exists.

If the problem is a conic optimization problem (thus also a linear program), this status means the dual
problem is infeasible.
To check if the primal problem is feasible, set the objective sense to
[`FEASIBILITY_SENSE`](@ref) and re-solve the problem.

If a primal feasible point does not exist, the original problem is both
primal and dual infeasible.

If a primal feasible solution exists, this status typically implies that the
problem is unbounded, with some technical exceptions (for example, if the
problem is a conic optimization problem in which strong duality does not
hold).

To check if the primal is unbounded, set the objective sense to
[`FEASIBILITY_SENSE`](@ref) and re-solve the problem. If a primal feasible
point exists, the original problem is unbounded. If a primal feasible point
does not exist, the original problem is both primal and dual infeasible.
The technical exceptions do not apply to linear programs. The combination of
[`DUAL_INFEASIBLE`](@ref) and a primal feasible point means that the primal
linear program is unbounded.
""",
DUAL_INFEASIBLE,
"""
Expand Down
Loading