You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does a MIPVariable only have set_max, but no get_max?
Why does MixedIntegerLinearProgram.set_max delegate to a MIPVariable method of the same name, when other MixedIntegerLinearProgram methods such as set_integer etc. just do everything directly, and no corresponding MIPVariable methods exist?
Actually these things should properly be referred to as lower_bound and upper_bound rather than min and max. Some deprecation fun to be had.
Why is there no way to query the values of the components of the _default_mipvariable?
mkoeppe
changed the title
MixedIntegerLinearProgram/MIPVariable API cleanup
Meta-ticket: MixedIntegerLinearProgram/MIPVariable API cleanup
Apr 28, 2021
Follow-up on #20462:
MIPVariable: Better names for backend variables #31791
MIPVariable
: Better names for backend variablesMIPVariable: Change to a subclass of FiniteFamily #31750
MIPVariable
: Change to a subclass ofFiniteFamily
MixedIntegerLinearProgram: New generator method 'variables' #31749
MixedIntegerLinearProgram
: New generator methodvariables
A MIPVariable's repr should include some useful information #20331 A
MIPVariable
's repr should include some useful informationMixedIntegerLinearProgram: Remove _variables dictionary #20656
MixedIntegerLinearProgram
: Remove_variables
dictionaryMixedIntegerLinearProgram should provide a way to get the variables in the order they are provided to the polyhedron method #26302
MixedIntegerLinearProgram
should provide a way to get the variables in the order they are provided to thepolyhedron
methodSetting a default max/min bound when calling MixedIntegerLinearProgram.new_variable #7790 Setting a default max/min bound when calling
MixedIntegerLinearProgram.new_variable
More fixes for copying a MIP and the MIPVariables created by 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
?Depends on #20462
CC: @dimpase @videlec @jdemeyer @yuan-zhou
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/20664
The text was updated successfully, but these errors were encountered: