This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
NewerOlder