<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>first of all let me wish you a happy thanksgiving!<br><br></div>Back to the topic:<br><br>I just submitted ROI and plugins to CRAN. They will soon distribute through the network. I managed to fix the variable bounds issue with the quadprog plugin. I simply had to translate Inf to .Machine$double.xmax in one of the plugin routines. that was all. <br>
<br>I hope everything checks fine in your test battery now. At least the one example you provided and a couple of examples on my side do. Otherwise, please just drop me an email. I am happy to improve the package and provide releases in a higher frequency from now on. I and colleagues here at the bank started to use ROI in backtests as well, so it should become well tested soon. However, I advice you to cross check results. The ROI is still experimental. <br>
<br></div>User visible changes:<br></div>o "bounds" are defined using a constructor called V_bound(). Corresponding class has a print method now.<br></div>o in many cases the return value has an additional slot in attribute meta (see attr( result, "meta" )$solver_return_object in the example you provided) which includes the solution in the original solver format. More information about the solution is provided.<br>
</div>o improved print methods<br></div>o a lot of changes behind the scenes<br><br></div>o (currently not exported) compute the solvers capable to solve a given OP named x: ROI:::get_solver_methods( ROI:::OP_signature(x) ).<br>
<br></div>Best,<br>st<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 12:23 AM, Stefan Theussl <span dir="ltr"><<a href="mailto:stefan.theussl@gmail.com" target="_blank">stefan.theussl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>thanks for testing. Indeed one needs the latest version of ROI, otherwise the plugins might not work as expected (I added corresponding version dependencies to the DESCRIPTION files of the plugins). <br>
<br>Since R-Forge does not understand roxygen2, package documentation adn NAMESPACE are not built. This is why ROI must be built from SVN directly. I send you the package attached.<br><br></div>Also, with the latest version variable bounds are constructed using a specific constructor function. see the modified version of your script. One issue with the quadprog plugin still remains, namely that the unbounded QP as defined in your script is not solvable. Looking through the code I can imagine where this might happen (ROI:::as.no_V_bound_OP()). I will check this in the morning.<br>
<br></div>cheers,<br>st<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 11:22 PM, Ross Bennett <span dir="ltr"><<a href="mailto:rossbennett34@gmail.com" target="_blank">rossbennett34@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">All,<div><br></div><div>I installed ROI.plugin.quadprog from R-forge successfully. I tried installing ROI from R-forge, but got the following error.</div>
<div><div>* installing to library ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library’</div>
<div>* installing *source* package ‘ROI’ ...</div><div>ERROR: a 'NAMESPACE' file is required</div></div><div><br></div><div>Also, I am getting an NA for the unconstrained global minimum variance solution. This used to work the way I am doing it with -Inf and Inf for the lower and upper bounds. See attached script for a self-contained example of how I implement this using ROI.</div>
<div><br></div><div>Let me know if this should be implemented differently.</div><div><br></div><div>Thanks,</div><div>Ross</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Nov 27, 2013 at 1:05 PM, Ross Bennett <span dir="ltr"><<a href="mailto:rossbennett34@gmail.com" target="_blank">rossbennett34@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is great and I will go ahead and test. I was using solve.QP and Rglpk directly for a few of the objectives as a workaround so I will switch these back over to ROI.<div><br></div><div>I'll report back if I run into any errors.</div>
<span><font color="#888888">
<div><br></div><div>Ross</div></font></span><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 12:25 PM, Brian G. Peterson <span dir="ltr"><<a href="mailto:brian@braverock.com" target="_blank">brian@braverock.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stefan,<br>
<br>
Thank you. We'll certainly get the latest from R-Forge and test. We have a reasonably complete set of demo and test scripts at this point, which hopefully would uncover any problems.<br>
<br>
Regards,<br>
<br>
Brian<br>
<br>
n 11/26/2013 07:29 AM, Stefan Theussl wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Brian,<br>
<br>
I recently improved ROI and their plugins. I will submit them to CRAN<br>
today or tomorrow. It would be great if you checked the current version<br>
of ROI and plugins (glpk, symphony, quadprog) with your framework. It<br>
would help me a lot in testing it.<br>
<br>
Anyway, I am about to implement further tests right now. But as always:<br>
the more the better ...<br>
<br>
Best,<br>
st<br>
<br>
<br>
On Tue, Oct 29, 2013 at 8:36 PM, Stefan Theussl<br>
<<a href="mailto:stefan.theussl@gmail.com" target="_blank">stefan.theussl@gmail.com</a> <mailto:<a href="mailto:stefan.theussl@gmail.com" target="_blank">stefan.theussl@gmail.<u></u>com</a>>> wrote:<br>
<br>
Hello Brian,<br>
<br>
thanks, all good here. How are you?<br>
<br>
ROI is definitely not to be abandoned. Nevertheless, I have to admit<br>
that I have not worked on it for a longer time due to time<br>
constraints. Only an update of Rglpk made it to CRAN some time ago.<br>
<br>
Anyway, I just put the ROI plugin to quadprog on top of my TODO<br>
list. I am looking forward to using PortfolioAnalytics myself and I<br>
appreciate the plan, that ROI might be part of it.<br>
<br>
Best,<br>
Stefan<br>
<br>
<br>
On Sun, Oct 27, 2013 at 8:11 PM, Brian G. Peterson<div><br>
<<a href="mailto:brian@braverock.com" target="_blank">brian@braverock.com</a> <mailto:<a href="mailto:brian@braverock.com" target="_blank">brian@braverock.com</a>>> wrote:<br>
<br>
Stefan,<br>
<br>
I hope things are well with you.<br>
<br>
I'm writing to ask what your plans are longer term for ROI.<br>
<br>
Kurt indicated that you are still working on it, but there have<br>
been almost no changes in the last year.<br>
<br>
Specifically, the change that we worked on with you a year ago<br>
for the quadprog plugin has not made it to CRAN.<br>
<br>
More generally, if ROI is to be abandoned, I need to start<br>
planning for significant changes to PortfolioAnalytics before I<br>
send it to CRAN, as we now use ROI almost exclusively for<br>
solvers that are supported by ROI.<br>
<br>
I think the framework is valuable, and I hope that you can move<br>
the quadprog fix to CRAN, and let me know how the package is to<br>
be maintained long-term.<br>
<br>
Best Regards,<br>
<br>
Brian<br>
<br>
--<br>
Brian G. Peterson<br>
<a href="http://braverock.com/brian/" target="_blank">http://braverock.com/brian/</a><br></div>
Ph: <a href="tel:773-459-4973" value="+17734594973" target="_blank">773-459-4973</a> <tel:<a href="tel:773-459-4973" value="+17734594973" target="_blank">773-459-4973</a>><br>
IM: bgpbraverock<br>
<br>
<br>
<br>
</blockquote><div>
<br>
<br>
-- <br>
Brian G. Peterson<br>
<a href="http://braverock.com/brian/" target="_blank">http://braverock.com/brian/</a><br>
Ph: <a href="tel:773-459-4973" value="+17734594973" target="_blank">773-459-4973</a><br>
IM: bgpbraverock<br></div>
______________________________<u></u>_________________<br>
GSoC-PortA mailing list<br>
<a href="mailto:GSoC-PortA@lists.r-forge.r-project.org" target="_blank">GSoC-PortA@lists.r-forge.r-<u></u>project.org</a><br>
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-porta" target="_blank">http://lists.r-forge.r-<u></u>project.org/cgi-bin/mailman/<u></u>listinfo/gsoc-porta</a><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>