Skip to content

Commit

Permalink
fix test under absence of pyoptsparse
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Jun 15, 2022
1 parent 7798c4a commit f84e59d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,9 @@ def compute(self, inputs, outputs):

p = om.Problem(model=om.Group())

p.driver = om.pyOptSparseDriver()
p.driver.options['optimizer'] = 'SLSQP'
p.driver.declare_coloring(tol=1.0E-12)
p.driver = om.ScipyOptimizeDriver()

t = dm.Radau(num_segments=10, order=3, compressed=True)
t = dm.Radau(num_segments=10, order=3)

traj = dm.Trajectory()
phase = dm.Phase(ode_class=_BrachODE, transcription=t)
Expand Down

0 comments on commit f84e59d

Please sign in to comment.