baobabsoluciones / baobabsoluciones/cornflow

Update PARAMETER_SOLVER_TRANSLATING_MAPPING for new Gurobi version

Open
#656 0 comments 0 reactions 1 assignee Claimed by @alejandrarr1601 View on GitHub
client good first issue
Dominant language
Python
Stars
21
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**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.

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.