Exemple #1
0
 def test_co(self):
     """Solve the Sellar problem using the Collaborative Optimization architecture."""
     if pyoptsparse_installed():
         self.assertion_mdo(*run_openlego(9))
     else:
         print('Skipped test due to missing PyOptSparse installation.')
         pass
Exemple #2
0
 def test_b2k(self):
     """Test run the SSBJ problem using the BLISS-2000 architecture."""
     if pyoptsparse_installed():
         self.assertion_b2k(*run_openlego(14))
     else:
         print('\nSkipped test due to missing PyOptSparse installation.')
         pass