Skip to content

Commit cef7035

Browse files
committed
Align output file path name
1 parent 6bfcc21 commit cef7035

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mvn package | docker run -i --rm \
2+
-v $(pwd):/app ghcr.io/nextmv-io/runtime/java:latest \
3+
java -jar /app/main.jar

java-gurobi-multiknapsack-multiexcel/java-gurobi-knapsack.code-workspace renamed to java-gurobi-multiknapsack-multiexcel/java-gurobi-multiknapsack-multiexcel.code-workspace

File renamed without changes.

java-gurobi-multiknapsack-multiexcel/src/main/java/com/nextmv/example/Options.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ public int getDuration() {
2424
}
2525

2626
public static Options fromArguments(String[] args) {
27+
// Set the default input/output directories as used by Nextmv Platform.
28+
// All input files are placed in the "inputs" directory, prior to the run.
29+
// And all output files will get collected in the "solutions" directory, after
30+
// the run.
2731
String inputPath = "inputs/";
28-
String outputPath = "outputs/";
32+
String outputPath = "solutions/";
2933
int duration = 30;
3034

3135
for (int i = 0; i < args.length; ++i) {

0 commit comments

Comments
 (0)