summaryrefslogtreecommitdiff
path: root/work
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2021-07-04 12:22:00 -0400
committercyfraeviolae <cyfraeviolae>2021-07-04 12:22:00 -0400
commit39f0757c2eb8becd2c50100e78b90964a1fac6bb (patch)
tree566838f061097aa4bdc32c147ce032efa5c0ad2d /work
init
Diffstat (limited to 'work')
-rwxr-xr-xwork9
1 files changed, 9 insertions, 0 deletions
diff --git a/work b/work
new file mode 100755
index 0000000..ffa1a11
--- /dev/null
+++ b/work
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+TAG=$1
+if [ -z "$TAG" ]; then
+ echo "Need tag";
+ exit 1;
+fi
+glpsol --check --lp --wmps "mps.$TAG" "lp.$TAG"
+cbc "mps.$TAG" -sec 3600 solve -solution "sol.$TAG"
+echo "Done"