1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Author: Ralf Treinen <treinen@debian.org>
Description: Fix calls of cbc of solving engines
Index: mccs-1.0/cbclp
===================================================================
--- mccs-1.0.orig/cbclp 2011-05-06 17:05:22.000000000 +0200
+++ mccs-1.0/cbclp 2011-05-08 17:22:02.000000000 +0200
@@ -2,4 +2,4 @@
(
echo "import $1"
echo "solve"
- echo "solution \$" ) | ../cbc/Cbc-2.6.4/build/bin/cbc
+ echo "solution \$" ) | /usr/bin/cbc
Index: mccs-1.0/sciplp
===================================================================
--- mccs-1.0.orig/sciplp 2011-05-08 17:22:31.000000000 +0200
+++ mccs-1.0/sciplp 2011-05-08 17:24:59.000000000 +0200
@@ -1,2 +1,4 @@
#!/bin/sh
-../scip/scip-2.0.1.linux.x86_64.gnu.opt.spx -f $1
+SCIP-EXECUTABLE=scip-2.0.1.linux.x86.gnu.opt.spx
+
+$SCIP-EXECUTABLE -f $1
Index: mccs-1.0/wbopb
===================================================================
--- mccs-1.0.orig/wbopb 2011-05-08 17:22:31.000000000 +0200
+++ mccs-1.0/wbopb 2011-05-08 17:24:50.000000000 +0200
@@ -1,2 +1,4 @@
#!/bin/sh
-../PB/wbo-static -file-format=opb $*
+WBO-EXECUTABLE=wbo-static
+
+$WBO-EXECUTABLE -file-format=opb $*
|