JuliaSmoothOptimizers / JuliaSmoothOptimizers/PartitionedVectors.jl

Rely only on `Vector` in case `PartitionedVector` represent a `Vector`

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In the case an `pv::PartitionedVector` has `pv.simulate_vector == true`, then try to use only the `Vector` `pv.epv.v`.
In that case, most operations must be reimplemented to distinguish the cases `pv.simulate_vector == true` and `pv.simulate_vector == false`.
Also, the broadcast mechanism must be adapted, such that either :
- broadcast between `PartitionedVector` and `Vector` is supported
- we identify first that all `PartitionedVector`s have `pv.simulate_vector == true` to then apply the broadcast on their respective `pv.epv.v`.

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.