JuliaSmoothOptimizers / JuliaSmoothOptimizers/PDENLPModels.jl

Duplicate entries in jac_structure

Open
#105 4 comments 1 reaction 1 assignee Claimed by @tmigot View on GitHub
Dominant language
Julia
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.