Opened 6 years ago
Last modified 5 months ago
#20664 new enhancement
Meta-ticket: MixedIntegerLinearProgram/MIPVariable API cleanup
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.7 |
Component: | numerical | Keywords: | lp |
Cc: | dimpase, vdelecroix, jdemeyer, yzh | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | #20462 | Stopgaps: |
Description (last modified by )
Follow-up on #20462:
- #31791
MIPVariable
: Better names for backend variables
- #31750
MIPVariable
: Change to a subclass ofFiniteFamily
- #31749
MixedIntegerLinearProgram
: New generator methodvariables
- #20331 A
MIPVariable
's repr should include some useful information
- #20656
MixedIntegerLinearProgram
: Remove_variables
dictionary
- #26302
MixedIntegerLinearProgram
should provide a way to get the variables in the order they are provided to thepolyhedron
method
- #7790 Setting a default max/min bound when calling
MixedIntegerLinearProgram.new_variable
- #20657: More fixes for copying a
MIP
and theMIPVariables
created bynew_variable
- Why does a
MIPVariable
only haveset_max
, but noget_max
?
- Why does
MixedIntegerLinearProgram.set_max
delegate to aMIPVariable
method of the same name, when otherMixedIntegerLinearProgram
methods such asset_integer
etc. just do everything directly, and no correspondingMIPVariable
methods exist?
- Actually these things should properly be referred to as
lower_bound
andupper_bound
rather thanmin
andmax
. Some deprecation fun to be had.
- Why is there no way to query the values of the components of the
_default_mipvariable
?
Change History (9)
comment:1 Changed 16 months ago by
- Cc yzh added
- Description modified (diff)
- Milestone changed from sage-7.3 to sage-9.4
- Summary changed from MixedIntegerLinearProgram/MIPVariable API cleanup to Meta-ticket: MixedIntegerLinearProgram/MIPVariable API cleanup
comment:2 Changed 16 months ago by
- Description modified (diff)
comment:3 Changed 16 months ago by
- Description modified (diff)
comment:4 Changed 16 months ago by
- Description modified (diff)
comment:5 Changed 15 months ago by
- Description modified (diff)
comment:6 Changed 15 months ago by
comment:7 Changed 13 months ago by
- Milestone changed from sage-9.4 to sage-9.5
comment:8 Changed 8 months ago by
- Milestone changed from sage-9.5 to sage-9.6
comment:9 Changed 5 months ago by
- Milestone changed from sage-9.6 to sage-9.7
Note: See
TracTickets for help on using
tickets.
We may want to use
weakref
for solving the mutual ownership problem of aMixedIntegerLinearProgram
andMIPVariable