-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
MixedIntegerLinearProgram: New backend using InteractiveLPProblem #20296
Comments
Author: Matthias Koeppe |
comment:2
Needs review. Some remarks:
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Replying to @mkoeppe:
I think so - the reason they are missing is that they were never needed before. Using guts directly makes sense inside of ILLP itself, but now that you have a dependent module there has to be documented and tested way to access them.
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
I've added these accessor methods and changed my code to use them.
|
comment:7
Regarding Passing through parameters to the constructor would make sense. And adding a constant to non-standard form would be handy. Let me work on it today actually and take a break from digging in JavaScript! Also, it would be nice if someone closer to LP backends did the full review of this ticket. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Replying to @novoselt:
OK, I've changed it.
Thanks!
Yes, I'm hoping that someone on the Cc list could take a look... |
comment:10
By the way, the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Another wishlist item for |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:23
there are long commented out blocks, like |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:25
Can we have a real example of solving an LP over algebraic numbers?
anyway, that |
comment:26
#20311 implements going back from the standard form, so will allow to address this problem. |
comment:27
Until #20301 and #20311 are merged into develop, I will modify the test with algebraic numbers as follows so you can see the solution vector, using backend methods:
(I already have a patch on a branch that uses these tickets and has a prettier version of this example.) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:30
in the last commit, the line
should be
otherwise the doctest fails |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:32
Thanks. |
Reviewer: Andrey Novoseltsev, Dima Pasechnik |
comment:33
OK, good. |
comment:34
Thanks for reviewing! |
Changed branch from u/mkoeppe/mixedintegerlinearprogram__new_backend_using_interactivelpproblem to |
If one has to solve a small LP with irrational (say,
AA
) data (and needs access to the exact solution), the only available tool is the didactical implementation of the simplex method inInteractiveLPProblem
(but see #18735). This ticket implements aMixedIntegerLinearProgram
backend usingInteractiveLPProblem
.Example:
(This example uses backend functions because of #20301; and the
base_ring=AA
is there because of #13041.)CC: @dimpase @novoselt @nathanncohen @videlec @fchapoton
Component: numerical
Author: Matthias Koeppe
Branch/Commit:
8c1fd4a
Reviewer: Andrey Novoseltsev, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/20296
The text was updated successfully, but these errors were encountered: