March 05, 2020
OpenMDAO 3.0.0 is the first version of OpenMDAO to drop support for Python 2.7. Going forward, we will support Python >= 3.6. Functionally, 3.0.0 is identical to 2.10.1 with the exception that long-standing deprecations have been removed and will now result in errors.
When upgrading to OpenMDAO 3.0.0, users should
- Get their models working with version 2.10.1
- Make necessary changes to remove any OpenMDAO-specific deprecation warnings
- Upgrade to OpenMDAO 3.0.0 and verify that their models are working as expected.
The following are deprecated functionality since 2.0 that has been officially removed as of version 3.0.0:
-
<POEM 004> AkimaSplineComp and BsplineComp have been removed, replaced with SplineComp.
-
<POEM 008> The user is now required to set a value for the solver option
solve_subsystems
on Newton and Broyden solvers. Previously the default wasFalse
, but you would get a deprecation warning if this value was not explicitly set. -
The class for the PETSc linear solver
PetscKSP
is renamedPetscKrylov
. -
The class for the Scipy linear solver
ScipyIterativeSolver
is renamedScipyKrylov
. -
The
NonLinearRunOnce
solver is nowNonlinearRunOnce
. -
The
FloatKrigingSurrogate
is nowKrigingSurrogate
. -
Optimizer
ScipyOptimizer
is nowScipyOptimizeDriver
. -
API function and CLI command
view_model
are renamedn2
. -
Component
ExternalCode
is renamedExternalCodeComp
. -
Component
KSComponent
is renamedKSComp
. -
Component
MetaModelStructured
is renamedMetaModelStructuredComp
. -
Component
MetaModel
is renamedMetaModelUnStructuredComp
. -
Component
MultiFiMetaModel
is renamedMultiFiMetaModelUnStructuredComp
. -
Case attribute
iteration_coordinate
is renamedname
. -
Solver option
err_on_maxiter
is renamederr_on_non_converge
. -
Solver attribute
preconditioner
is renamedprecon
. -
Nonlinear solver option
reraise_child_analysiserror
now defaults to False. -
BroydenSolver and NewtonSolver linesearch now defaults to BoundsEnforceLS.
-
OptionsDictionary option argument
_type
is renamedtypes
. -
Component attribute
distributed
has been changed to an option. -
The attribute
root
of Problem is renamedmodel
. -
Group attribute
nl_solver
is renamednonlinear_solver
. -
Group attribute
ln_solver
is renamedlinear_solver
. -
System attribute
metadata
is renamedoptions
. -
units = 'unitless'
is removed. Useunits = None
instead. -
NewtonSolver attribute
line_search
is nowlinesearch
. -
Multi-variable specification via list or tuple to IndepVarComp is now invalid. Use add_output for each variable instead.
-
Driver method
set_simul_deriv_color
is removed. Useuse_fixed_coloring
instead. -
Problem setup method argument
vector_class
removed. Usedistributed_vector_class
instead. -
pyOptSparseDriver method
dynamic_simul_derivs
removed. Usedeclare_coloring
instead.
Note: These changes are not technically API related, but still may cause your results to differ when upgrading.
- <POEM 012> The old implementation of KrigingSurrogate was hard coded to the
gesdd
method for inverses. The method is now an option, but we've changed the default togesvd
because its more numerically stable. This might introduce slight numerical changes to the Kriging fits.
- None
- None
March 03, 2020
None
None
None
- Fixed a bug that caused errors in jacobian values in certain models when computing derivatives in reverse mode under MPI.
February 27, 2020
Note: This is the last release of OpenMDAO 2.X. Updating to this release will be a critical step in preparing for the OpenMDAO 3.X releases
-
<POEM 004> AkimaSplineComp and BsplineComp have been deprecated, replaced with SplineComp
-
<POEM 008>
- The user is now required to set a value for the solver option
solve_subsystems
on Newton and Broyden solvers. Previously the default wasFalse
, but you will now get a deprecation warning if this value is not explicitly set.
- The user is now required to set a value for the solver option
-
Specification of
includes
andexcludes
for solver case recording options has been changed to use promoted names relative to the location of that solver in the model.
Note: These changes are not technically API related, but still may cause your results to differ when upgrading.
-
<POEM 012> The old implementation of KrigingSurrogate was hard coded to the
gesdd
method for inverses. The method is now an option, but we've changed the default togesvd
because its more numerically stable. This might introduce slight numerical changes to the Kriging fits. -
Refactor of how reverse mode derivative solves work for parallel components that may require the removal of reduce calls in some components that were needed previously
-
Change to the way SimpleGA does crossover to be more correct (was basically just mutuation before)
-
<POEM 002> users can now manually terminate an optimization using operating system signals
-
<POEM 003>
- users can now add I/O, connections, and promotions in configure
- new API method added to groups to allow promotions after a subsystem has already been added
-
<POEM 004> SplineComp was added to the standard component library, and you can also import the interpolation algorithms to use in your own components
-
<POEM 005> OpenMDAO plugin system has been defined, so users can now publish their own plugins on github. several utilities added to openmdao command line tools related to plugins
-
<POEM 007> ExternalCodeComp and ExternalCodeImplicitComp can now accept strings (previously a lists of strings was required) for
command
,command_apply
, andcommand_solve
. -
<POEM 010> User can now mark some options as
recordable=False
as an alternative to usingsystem.recording_options['options_exclude']
-
<POEM 012> KrigingSurrogate now has a new option
lapack_driver
to determine how an inverse is computed The original implementation used a defaultgesdd
method, but we've changed togesvd
. -
Slight improvements to the metamodel viewer output
-
Improvement to the bidirectional Jacobian coloring so it will fall back to pure forward or reverse if thats faster
-
Users can now set the shape for outputs of
BalanceComp
andEqConstraintsComp
-
Improvements to
debug_print
for driver related to reporting which derivatives are being computed when coloring is active -
The N2 viewer now works for models that are run in parallel (i.e. if you're using mpi to call python)
-
list_inputs
andlist_outputs
both have arguments for including local_size and global_size of distributed outputs in their reports
- Fixed a hang in SimpleGA driver related to mpi calls
- Fixed a bug in SimpleGA related to setting a vector of constraints
- Various bug-fixes to allow running with Python 3.8
- Fixed a bug in ScipyOptimizer/Cobyla related to objective and dv scaling
- Corrected bug preventing the user from passing a list to
set_val
when the variable is an array
October 8, 2019
2.9.1 is a quick patch release to correct a couple of issues:
- The previous release inadvertantly changed the default "bounds_enforce" option on the BoundsEnforce line search to "vector". This release restores the default to the originally intended "scalar".
- The entry point for the
web_view
utility function was fixed. (Thank you Nicholas Bollweg) - Fixed a bug that prevented model reconfigurability in certain situations.
- Fixed a missing
sqrt
in the documentation for the Hohmann example. - Fixed a bug that prevented proper fallback from bidirectional coloring to unidirectional coloring in certain cases where the bidirectional coloring was worse than the unidirectional coloring.
- Small improvements were made to the MetaModel viewer, along with some additional testing.
October 1, 2019
-
better detection of when you're running under MPI, and new environment variable to forcibly disable MPI
-
users can now issue connections from within the
configure
method on group (this is useful if you wanted to be able to interrogate your children before issuing connections) -
significant overhead reduction due to switching from 'np.add.at' to 'np.bincount' for some matrix-vector products and data transfers.
-
openmdao
command line tool:- new
openmdao scaffold
command line tool to quickly bootstrap component and group files openmdao summary
command gives more data including number of constraintsopenmdao tree
command now uses different colors for implicit and explicit components and includes sizes of inputs and outputs- the
openmdao --help
tool gives better formatted help now
- new
-
CaseRecording:
- Case objects now have a
name
attribute to make identifying them simpler - Case objects now support getitem (i.e. [<some_var>]) and the get_val/set_val methods to directly mimic the problem interface
- list_inputs and list_outputs methods on Case objects now support optional includes and excludes patterns
- Case objects now have a
-
Documentation:
- added documentation for the list_inputs and list_outputs method on the Case object
- added example use of implicit component for add_discrete_input docs
- some minor cleanup to the cantilever beam optimization example to remove some unused code
-
Derivatives:
- slightly different method of computing the total derivative sparsity pattern has been implemented that should be a bit more robust (but YMMV)
- the partials object passed into
linearize
andcompute_partials
methods on implicit and explicit component respectively can now be iterated on like a true dictionary
-
Solvers:
- a true Goldstein condition was added to the ArmijoGoldstein line search (you can now choose if you want Armijo or Goldstein) *** Peter Onodi ***
- DirectSolver now works under MPI (but be warned that it might be very slow to use it this way, because it does a lot of MPI communication!!!)
- BroydenSolver now works in parallel
- improved error message when you have a nonconverged solver
- improved error message when solver failure is due to Nan or Inf
-
Components:
- list_inputs and list_outputs methods on System objects now support optional includes and excludes patterns
- variables can now have tags added as additional meta-data when they are declared, which can then be used to filter the output from list_inputs and list_ouputs
- significant speed improvements and increased surrogate options for StructuredMetaModel
- improved error message when required options are not provided to a component during instantiation
- user gets a clear error msg if they try to use
np.
ornumpy.
namespaces inside ExecComp strings - in the declare_coloring method, a threshold can now be set such that the generated coloring must improve things at least as much as the given percentage or the coloring will not be used. This can happen in cases where multiple instances of the same component class appear in a given model and each instance can potentially generate a different sparsity which results in a different coloring.
-
Problem
- user can set specific slices of variables using the set_val method on problem
- added problem.compute_jacvec_prod function for matrix-free total derivative products. Useful for wrapping for loops around an OpenMDAO problem and propagating derivatives through it.
-
Visualization
- minor reformatting of the N2 menu to make better use of vertical screen space
- new visualziation tool for examining the surrogates in StructuredMetaModelComp and UnstructuredMetaModelComp
- improved
openmdao view_connections
functionality for better filtering and toggling between promoted and absolute names - component names can now optionally be shown on the diagonal for XDSM diagrams *** Peter Onodi ***
openmdao view_model
has been deprecated, useopenmdao n2
insteadvectorize
argument to ExecComp has been deprecated, usehas_diag_partials
instead- changed NewtonSolver option from
err_on_maxiter
toerr_on_non_converge
(old option deprecated) - in StructuredMetamodel, original methods 'slinear', 'cubic', 'quintic' renamed to 'scipy_linear', 'scipy_cubic', 'scipy_quintic'; new methods 'linear' and 'cubic' have been added that are faster python implementations. 'quintic' is no longer used.
prom_name=True
now works with list_outputs on CaseReader (it was broken before)- fixed a corner case where N2 diagram wasn't listing certain variables as connected, even though they were
- fixed a bug in check_totals when the FD-norm is zero
- fixed corner case bug where assembled jacobians for implicit components were not working correctly
- fixed a problem with Aitken acceleration in parallel for NonlinearBlockGaussSeidel solver
- fixed DOE driver bug where vars were recorded in driver_scaled form.
- discrete variables are now recorded
- list_outputs/list_inputs on a Case now lists in Execution order, similarly to the System methods
- fixed a bug where the derivatives calculated with complex step around a model with a BroydenSolver were wrong.
- fixed a bug in the coloring config check
June 27, 2019
- Fixed a bug in PETScVector norm calculation, which was totally wrong for serial models combined with distributed ones
- Fixed a bug with the solver debug_print option when output file already existed
- Fixed the incorrect Shockley diode equation in the Circuit example
- Fixed a few small bugs in group level FD
- Stopped reporting a warning for a corner case regarding promoted inputs that are connected inside their owning group, because everyone hated it!
- Optional normalization of input variables to multifi_cokriging
- New matplotlib based sparsity matrix viewer for coloring of partial and total derivatives
- Preferred import style now changed to
import openmdao.api as om
- Discrete variables now show up when calling the list_input/list_output functions
- Discrete variables now show up in view_model
- ScipyOptimizeDriver now raises an exception when the objective is missing
- A legend can be optionally added to the XDSM diagram. Not shown by default. *** contributed by Peter Onodi ***
May 30, 2019
2.7.1 is a quick patch release to correct/update the 2.7.0 release notes.
May 28, 2019
-
You can now define guess_nonlinear method at the group level
-
New documentation added about the N2 diagram usage
-
Significant improvement to documentation search functionality (by default, only searches the feature docs and user guide now)
-
Derivatives:
- Improved support for full-model complex-step when models have guess_nonlinear methods defined
- Experimental FD and CS based coloring methods for partial derivative approximation Valuable for efficiently using FD/CS on vectorized (or very sparse) components
-
Solvers:
Solver failed to converge
message now includes solver path name to make it more clear what failed- Improved pathname information in the singular matrix error from DirectSolver
- Directsolver has an improved error message when it detects identical rows or columns in Jacobian
- NonlinearGaussSeidel solver now accounts for residual scaling in its convergence criterion
- New naming scheme for solver debug print files (the old scheme was making names so long it caused OSErrors)
-
Components:
- ExecComp now allows unit= and shape= arguments that apply to all variables in the expression
- New AkimaSpline component with derivatives with respect to training data inputs
-
Visualization
- Several improvements for the N2 diagram for large models
- N2 diagram html files have been reduced in size significantly
openmdao view_model
command line utility now supports case record database files
-
(Experimental) Automatic XDSM generator (using either Latex with pyXDSM or html with XDSMjs) *** contributed by Peter Onodi *** *** uses XDSMjs v0.6.0 by Rémi Lafage (https://github.com/OneraHub/XDSMjs) ***
- New APIs for total derivative coloring that are more consistent with partial derivative coloring (previous APIs are deprecated and coloring files generated with the previous API will not work)
- The API for providing a guess function to the BalanceComp has changed. guess_function is now passed into BalanceComp as an init argument
- Changed the N2 diagram json data formatting to make the file size smaller You can't use older case record databases to generate an N2 diagram with latest version
- All component methods related to execution now include
discrete_inputs
anddiscrete_outputs
arguments when a component is defined with discrete i/o. (if no discrete i/o is defined, the API remains unchanged) (includessolve_nonlinear
,apply_nonlinear
,linearize
,apply_linear
,compute
,compute_jac_vec_product
,guess_nonlinear
) - The internal Driver API has changed, a driver should execute the model with
run_solve_nonlinear
to ensure that proper scaling operations occur
- CaseRecorder was reporting incorrect values of scaled variables (analysis was correct, only case record output was wrong)
- the problem level
record_iteration
method was not properly respecting theincludes
specification - ExecComp problem when vectorize=True, but only shape was defined.
- Incorrect memory allocation in parallel components when local size of output went to 0
- Multidimensional
src_indices
were not working correctly with assembled Jacobians - Fixed problem with genetic algorithm not working with vector design variables *** contributed by jennirinker ***
- Fixed incompatibility with mpich mpi library causing "PMPI_Allgather(945).: Buffers must not be aliased" error *** fzhale and nbons ***
February 22, 2018
- MetaModelStructured will detect NaN in requested sample and print a readable message.
- ScipyOptimizeDriver now supports Hessian calculation option for optimizers that use it.
- User can specify src_indices that have duplicates or have two inputs on a single component connected to the same output, and still have CSC Jacobian work.
- User can get/set problem values in a straightforward manner: prob['var'] = 2., etc. even when running in parallel.
- Problem 'get' access to distributed variables will raise an exception since it isn't clear what behavior is expected, i.e. should prob['comp.x'] return the full distributed variable or just the local part.
- Directsolver has an improved error message when it detects identical rows or columns in Jacobian.
- The NonlinearBlockGS solver has been updated with a less expensive implementation that does not call the compute method of Explicit components as many times.
- User can request a directional-derivative check (similar to SNOPTs built-in level 0 check) for check_partials.
- check_partials with compact_print will now always show all check pairs.
- The N^2 diagram (from
openmdao view_model
) now shows the solver hierarchy. - KSComp has an improved, vectorized implementation.
- list_inputs now includes a 'shape' argument.
- User can generate an XDSM from a model (
openmdao xdsm
). - User can set
units=<something>
for an execcomp, when all variables have the same units.
- The default bounds enforcement for BoundsEnforceLS is now 'scalar' (was 'vector')
- Direct solver will now use 'assemble_jac=True' by default
- Recording options 'includes' and 'excludes' now use promoted names for outputs (absolute path names are still used for inputs)
- FloatKrigingSurrogate has been deprecated since it does not provide any unique functionality.
- FloatMultifiKrigingSurrogate has been deleted because it was never used, was incorrectly implemented, and provides no new functionality.
- Complex-step around Newton+DirectSolver now works with assembled Jacobians.
- Armijolinesearch implementation was incorrect when used with solve_subsystems. The implementation is now correct.
October 31, 2018
-
list_outputs() method now includes a
prom_name
argument to include the promoted name in the printed output (Thanks John Jasa!). -
N2 viewer now includes tool tip (hover over) showing the promoted name of any variable.
-
Improved error msg when building sparse partials with duplicate col/row entries.
-
You can now build the docs without MPI/PETSc installed (you will get warnings, but no longer errors).
-
Major internal refactor to reduce overhead on compute_totals calls (very noticeable on large design spaces but still cheap problems).
-
Components now have a
under_complex_step
attribute you can check to see if complex-step is currently active. -
Components
distributed
attribute has been moved to an option (old attribute has been deprecated). -
MetaModelUnstructured will now use FD for partial derivatives of surrogates that don't provide analytic derivatives (user can override the default settings if they wish to use CS or different FD config).
-
Improvements to SimpleGA to make it more stable, and added support constraints via penalty functions (Thanks madsmpedersen and onodip).
-
Parallel FD and CS at the component and group level is now supported.
-
Can turn off the analytic derivative sub-system if it is not needed via an argument to setup().
-
Derivative coloring now works for problems that run under MPI.
-
New Components in the standard library:
- Mux and Demux components.
-
New CaseRecording/CaseReading Features:
- DesVar AND output variable bounds are both reordered now.
- Improved error msg if you try to load a non-existent file with CaseReader.
-
Experimental Feature: Discrete data passing is now supported as an experimental feature... we're still testing it, and may change the API!
-- get_objectives
method on CaseReader now returns a dict-like object.
- Output vector is now locked (read-only) when inside the
apply_nonlinear
method (you shouldn't have been changing it then anyway!). - default step size for complex-step has been changed to 1e-40.
- Moderate refactor of the CaseReader API. It is now self-consistent.
August 1, 2018
-
Better error message when upper and lower have the wrong shape for add_design_var and add_constraint methods.
-
pyOptSparseDriver now runs the initial condition for ALPSO and NSGA-II optimizers.
-
Normalization in EQConstraintComp and BalanceComp is now optional.
-
New Components in the standard library:
- VectorMagnitudeComp
-
New Solvers in the standard library:
- BroydenSolver
-
New CaseRecording/CaseReading Features:
- .load_case() method lets you pull values from a case back into the problem.
- Updated the Case recording format for better performance.
- User can call .record_iteration() to save specific cases. Recording options for this method are separate from driver/solver options. This is so you can record one (or more) cases manually with ALL the variables in it if you want to.
- The input and output vectors are now put into read-only modes within certain component methods. NOTE: This REALLY REALLY should not break anyone's models, but it is technically a backwards-incompatible change... If you were changing values in these arrays when you shouldn't have been, you're going to get an error now. Fix it... the new error is enforcing correct behavior. If it was working before, you got lucky.
- Various small bug fixes to check_partials and check_totals.
- ArmijoGoldstein linesearch iteration counter works correctly now.
- the record_derivatives recorder_option now actually does something!
June 20, 2018
2.3.1 is a quick patch release to correct/update a few release-supporting documents such as the 2.3.0 release notes. However, a few new features did manage to sneak in:
- Support for simultaneous derivatives in reverse mode.
- Added a '-m' option (possible values 'fwd' and 'rev') to the 'openmdao simul_coloring' command to allow coloring in either direction.
- Users are now warned during 'check_config' if no recorders are defined.
June 12, 2018
-
Drivers have new
debug_print
option that writes design vars, objective, and constraints to stdout for each iteration. -
Added a DOEDriver for serial and parallel cases to the standard library. (For people who had adopted DOEDriver early, via github, the following things have changed since initial implementation:)
- The option that controls the parallel behavior for DOEDriver was changed to
procs_per_model
fromparallel
. - User can provide a CSV file to the DOEDriver to run an arbitrary set of cases.
- The option that controls the parallel behavior for DOEDriver was changed to
-
Solvers have new
debug_print
option that will report the initial condition of the solver if it fails to converge. -
SimpleGADriver changes:
- Will now compute a population size based on 4*sum(bits) + 1 if pop_size=0.
- Can support models that need more than one processor.
-
Problem changes:
- New Problem methods
<problem>.get_val()
and<problem>.set_val()
allow the user to specify a unit, and we'll convert to the correct unit (or throw an error if the unit is not compatible). list_problem_vars()
method will report all design vars, objectives, and constraints.
- New Problem methods
-
OpenMDAO command line utility now works under MPI.
-
ExternalCodeComp has new option,
allowed_return_codes
to specify valid return codes. -
Components that request complex-step for partial derivative checks will now fall back to finite-difference if
force_alloc_complex=False
. -
You can now pass a case_prefix argument to run_model or run_driver to name the cases for case recording.
-
Beam example problem now runs 20x faster.
-
New Analytic Derivatives Features
- Major re-write of the Feature documentation on the Core Feature, "Working with Analytic Derivatives."
- User can now set AssembledJacobians for linear solvers. (Big speedup for a lot of lower-order or serial problems).
- Automatic calculation of total Jacobian sparsity for fwd derivatives for optimizers that support it (lower compute cost when using SNOPT).
- Automatic simultaneous coloring algorithm for separable problems to speed up derivatives calculations.
- Option for caching of linear solution vectors to speed up linear solves when using iterative solvers.
- check_partials now allows you to use
includes
andexcludes
to limit which components get checked.
-
New Components in the standard library:
- CrossProductComp
- DotProductComp
- MatrixVectorProductComp
- ExternalCodeImplicitComp
- EQConstraintComp
-
Updates to existing Components in standard library:
- LinearSystemComp has been vectorized.
- KSComp has been vectorized.
- BsplineComp has been vectorized.
-
New CaseRecording/CaseReading Features:
- CaseRecorder now saves metadata/options from all groups and components.
- CaseReader now supports
list_inputs
andlist_outputs
methods. - User can iterate over cases from a CaseReader in either flat or hierarchical modes.
- User can re-load a case back into a model via the
load_case()
method.
-
Changed all instances of
metadata
tooptions
.<system>.metadata
has now been deprecated. -
Class name changes to Components, so all end in "Comp" (old class names have been deprecated):
- MetaModelStructured -> MetaModelStructuredComp
- MetaModelUnStructured -> MetaModelUnStructuredComp
- MultiFiMetaModelUnStructured -> MultiFiMetaModelUnStructuredComp
- ExternalCode -> ExternalCodeComp
-
Driver metadata/options can now be set via init args (can still be set as options as well).
-
User no longer needs to specify PETSCvector for parallel cases (the framework figures it out now).
-
check_totals and check_partials no longer support the
supress_output
argument. Useout_stream=None
instead.
comps
argument in check_partials was replaced withincludes
andexcludes
arguments.- Re-design of the CaseReader API. Unification of all cases, and simpler iteration over case hierarchies.
partial_type
argument for LinearSystemComponent has been removedmaxiter
option from BoundsEnforceLS has been removed
- Fixed bug in component-level FD that caused it to call the model too many times.
- Added proper error check for situation when user creates a variable name containing illegal characters.
- Better error msg when adding objectives or constraints with variables that don't exist under MPI execution.
- Vectorization for MetaModelUnStructuredComp was super-duper broken. It's fixed now.
April 2, 2018
- check_partials() improvements to formatting and clarity. Report of potentially-bad derivatives summarized at bottom of output.
- check_partials() only compares fwd analytic to FD for any components that provide derivatives directly through the Jacobian argument to compute_partials or linearize. (significantly less output to view now).
- Docs for UnstructuredMetaModel improved.
- pyoptsparse wrapper only calls run_model before optimization if LinearConstraints are included.
- ScipyOptimizerDriver is now smarter about how it handles linear constraints. It caches the derivatives and doesn't recompute them anymore.
- Docs for ExternalCode improved to show how to handle derivatives.
- cache_linear_solution argument to add_design_var, add_constraint, add_objective, allows iterative linear solves to use previous solution as initial guess.
- New solver debugging tool via the
debug_print
option: writes out initial state values, so failed cases can be more easily replicated. - Added generic KS component.
- Added generic Bspline component.
- Improved error msg when class is passed into add_subsystem.
- Automated Jacobian coloring algorithm now works across all variables (previously, it was just local within a variable).
- Major refactor of the
compute_totals
method to clean up and simplify.
N/A
N/A
- compute_totals works without any arguments now (just uses the default set of des_vars, objectives, and constraints)
- UnstructuredMetaModel can now be sub-classed
- Deprecated ScipyOptimizer class wasn't working correctly, but can now actually be used.
February 9, 2018
DirectSolver
now tells you which row or column is singular when it gets a singluar matrix error.ScipyOptimizeDriver
now handles linear constraints more efficiently by only computing them one time.- Added the
openmdao
command line script to allow for model checking, visualization, and profiling without making modifications to the run script. - Added a
SimpleGADriver
with a basic genetic algorithm implementation. - Added a
MetaModelStructured
component with a interpolative method. - New option for derivative calculations: Simultaneous derivatives, useful when you have totally disjoint Jacobians (e.g. diagonal Jacobians).
- Automatic coloring algorithm added to compute the valid coloring scheme for simultaneous derivatives.
list_outputs
method updated with new display options, ability to filter variables by residual value, ability to change sorting scheme, and ability to display unit details.- openmdao citation helper added to the
openmdao
command line script, making it easy to generate the correct bibtex citations based on which classes are being used. NewtonSolver
modified so that maxiter=0 case now will compute residuals, but not do a linear solve (useful for debugging nonlinear errors).
- Changed
ScipyOptimizer
toScipyOptimizeDriver
for consistency (deprecated older class). - Renamed
MetaModel
toMetaModelUnstructured
to allow for new structured interpolant (deprecated old class). - Renamed
PetscKSP
toPETScKrylov
for consistency. (deprecated old class). - Renamed
ScipyIterativeSolver
toScipyKrylov
for consistency. (deprecated old class).
- CaseRecorder now uses variables' promoted names for storing and accessing data.
- Removed
DeprecatedComp
from codebase. list_residuals
method on Groups and Components removed.
- Fixed error check for duplicate connections to a single input from multiple levels of the hierarchy
December 7, 2017
- Configure setup hook allowing changing of solver settings after hierarchy tree is instantiated
- Component metadata system for specifying init_args with error checking
- Parallel Groups
- Units Reference added to the Docs
- Case recording now records all variables by default
openmdao
console script that can activate useful debugging features (e.g. view_model) without editing the run script- Scipy COBYLA optimizer converts des var bounds to constraints (the algorithm doesn't natively handle bounds)
- StructuredMetaModel component offers a simple spline interpolation routine for structured data
NonlinearRunOnce
changedNonLinearRunOnce
for consistency (old class deprecated)types_
argument toself.metadata.declare
changed totypes
. (old argument deprecated)types
andvalues
arguments toself.metadata.declare
BalanceComp
has ause_mult
argument to control if it has amult
input, defaulting to false (the mult input isn't used most of the time)- Renamed
MetaModel
toUnstructuredMetaModel
andMultiFiMetaModel
toUnStructuredMultiFiMetaModel
- Case Recording options API updated with
.recording_options
attribute on Driver, Solver, and System classes get_subsystem
changed to a private method, removed from public API of Systemcheck_partials
now has amethod
argument that controls which type of check
- Improved error msg on a corner case for when user doesn't declare a partial derivative
- Fixed docs embedding bug when
<>
included in the output text
October 19, 2017
- Fixing further packaging errors by updating packaging information.
- Added tutorials for derivatives of explicit and implicit components.
October 19, 2017
- Attempting to fix test errors that were happening by updating the packaging information.
October 19, 2017
First public release of 2.0.0.
(first release... so EVERYTHING!)
-
Drivers:
- ScipyOptimizer
- PyoptSparseOptimizer
-
Solvers:
- Nonlinear:
- NonlinearBlockGS
- NonlinearBlockJac
- NonlinearRunOnce
- NewtonSolver
- Linear:
- LinearBlockGS
- LinearBlockJac
- LinearRunOnce
- DirectSolver
- PetscKSP
- ScipyIterativeSolver
- LinearUserDefined
- LineSearch
- AmijoGoldsetinLS
- BoundsEnforceLS
- Nonlinear:
-
Components:
- MetaModel
- ExecComp
- BalanceComp
- LinearSystemComp
-
General Capability:
- Implicit and Explicit Components
- Serial and Parallel Groups
- Parallel distributed components (components that need an MPI comm)
- Unit conversions
- Variable scaling
- Specifying component metadata
- Analytic derivatives
- Pass-by-object variables (anything that is not a float)
- File Variables
- automatic ordering of groups/components based on connections
- Design of Experiments Driver (DOE)
- Parallel Finite Difference
- File-Wrapping utility library & External Code Component
- Approximate active set constraint calculation skipping
- Brent Solver
- CaseRecorders for CSV, HDF5, and Dump formats
N/A