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
Root cause is that variable array for selecting existing outputs can only select from previous existing outputs.
The logic to deal with this in inoutconstraint!(s, ::SizeStack, v, model, vardict::Dict) assumes that any misaligned inputs are last in inputs(v).
It might be possible to avoid aligning select vars but do align insertion vars as they can be assumed to have the same size. MWE below fails to align sizes and reverts the edge addition when this change is made though.
Root cause is that variable array for selecting existing outputs can only select from previous existing outputs.
The logic to deal with this in
inoutconstraint!(s, ::SizeStack, v, model, vardict::Dict)
assumes that any misaligned inputs are last ininputs(v)
.It might be possible to avoid aligning select vars but do align insertion vars as they can be assumed to have the same size. MWE below fails to align sizes and reverts the edge addition when this change is made though.
MWE testset which runs in select.jl:
The text was updated successfully, but these errors were encountered: