Open RoyiAvital opened 4 days ago
PRs accepted.
It's pretty much just this method, but for BitVector
:
I can add those with BitVector
and BitMatrix
.
I tried looking at the tests, should a specific test be added?
Add a new function after:
I assume you want something like:
target = """
variables: x1, x2, x3
minobjective: [1.0 * x1, 1.0 * x3]
"""
_test_atom(target) do context
x = Variable(3)
y = BitVector([true, false, true])
return x[y]
end
It seems there is no support for using
BitVector
in constraints.A simple (Stupid) example:
If one define
vPi = findall(vP);
then[vX[vPi] == vY[vPi]]
will work.