wrong number of all constraints
huiwenzhang opened this issue · 0 comments
huiwenzhang commented
Hi, as explained in the code below, you pre-allocate n_vertices * N / 2
memories for vector all_constraints
.
I think the right size should be (n_vertices - 1) * N
, i.e. Num. of all constraints = Num. segments * N. But this result is still correct, because you re-calculate the size of total constraints.