Skip to content

Adds java gurobi multi excel file example#122

Merged
merschformann merged 14 commits intodevelopfrom
merschformann/java-multi-file-excel
Jun 24, 2025
Merged

Adds java gurobi multi excel file example#122
merschformann merged 14 commits intodevelopfrom
merschformann/java-multi-file-excel

Conversation

@merschformann
Copy link
Copy Markdown
Member

Description

Adds example app for using Gurobi via Java with Excel (.xlsx) input and output files.

Changes

  • Adds java-gurobi-multiknapsack-multiexcel example app.

@merschformann merschformann requested a review from Copilot June 20, 2025 19:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a Java example app that demonstrates using Gurobi for solving a multi-knapsack problem with Excel input/output. The key changes include the implementation of the model and solver logic in Main.java, utility classes for reading/writing Excel files, and Maven project configuration files supporting the app.

Reviewed Changes

Copilot reviewed 16 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/Output.java Implements output formatting to JSON via GSON
java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/Options.java Adds command line options parsing
java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/Main.java Implements the Gurobi optimization model and solution handling
java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/ExcelWriter.java Implements Excel file writing for solution results
java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/ExcelReader.java Implements Excel file reading for input data
java-gurobi-multiknapsack-multiexcel/pom.xml Configures Maven dependencies and build plugins
Other project and configuration files Support project setup, container configuration, and CI integration
Comments suppressed due to low confidence (1)

Comment thread java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/Main.java Outdated
merschformann and others added 4 commits June 20, 2025 21:18
…example/Main.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…cel' into merschformann/java-multi-file-excel
@merschformann merschformann marked this pull request as ready for review June 20, 2025 19:31
@merschformann merschformann merged commit be34fd6 into develop Jun 24, 2025
40 checks passed
@merschformann merschformann deleted the merschformann/java-multi-file-excel branch June 24, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants