pyoptsparse icon indicating copy to clipboard operation
pyoptsparse copied to clipboard

pyOptSparse is an object-oriented framework for formulating and solving nonlinear constrained optimization problems in an efficient, reusable, and portable manner.

Results 56 pyoptsparse issues
Sort by recently updated
recently updated
newest added

# Description of feature Currently, the version of SLSQP provided is quite old, and suffers from several bugs that have been fixed elsewhere. See #301 for some discussion. Since SLSQP...

maintenance

## Purpose This PR introduces a new version of OptView that uses an MVC design pattern and PtQt6, built on the pyOptSparse history file api. This new version will fully...

enhancement

# Description Dymos recently added a decorator in openmdao/dymos#570, which may be something we want to implement in pyOptSparse natively also. This could be useful for: - skipTest in pyOptSparse...

enhancement

# Description of feature The optimal design is stored in the solution object, but not in the history file (remember that the final iteration may not be the optimal solution)....

enhancement

# Description of feature The current setup is not very good---we use the same `Error` class for all exceptions, which means we cannot catch specific errors. Instead, we must resort...

# Description of feature I'm thinking something like ``` plotOpt --vars "feasibility" "optimality" --vars "cruise_drag" "maneuver_drag" --vars "twist" --output opt.png ``` which will generate a 3x1 stacked plot of these...

enhancement

## Description Check that the call counters are correct, even when using FD/CS etc. Also check that timings are set up correctly.

# Description of feature Add a capability to the IPOPT wrapper so that it gets the major iterations info, including objective, (primal) infeasibility, optimality (which appears as dual infeasibility). #...

enhancement

## Description The code incorrectly assumes that `isMajor` is only defined at major iterations. The code makes the check for the `isMajor` flag as part of the check [here](https://github.com/mdolab/pyoptsparse/blob/9506f3e3d40d60d8c1d7ca2382a358080962de23/pyoptsparse/pyOpt_history.py#L597-L602) Possibly...

## Description `History.getValues()` does not work when we call it with `allowSens=True` and default values for the other inputs. To make it work, users have to specify appropriate `callCounters` and...