jump-dev / jump-dev/MathOptInterface.jl

Setting starting values for vector variable bridges

オープン
#2,117 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Submodule: Bridges
主要言語
Julia
スター
504
フォーク
101
平均マージ
6時間 26分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。