def benchmark_gl_30_3_nocolor_nosimul_compressed_snopt(self):
     ex_brachistochrone.SHOW_PLOTS = False
     p = ex_brachistochrone.brachistochrone_min_time(transcription='gauss-lobatto',
                                                     optimizer='SNOPT',
                                                     num_segments=30,
                                                     transcription_order=3,
                                                     compressed=True,
                                                     dynamic_simul_derivs=False)
     self.run_asserts(p)
 def benchmark_radau_30_3_color_simul_uncompressed_snopt(self):
     ex_brachistochrone.SHOW_PLOTS = False
     p = ex_brachistochrone.brachistochrone_min_time(transcription='radau-ps',
                                                     optimizer='SNOPT',
                                                     num_segments=30,
                                                     transcription_order=3,
                                                     compressed=False,
                                                     dynamic_simul_derivs=True)
     self.run_asserts(p)
 def test_ex_brachistochrone_gl_uncompressed(self):
     ex_brachistochrone.SHOW_PLOTS = True
     p = ex_brachistochrone.brachistochrone_min_time(
         transcription='gauss-lobatto',
         compressed=False,
         sim_record='ex_brach_gl_compressed.db')
     self.run_asserts(p)
     self.tearDown()
     if os.path.exists('ex_brach_gl_compressed.db'):
         os.remove('ex_brach_gl_compressed.db')
 def test_ex_brachistochrone_radau_compressed(self):
     ex_brachistochrone.SHOW_PLOTS = True
     p = ex_brachistochrone.brachistochrone_min_time(
         transcription='radau-ps',
         compressed=True,
         sim_record='ex_brach_radau_compressed.db')
     self.run_asserts(p)
     self.tearDown()
     if os.path.exists('ex_brach_radau_compressed.db'):
         os.remove('ex_brach_radau_compressed.db')