Skip to content

Duplicate entries in jac_structure #105

Description

@MaxenceGollier

I have an issue when using PDENLPModels.jl.

When I call

(rows,cols) = jac_structure(nlp)

on some PDENLPModel, the tuple (rows,cols) can have duplicate entries which creates bugs on some linear algebra packages (like QRMumps.jl).
I think it would be easier to add a condition in the jac_structure function to prevent this.

I have a minimal working example if needed which is just the test/problems/controleslaticmembrane.jl example with n=20.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions