Skip to content

Commit

Permalink
clean up runtime code, add GP beam study
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Nov 30, 2023
1 parent 02a9381 commit 9e226ef
Show file tree
Hide file tree
Showing 8 changed files with 421 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ The performance of AeroSandbox (with CasADi backend) is compared against existin

![benchmark_nd_rosenbrock](./nd_rosenbrock/benchmark_nd_rosenbrock.png)

## AeroSandbox vs. Disciplined Optimization Methods

In this chart, runtime is used instead of function evaluations, because the GPkit API doesn't easily expose this information from the underlying solver.

![benchmark_gp_beam](./gp_beam/benchmark_gp_beam.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
6,0.0092133,2
7,0.0093947,2
8,0.0108742,2
9,0.0119871,2
10,0.0100001,2
11,0.0099996,2
12,0.0089999,2
13,0.01,2
14,0.011,2
16,0.0106868,2
17,0.0110006,2
19,0.0104631,2
21,0.0111357,2
23,0.0102841,2
25,0.0109994,2
28,0.0111787,2
31,0.0109992,2
34,0.0115629,2
37,0.0116452,2
41,0.0115181,2
45,0.0133307,2
49,0.0128663,2
54,0.0117651,2
60,0.0130029,2
66,0.0129992,2
72,0.0127002,2
79,0.0137136,2
87,0.0140218,2
96,0.0139998,2
106,0.0160009,2
116,0.0169992,2
128,0.0170001,2
141,0.0269826,2
155,0.0183702,2
170,0.0183993,2
187,0.0173063,2
206,0.0177846,2
226,0.0175911,2
249,0.0195237,2
274,0.0210766,2
301,0.0249957,2
331,0.0253988,2
364,0.0265567,2
401,0.0253783,2
441,0.0267146,2
485,0.0288208,2
534,0.0324002,2
587,0.0349842,2
646,0.0595186,2
710,0.0605462,2
781,0.0554812,2
859,0.0807664,2
945,0.0593648,2
1040,0.0568037,2
1144,0.0677671,2
1258,0.0693652,2
1384,0.0706875,2
1522,0.0707606,2
1675,0.0824281,2
1842,0.0858479,2
2026,0.0885053,2
2229,0.0971889,2
2452,0.104217,2
2697,0.1217041,2
2967,0.1324828,2
3263,0.1398847,2
3590,0.1668577,2
3949,0.1693555,2
4344,0.169189,2
4778,0.1819305,2
5256,0.2108755,2
5781,0.2239938,2
6359,0.251578,2
6995,0.2634903,2
7695,0.2908258,2
8464,0.3135229,2
9311,0.3742784,2
10242,0.3932527,2
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
6,0.089875,nan
7,0.1037407,nan
8,0.1252925,nan
9,0.1469695,nan
10,0.1640054,nan
11,0.1865629,nan
12,0.2174818,nan
13,0.2407184,nan
14,0.2663685,nan
16,0.3855672,nan
17,0.3457179,nan
19,0.3871485,nan
21,0.4178118,nan
23,0.4459063,nan
25,0.5363831,nan
28,0.6282798,nan
31,0.7110482,nan
34,0.8038039,nan
37,0.9210395,nan
41,1.0729629,nan
45,1.3092143,nan
49,1.4039818,nan
54,1.7042651,nan
60,1.9846408,nan
66,2.2841193,nan
72,2.609569,nan
79,3.0817283,nan
87,3.4560014,nan
96,5.9335542,nan
106,6.8537624,nan
116,8.0498565,nan
128,10.0156526,nan
141,11.4241825,nan
155,13.0482585,nan
170,14.9169516,nan
187,16.8947642,nan
206,21.6764217,nan
226,22.8835737,nan
249,27.7233109,nan
274,34.0943054,nan
301,45.1328843,nan
331,50.1436696,nan
364,56.0820475,nan
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
6,0.0248533,nan
7,0.0343567,nan
8,0.0268454,nan
9,0.0316529,nan
10,0.0321701,nan
11,0.0309571,nan
12,0.0367912,nan
13,0.0369759,nan
14,0.0943213,nan
16,0.0397125,nan
17,0.0447057,nan
19,0.0490063,nan
21,0.0618139,nan
23,0.0559357,nan
25,0.0652641,nan
28,0.0682731,nan
31,0.0749005,nan
34,0.0811166,nan
37,0.1059255,nan
41,0.0971243,nan
45,0.2158601,nan
49,0.1333879,nan
54,0.1493238,nan
60,0.1518241,nan
66,0.169105,nan
72,0.2810773,nan
79,0.203531,nan
87,0.305913,nan
96,0.3626245,nan
106,0.4750413,nan
116,0.3205944,nan
128,0.3754863,nan
141,0.6446782,nan
155,0.5003476,nan
170,0.7573683,nan
187,0.7188326,nan
206,0.9415509,nan
226,1.2407348,nan
249,1.4527316,nan
274,1.2807559,nan
301,2.1001261,nan
331,2.2158967,nan
364,3.7489755,nan
401,2.5389554,nan
441,3.0720139,nan
485,4.2228518,nan
534,7.043779,nan
587,7.4332837,nan
646,10.5903846,nan
710,5.2605252,nan
781,18.6644266,nan
859,14.9577836,nan
945,20.682793,nan
1040,23.749001,nan
1144,19.4155647,nan
1258,14.5918238,nan
1384,22.4536076,nan
1522,31.3027442,nan
1675,37.0666398,nan
Loading

0 comments on commit 9e226ef

Please sign in to comment.