jump-dev / jump-dev/MathOptInterface.jl
Setting starting values for vector variable bridges
- Ngôn ngữ chính
- Julia
- Star
- 504
- Fork
- 101
- Merge trung bình
- 6 giờ 26 phút
- Pull request đã merge (30 ngày)
- 22
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with src/Bridges/Variable/set_map.jl around lines 182-192 and read how FlipSignBridge handles starting values. Trace the bridge lifecycle through final_touch, then compare whether caching belongs in the bridge or BridgeOptimizer. Done means non-diagonal linear maps can set vector starting values consistently.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia
- Lĩnh vực
- backend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100