The `compute_totals` method in the `openmdao.api.Problem` class is used to compute the total derivatives of the objective and constraint functions with respect to all the design variables. These derivatives are important for optimization and sensitivity analysis. The method takes in the design variable values as inputs and returns the corresponding derivatives as outputs. It uses an algorithm called automatic differentiation to efficiently compute the derivatives. This method allows users to analyze the sensitivity of the objective and constraint functions to changes in the design variables, enabling more effective optimization of engineering systems.
Python Problem.compute_totals - 60 examples found. These are the top rated real world Python examples of openmdao.api.Problem.compute_totals extracted from open source projects. You can rate examples to help us improve the quality of examples.