Hi!
The code for solving the quadratic program is here. A ReadMe is included.
The full description of the quadratic program is here.
If you have questions please email me at adegortaribriseno 'at' fas.harvard.edu.
Alonso