Skip to content

Instantly share code, notes, and snippets.

@bstellato
Created February 6, 2019 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bstellato/5c0a415fc2cbc698cd250d7a4fa18c38 to your computer and use it in GitHub Desktop.
Save bstellato/5c0a415fc2cbc698cd250d7a4fa18c38 to your computer and use it in GitHub Desktop.
N = 8
FUNCTION: with_compile Used 100 times with solver ECOS
Solver time
MEDIAN 0.000482311
MEAN 0.000531244488888889
STDEV 0.0001849527009135786
CVXPY time
MEDIAN 0.03360658268151855
MEAN 0.041804371728830295
STDEV 0.02494174225767466
Total time
MEDIAN 0.034004926681518555
MEAN 0.04233561621771918
STDEV 0.024994066171179212
FUNCTION: without_compile Used 100 times with solver ECOS
Solver time
MEDIAN 0.000488014
MEAN 0.0008551110909090911
STDEV 0.002187201653394087
CVXPY time
MEDIAN 0.025749934983886717
MEAN 0.02827191451333895
STDEV 0.011353366720948874
Total time
MEDIAN 0.026253938674926758
MEAN 0.029127025604248048
STDEV 0.01327346276590083
N = 800
FUNCTION: with_compile Used 100 times with solver ECOS
Solver time
MEDIAN 0.134439124
MEAN 0.1429167936153846
STDEV 0.032990065869558535
CVXPY time
MEDIAN 0.045919326825561525
MEAN 0.049932232661130456
STDEV 0.011716183842382176
Total time
MEDIAN 0.18130898475646973
MEAN 0.19284902627651507
STDEV 0.0394206205398113
FUNCTION: without_compile Used 100 times with solver ECOS
Solver time
MEDIAN 0.13673659700000002
MEAN 0.14663470258333333
STDEV 0.0357634484223256
CVXPY time
MEDIAN 0.039241637549682615
MEAN 0.04198515444976044
STDEV 0.00891664495036615
Total time
MEDIAN 0.17303693294525146
MEAN 0.18861985703309378
STDEV 0.04193013638979794
N = 8000
FUNCTION: with_compile Used 100 times with solver ECOS
Solver time
MEDIAN 2.969719213
MEAN 3.242071293036364
STDEV 0.6235583839762902
CVXPY time
MEDIAN 0.20231086014965838
MEAN 0.20691231555627668
STDEV 0.01698554553282095
Total time
MEDIAN 3.171171188354492
MEAN 3.4489836085926404
STDEV 0.6275439514746198
FUNCTION: without_compile Used 100 times with solver ECOS
Solver time
MEDIAN 3.099079974
MEAN 3.3678352003333334
STDEV 0.628926759433057
CVXPY time
MEDIAN 0.19120853493945322
MEAN 0.19757667994790312
STDEV 0.019948681802737504
Total time
MEDIAN 3.3101918697357178
MEAN 3.5654118802812365
STDEV 0.6283548664611289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment