baobabsoluciones/cornflow

Update PARAMETER_SOLVER_TRANSLATING_MAPPING for new Gurobi version

開放

#656 建立於 2025年6月18日

 (0 則留言) (0 個反應) (1 位負責人)Python (5 個分叉)auto 404
clientgood first issue

倉庫指標

星標
 (21 顆星)
PR 合併指標
 (平均合併 46天 15小時) (30 天內合併 5 個 PR)

描述

Is your feature request related to a problem? Please describe. Since version 12.0.1 of Gurobi, the solver no longer supports the "msg" parameter and instead uses "OutputFlag". This requires users to manually update their solver configurations, which is inconvenient and error-prone, especially when upgrading from older versions.

Describe the solution you'd like We propose adding a mapping from "msg" to "OutputFlag" in the PARAMETER_SOLVER_TRANSLATING_MAPPING dictionary. This would allow Cornflow to automatically translate legacy configuration parameters, avoiding the need for manual updates.

Describe alternatives you've considered The alternative is to manually replace "msg" with "OutputFlag" in all solver configurations. However, this adds maintenance overhead and may lead to confusion or mistakes for users updating their environments.

Additional context This change would simplify the migration process to Gurobi 12.0.1 by preserving compatibility with existing configuration files. It aligns with Cornflow's goal of providing abstraction over solver-specific parameter names.

貢獻者指南