mdolab / mdolab/pyoptsparse

Update ParOpt Interface

Open
#353 0 comments 0 reactions 2 assignees View on GitHub

@marcomangano is already working on this.

Since Aug 24, 2023.

enhancement
Dominant language
Python
Stars
270
Forks
123
Avg merge
1d 18h
Merged PRs (30d)
3

Description

Description of feature

ParOpt has seen some recent updates that have changed it's API and added support for general sparse constraints that pyOptSparse could take advantage of. See here

Potential solution

We need to update the ParOpt interface to return sparse and dense constraints, and their jacobians, separately.
As a first attempt, we could simply treat linear constraints as sparse and nonlinear constraints as dense, I think this would already result in a large performance improvement. After that we could look into something like determining which constraints are sparse using the density of each row in the full constraint Jacobian.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.