Skip to content

Instantly share code, notes, and snippets.

View rwalk's full-sized avatar

Ryan Walker rwalk

View GitHub Profile
@rwalk
rwalk / bigTent.R
Created January 27, 2015 14:52
Quadratic programming demo: Circus Tent
# This gist uses rgl and quadprog to draw a circus tent
# by solving a quadratic program in R. The original problem is from the MathWorks MATLAB demo at:
# http://www.mathworks.com/help/optim/examples/large-scale-bound-constrained-quadratic-programming.html
#
# More information on this problem at:
# http://quantitate.blogspot.com/2014/04/the-circus-tent-problem-with-rs-quadprog.html
#
# author: R. Walker (r_walker@zoho.com)
# LICENSE: MIT