Skip to content
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

ENH: Visualize dual LPs #14

Open
henryrobbins opened this issue Dec 18, 2023 · 0 comments
Open

ENH: Visualize dual LPs #14

henryrobbins opened this issue Dec 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@henryrobbins
Copy link
Collaborator

Currently, GILP functionality only focuses on the primal LP. However, GILP could be used to visualize both the primal and dual LP, to demonstrate complementary slackness. The primal and dual LPs have the following forms:

(primal) max c^Tx          (dual) min b^Ty
         s.t A x <= b             s.t A^T y >= c
               x >= 0                     y >= 0

Since GILP can only visualize 2- and 3-dimensional LPs, dual LP visualizations will be limited to LPs in 2 or 3 variables with 2 or 3 constraints.

This is a non-trivial change requiring an understanding of LP duality and multiple design decisions. Learn more about duality here.

@henryrobbins henryrobbins added the enhancement New feature or request label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant