infinity: make cuts more reliable
This commit is contained in:
@@ -114,32 +114,32 @@ instances/%.done: $(multirow) 2row-cont/%.yaml 2row-lift/%.yaml 3row-cont/%.yaml
|
||||
|
||||
2row-cont/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 2row-cont $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 2row-cont/$*.log --stats $@ --solution solutions/$*.x || touch 2row-cont/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 2row-cont/$*.log --stats $@ --solution solutions/$*.x
|
||||
@echo " 2row-cont $* [done]"
|
||||
|
||||
2row-lift/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 2row-lift $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 2row-lift/$*.log --stats $@ --solution solutions/$*.x --lift || touch 2row-lift/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 2row-lift/$*.log --stats $@ --solution solutions/$*.x --lift
|
||||
@echo " 2row-lift $* [done]"
|
||||
|
||||
3row-cont/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 3row-cont $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 3row-cont/$*.log --stats $@ --solution solutions/$*.x --rows 3 || touch 3row-cont/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 3row-cont/$*.log --stats $@ --solution solutions/$*.x --rows 3
|
||||
@echo " 3row-cont $* [done]"
|
||||
|
||||
3row-lift/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 3row-lift $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 3row-lift/$*.log --stats $@ --solution solutions/$*.x --rows 3 --lift || touch 3row-lift/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 3row-lift/$*.log --stats $@ --solution solutions/$*.x --rows 3 --lift
|
||||
@echo " 3row-lift $* [done]"
|
||||
|
||||
5row-cont/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 5row-cont $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 5row-cont/$*.log --stats $@ --solution solutions/$*.x --rows 5 || touch 5row-cont/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 5row-cont/$*.log --stats $@ --solution solutions/$*.x --rows 5
|
||||
@echo " 5row-cont $* [done]"
|
||||
|
||||
5row-lift/%.yaml: $(multirow) instances/%.mps.gz bases/%.bas
|
||||
@echo " 5row-lift $*..."
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 5row-lift/$*.log --stats $@ --solution solutions/$*.x --rows 5 --lift || touch 5row-lift/$*.err.$$?
|
||||
@$(multirow) --mir --infinity --problem instances/$*.mps.gz --basis bases/$*.bas --log 5row-lift/$*.log --stats $@ --solution solutions/$*.x --rows 5 --lift
|
||||
@echo " 5row-lift $* [done]"
|
||||
|
||||
|
||||
|
||||
0
infinity/benchmark/scripts/render.sage
Normal file → Executable file
0
infinity/benchmark/scripts/render.sage
Normal file → Executable file
@@ -1,7 +1,5 @@
|
||||
|
||||
# This file was *autogenerated* from the file scripts/render.sage
|
||||
from sage.all_cmdline import * # import sage library
|
||||
|
||||
_sage_const_3 = Integer(3); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_0p2 = RealNumber('0.2'); _sage_const_1000 = Integer(1000); _sage_const_1en10 = RealNumber('1e-10'); _sage_const_30 = Integer(30); _sage_const_20 = Integer(20)
|
||||
import sys
|
||||
import math
|
||||
@@ -44,4 +42,3 @@ for fname in sys.argv[_sage_const_1 :]:
|
||||
|
||||
output = "%s.png" % fname
|
||||
save(p0+pf+p3+p1, output, xmin=-M, ymin=-M, xmax=M, ymax=M)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
#define _BSD_SOURCE 500
|
||||
|
||||
#include <getopt.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user