Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Nov 15, 2024
1 parent e4e4e1e commit 2bc3395
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ def compute(self, inputs, outputs):
# p.driver.options['optimizer'] = 'SLSQP'
p.driver.declare_coloring()

# p.driver.opt_settings['derivative_test'] = 'first-order'
# p.driver.opt_settings['mu_strategy'] = 'monotone'
# p.driver.opt_settings['alpha_for_y'] = 'safer-min-dual-infeas'
# p.driver.opt_settings['bound_mult_init_method'] = 'mu-based'
# p.driver.opt_settings['mu_init'] = 0.01
# p.driver.opt_settings['nlp_scaling_method'] = 'gradient-based'

p.model.add_subsystem('size_comp', CannonballSizeComp(),
promotes_inputs=['radius', 'dens'])
p.model.set_input_defaults('dens', val=7.87, units='g/cm**3')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ def two_burn_orbit_raise_problem(transcription='gauss-lobatto', optimizer='SLSQP
# Set Initial Guesses
traj.set_parameter_val('c', val=1.5, units='DU/TU')

# burn1 = p.model.traj.phases.burn1
# burn2 = p.model.traj.phases.burn2
# coast = p.model.traj.phases.coast

burn1 = p.model._get_subsystem('traj.phases.burn1')
burn2 = p.model._get_subsystem('traj.phases.burn2')
coast = p.model._get_subsystem('traj.phases.coast')
Expand Down

0 comments on commit 2bc3395

Please sign in to comment.