I think this is fine when bool_var is binary even though there is no truthy and falsy in Julia.
One needs to create some JuMP parse functions for this and create a new linear equal to constraint and flag it as check_for_binary_variable to later check if it's a binary and otherwise throw an error.
Currently one often has to write
instead of
one should also support
I think this is fine when
bool_var
is binary even though there is no truthy and falsy in Julia.One needs to create some JuMP
parse
functions for this and create a new linear equal to constraint and flag it ascheck_for_binary_variable
to later check if it's a binary and otherwise throw an error.