Skip to content

Commit 6831f6d

Browse files
committed
support .gz files in benchmark script
1 parent 3e6748c commit 6831f6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/linear_programming/run_mps_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ else
360360
mapfile -t mps_files < <(find "$MPS_DIR" -type f \( -name "*.mps" -o -name "*.MPS" -o -name "*.SIF" \) | sort)
361361
else
362362
# Gather .mps/.MPS and .SIF files in the directory
363-
mapfile -t mps_files < <(ls "$MPS_DIR"/*.mps "$MPS_DIR"/*.MPS "$MPS_DIR"/*.SIF 2>/dev/null)
363+
mapfile -t mps_files < <(ls "$MPS_DIR"/*.mps "$MPS_DIR"/*.MPS "$MPS_DIR"/*.SIF "$MPS_DIR"/*.mps.gz "$MPS_DIR"/*.MPS.gz "$MPS_DIR"/*.SIF.gz 2>/dev/null)
364364
fi
365365

366366
echo "Found ${#mps_files[@]} .mps and .SIF files in $MPS_DIR"

0 commit comments

Comments
 (0)