ace="Arial" color="#000100" size="2"># Costs<br>
</font><font face="Arial" color="#000100" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial" color="#000100" size="2">for(t in 1 : N) {<br>
</font><font face="Arial" color="#000100" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font face="Arial" color="#000100" size="2">&nbsp;&nbsp;&nbsp;ct[k, t] &lt;- inprod(y[k, t, ], c[]) / pow(1 + delta.c, t - 1)<br>
</font><font face="Arial" color="#000100"