Skip to content

[docs] improve the docstrings of the various enum values#2698

Merged
odow merged 4 commits intomasterfrom
od/doc-enum
Mar 26, 2025
Merged

[docs] improve the docstrings of the various enum values#2698
odow merged 4 commits intomasterfrom
od/doc-enum

Conversation

@odow
Copy link
Member

@odow odow commented Mar 26, 2025

problem is infeasible..

If a primal feasible solution exists, this status typically implies that the
problem is unbounded, with some technical exceptions (for example, if the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we need strong duality. If we have a both a feasible point and a feasible ray of the primal then we can just start at this feasible point and follow the ray and the objective will be infinite no ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the technical exception mentioned before was just about the existence of the feasible point

Copy link
Member Author

@odow odow Mar 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about a problem like:

model = Model()
@variable(model, X[1:2, 1:2], PSD)
@constraint(model, X[1,1] == 0)
@objective(model, Min, 2 * X[1, 2])

The primal has a finite optimal primal solution with solution X = 0. But the dual is infeasible.

Co-authored-by: Benoît Legat <benoit.legat@gmail.com>
@odow odow merged commit c62446d into master Mar 26, 2025
31 checks passed
@odow odow deleted the od/doc-enum branch March 26, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants