<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi there:</div><div>

<div class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></div>

<div class="MsoNormal"><span lang="EN-US">I am practicing the new R package DEoptim
and following the paper titled “Large-scale portfolio optimization with DEoptim” as attached.</span></div>

<div class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></div>

<div class="MsoNormal"><div class="MsoNormal"><span lang="EN-US">I am wondering if there is error in this package or else because when I tried the commands listed in
Section 6. Portfolio optimization with DEoptim but encountered some error
message as listed below:</span></div>

<div class="MsoNormal"><span lang="EN-US">Error in NextMethod(.Generic) : dims
[product 121] do not match the length of object [40401]</span></div>

<div class="MsoNormal"><span lang="EN-US">Also : Warning message: In `-.default`(0.5
* dmvnorm(x, c(-3, -3)) + 0.5 * dmvnorm(x, c(3,  :   longer
object length is not a multiple of shorter object length</span></div>

<div class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></div>

<div class="MsoNormal"><span lang="EN-US">Could somebody share some hint or help?</span></div></div>

<div class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></div>

<div class="MsoNormal"><span lang="EN-US">Thank you for your kind consideration and
response.</span></div>

<div class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></div>

<div class="MsoNormal"><span lang="EN-US">Wei-han Liu</span></div></div></div></body></html>