<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>The problem is that add_edge() never clears boolvar - it is
always true, even when I coerce redundant edges, as in the following
code: </div></blockquote><div><br>
the problem is that your graph allows parallel edges, therefor the
adding always succeeds. you would have to check for existing edges via
out_edges(va).<br>
cheers,<br>
moritz<br>
</div></div>

