OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
202 stars 65 forks source link

Added default_nonlinear_solver and default_linear_solver options to Trajectory. #1016

Closed robfalck closed 9 months ago

robfalck commented 10 months ago

Summary

Trajectories require some form of nonlinear solver and linear solver when running connected phases in parallel (under MPI). Trajectory will now automatically assign NonlinearBlocJac and PETScKrylov if the default "run once" solvers are in place.

Option record_inputs is now set to the default False value for the dymos solution and simulation recorders.

Related Issues

Backwards incompatibilities

Inputs will no longer be recorded by default. This can be changed by setting problem.recording_options['record_inputs'] = True.

New Dependencies

None

coveralls commented 10 months ago

Coverage Status

coverage: 91.776% (-0.7%) from 92.459% when pulling a53266a05bfdffaaabb51c0f36ef8336038b7632 on robfalck:i1014 into 8bfc904dfd5bd90fe410dd1fb7580dffcabc845e on OpenMDAO:master.