jump-dev / jump-dev/MathOptInterface.jl

Setting starting values for vector variable bridges

未关闭
#2,117 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Submodule: Bridges
主要语言
Julia
星标
504
派生
101
平均合并
6 小时 26 分钟
30 天内合并 PR
22

描述

This is working for `FlipSignBridge` since it just multiply by `-1` but for a linear map that is not diagonal, we cannot set the starting values variable by variable.

https://github.com/jump-dev/MathOptInterface.jl/blob/5025b50de1d6cb29e6bbb0d26adfcf1b57b6a51c/src/Bridges/Variable/set_map.jl#L182-L192

We would need to cache the vector of starting values in the bridge and then do the linear map in `final_touch`.

Alternatively, this caching could be done by `BridgeOptimizer` to simplify the job of each bridge but that caching isn't needed for `FlipSignBridge` so it could be a waste.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。