If I'm reading things correctly, the OLMAR mean reversion algorithm published in various forms on this site could be re-formulated to use the recently enabled CVXOPT module. Some references:
http://arxiv.org/ftp/arxiv/papers/1206/1206.4626.pdf
http://cvxopt.org/
In the paper by B. Li, the optimization problem is presented in Section 4.2. Rather than using the algorithm proposed by the author, it appears that the CVXOPT module could be used to update the portfolio.
Why use the CVXOPT module? My thinking is that the code will be cleaner and easier to follow. Also, there should be flexibility in modifying the constraints, without having to dig into the mathematical rigamarole.
It's on my Quantopian "to do" list to give this a try, but if someone beats me to it, please post your code.