-
-
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
InteractiveLPProblem, dictionaries: add_constraint / add_row methods #20559
Comments
Commit: |
New commits:
|
Dependencies: #20500 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Andrey Novoseltsev |
Work Issues: rebasing |
comment:8
Rebased on 7.3.beta0 |
comment:9
ping? |
comment:10
|
comment:11
Just a quick reply to point 7: Replying to @novoselt:
No, no, it's crucial that |
comment:12
Replying to @novoselt:
Agreed, this argument should be optional; and a name should be generated if it is not provided. |
comment:13
Replying to @novoselt:
What do you mean by "where variables leave"? |
New commits:
|
comment:27
7 is retracted, 3 and 6 still stand. And I wanted to look closer and do some changes but was not able to checkout due to trac problems... |
Changed author from Peijun Xiao to Peijun Xiao, Matthias Koeppe |
Changed work issues from rebasing to none |
comment:29
I've made some changes that address points 3 and 6. New commits:
|
comment:31
Going carefully doing some tweaks, not done yet, but have to stop for the moment.
New commits:
|
comment:32
Thanks for fixing these. |
comment:34
With all due respect the old code for The current code will probably break on a dictionary for an auxiliary problem - is there any point in properly supporting these or there is never a need to add rows there and we can just throw an exception? Documentation of |
Changed author from Peijun Xiao, Matthias Koeppe to Peijun Xiao, Matthias Koeppe, Andrey Novoseltsev |
comment:36
After some more thinking, it is perfectly fine to add rows to auxiliary problems with this code, but there is a constraint on input. If you are OK with my changes, set to positive review. |
comment:37
Thank you for your work! They look fine. |
Changed branch from u/novoselt/interactivelpproblem__dictionaries__add_constraint___add_row_methods to |
This ticket adds
add_constraint
andadd_row
methods.Following the suggestion at
#18805 comment:27
these methods create new problems / dictionaries, leaving the original ones unmodified.
(Split out from the larger ticket #18805.)
Depends on #20500
CC: @novoselt @pgxiao
Component: linear programming
Author: Peijun Xiao, Matthias Koeppe, Andrey Novoseltsev
Branch/Commit:
c8559f3
Reviewer: Andrey Novoseltsev
Issue created by migration from https://trac.sagemath.org/ticket/20559
The text was updated successfully, but these errors were encountered: