Skip to content

Update gurobi dependency#182

Merged
dwr-zroy merged 2 commits intomainfrom
devops/161-use-maven-gurobi-rebased
Dec 30, 2025
Merged

Update gurobi dependency#182
dwr-zroy merged 2 commits intomainfrom
devops/161-use-maven-gurobi-rebased

Conversation

@dwr-zroy
Copy link
Collaborator

Replaces #163, new PR created to not conflict with ongoing work by UC Davis.

Description

Update the gurobi version used from 5 to 11.0.3. This update also allows us to use the Gurobi jar from Maven Central.

Changes were needed in the gradle files to change the version, and some external repositories were deleted since we didn't need to source the version 5 anymore. Changes to source code were needed to import com.gurobi.gurobi.*;, instead of gurobi.*.

closes #161 .

Change repository to Maven Central for Gurobi, and change import to the correct package.
The default value for project.dir of "" in the `ConfigUtilsTest` would
cause tests to fail is the user could not create the file `\XXX.log`.
The logging configuration file is also updated to create a specific
`.wrims/logs/runs` folder to track these logs that fall-through.
@dwr-zroy dwr-zroy requested a review from dwr-ycheng December 19, 2025 23:45
@dwr-zroy dwr-zroy self-assigned this Dec 19, 2025
@dwr-zroy dwr-zroy requested a review from hxiedwr as a code owner December 19, 2025 23:45
@dwr-zroy dwr-zroy added the dependencies Pull requests that update a dependency file label Dec 19, 2025
@dwr-zroy dwr-zroy requested a review from jmdegeorge as a code owner December 19, 2025 23:45
@dwr-zroy dwr-zroy moved this to Needs Review in WRIMS 3 Development Dec 19, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

@dwr-ycheng dwr-ycheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the commit related to update of Gurobi version, the updates make sense. I spent most of the time comparing code differences in the GurobiSolver.java. no major changes to the code, mainly just rearrangement of the modules within the code.

For the commit related to bugfix, the code changes are minor, replacing WRIMS_LOG_DIR with WRIMS_FALLBACK_LOG_DIR.

@dwr-zroy dwr-zroy merged commit 38e920d into main Dec 30, 2025
2 of 3 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Done in WRIMS 3 Development Dec 30, 2025
@dwr-zroy dwr-zroy deleted the devops/161-use-maven-gurobi-rebased branch January 5, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Gurobi dependencies

2 participants