   0   ((0.9 1, 1 1, 1 0.9, 0.9 0.9, 0.9 1))</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># ℹ 80 more rows</span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># calculate cost of the solution</span></span></span>
<span class="r-in"><span><span class="va">r2</span> <span class="op">&lt;-</span> <span class="fu">eval_cost_summary</span><span class="op">(</span><span class="va">p2</span>, <span class="va">s2</span><spa