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

LPBackendDictionary - a debugging view of a MIP backend connected to interactive_simplex_method #18804

Closed
mkoeppe opened this issue Jun 28, 2015 · 40 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jun 28, 2015

This is a follow-up on #18734.

This ticket creates:

  • a new class, LPBackendDictionary (inheriting from LPAbstractDictionary), would avoid going through InteractiveLP and rather be tied directly to the MILP backend, using tableau data query functions such as getBInvArow etc.
    (It would be in a separate file perhaps interactive_backend_dictionary.py, so as not to add clutter to the didactical implementation in interactive_simplex_method.py.)

#18732 added most of the missing functions for retrieving the data of the dictionary (for the GLPK backend) such as getBInvARow etc. The remaining functions are provided by #19472.
#18763 and #19471 do the same for the COIN backend.

See also: #18733

Doctests could then test that:

CC: @nathanncohen @yuan-zhou @uduse @novoselt @dimpase

Component: numerical

Work Issues: Add methods add_row, eq so that TestSuite passes

Author: Aedi Wang

Branch/Commit: u/mkoeppe/zeyi-wang--lpbackenddictionary-trac18804--lpcleandictionary-trac20203--rebased-to-9.1.beeta1 @ 06ec022

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/18804

@mkoeppe mkoeppe added this to the sage-6.8 milestone Jun 28, 2015
@mkoeppe

This comment has been minimized.

@uduse
Copy link
Mannequin

uduse mannequin commented Oct 20, 2015

Branch: u/zwang/temp

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 24, 2015

Author: Aedi Wang

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 24, 2015

Commit: 440ed87

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 24, 2015

Dependencies: #19471, #19472

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 24, 2015

New commits:

440ed87backend dictionaries

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 2, 2015

Changed commit from 440ed87 to aa8bdc1

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 2, 2015

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

1e5f5f6improve style, fix bug, now complete
b402777rename general_backend_dictionary
0e97b61add coin option
e46a9b6CleanDictionary quick draft
cc496c0clean dictionary
3f972c2fix interactive_lp_problem()
bd6954babstract backend dictionary renamed
1cb502aselective import messages
cbb3d3eclean dictionary done
aa8bdc1Merge branch 'u/zwang/temp' of git://trac.sagemath.org/sage into temp

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 2, 2015

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

ec1f167backend dictionaries

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 2, 2015

Changed commit from aa8bdc1 to ec1f167

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 15, 2015

Changed dependencies from #19471, #19472 to #19471, #19472, #18734

@mkoeppe mkoeppe modified the milestones: sage-6.8, sage-6.10 Nov 15, 2015
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 14, 2016

Changed branch from u/zwang/temp to u/mkoeppe/temp

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 14, 2016

New commits:

2848cf6backend dictionaries
b0f388eMerge commit 'e8ffa20d8d' into t/18804/temp

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Mar 14, 2016

Changed commit from ec1f167 to b0f388e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 14, 2016

Changed commit from b0f388e to fd5da14

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 14, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

e94b9e4Documentation fixes
639b1e6LPAbstractBackendDictionary: Use GLPK instead of COIN for testing
3b84083Use interactive_linear_program instead of interactive_lp_problem
bc86ca1Use ZZ instead of int
fd5da14Make all test problems bounded

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 14, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

f45615cDoc fixes

@uduse
Copy link
Mannequin

uduse mannequin commented Jun 24, 2016

Changed branch from u/mkoeppe/temp to u/zwang/temp

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 25, 2016

Changed commit from 3866f3a to 4f6d366

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 25, 2016

New commits:

6cad314add objective_name() to dictionary interface
288e6f7Doc fix
62b9ec6clean_dictionary.py copied from f45615c
7bdddd4revise doc tests and implementation to use LPDictionary
a3c2ae4backend dictionaries
0ec1237Documentation fixes
835a228LPAbstractBackendDictionary: Use GLPK instead of COIN for testing
925499eUse interactive_linear_program instead of interactive_lp_problem
7f51310add objective_name()
4f6d366revise dictionary() to use objective_name()

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 25, 2016

Changed dependencies from #19471, #19472, #18734 to #19471, #19472, #18734, #20203

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 23, 2020

Changed branch from u/zwang/temp to u/mkoeppe/temp

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 23, 2020

Branch pushed to git repo; I updated commit sha1. New commits:

10a063cclean_dictionary.py copied from f45615c
37e0b3erevise doc tests and implementation to use LPDictionary
16cb5b9LPCleanDictionary: Run the testsuite
ae348f7LPCleanDictionary: Implement row_coefficients instead of leaving_coefficients
8932d54Merge branch 'zeyi-wang--lpbackenddictionary-trac18804--rebaseed-to-9.1.beta1' into zeyi-wang--lpbackenddictionary-trac18804--lpcleandictionary-trac20203--rebased-to-9.1.beeta1

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 23, 2020

Changed commit from 4f6d366 to 8932d54

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 23, 2020

comment:18

Merged current version of branch on #20203

@mkoeppe mkoeppe modified the milestones: sage-7.2, sage-9.1 Jan 23, 2020
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 23, 2020

comment:19

This is rebased on top of 9.1.beta1

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 24, 2020

Changed dependencies from #19471, #19472, #18734, #20203 to none

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2020

Changed commit from 8932d54 to 6bc29a2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2020

Branch pushed to git repo; I updated commit sha1. New commits:

ad27047src/sage/numerical/backends/glpk_backend_dictionary.py: py3 fixes
ce774c8docstring markup fixes
7a45862LPGLPKBackendDictionary: Implement {row|column}_coefficients instead of {leaving|entering}_coefficients
3d00dd9LPGLPKBackendDictionary.objective_name: New
37d5a44LPCoinBackendDictionary: Implement {row|column}_coefficients instead of {leaving|entering}_coefficients
6bc29a2LPCoinBackendDictionary.objective_name: New

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 24, 2020

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2020

Changed commit from 6bc29a2 to 06ec022

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2020

Branch pushed to git repo; I updated commit sha1. New commits:

22eaa92sage/numerical/clean_dictionary.py: py3 fix: Import sage version of round
06ec022LPCleanDictionary.enter, leave: Also call super

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 24, 2020

Work Issues: Add methods add_row, eq so that TestSuite passes

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 24, 2020

comment:25

Development continues on https://github.com/mkoeppe/sage-numerical-interactive-mip

The present ticket can be closed.

@mkoeppe mkoeppe removed this from the sage-9.1 milestone Jan 24, 2020
@dimpase
Copy link
Member

dimpase commented Jan 24, 2020

Reviewer: Dima Pasechnik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants