We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Status quo:
binary=False, continuous=False, integer=False
is_variable_continuous
set_variable_type
Proposal (from #20354 discussion):
add_variable
variable_type
'continuous'
'binary'
'integer'
1
0
-1
There are similar idiosyncrasies elsewhere in the backend interface (should be made separate tickets)
maximization=False
set_sense(-1)
is_maximization
CC: @dimpase @videlec @jdemeyer
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/20362
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Status quo:
binary=False, continuous=False, integer=False
(see MIP backends: Unify add_col, add_variable; and clarify defaulting behavior of binary, continuous, integer #20324 regarding their defaulting behavior)is_variable_continuous
etc.set_variable_type
expresses the same thing using values 1, 0, -1.Proposal (from #20354 discussion):
add_variable
there should take avariable_type
parameter, defaulting to'continuous'
, with other possible values'binary'
,'integer'
.set_variable_type
should take the samevariable_type
values'continuous'
,'binary'
,'integer'
.1
,0
,-1
.There are similar idiosyncrasies elsewhere in the backend interface (should be made separate tickets)
maximization=False
in the constructor; asset_sense(-1)
; is queried byis_maximization
CC: @dimpase @videlec @jdemeyer
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/20362
The text was updated successfully, but these errors were encountered: