Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Conversion
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vladislav Kiselev
Conversion
Commits
57cda042
Commit
57cda042
authored
Dec 03, 2018
by
Vladislav Kiselev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run.sh updated
parent
963aead7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
experiment/run.sh
experiment/run.sh
+6
-4
No files found.
experiment/run.sh
View file @
57cda042
...
...
@@ -3,16 +3,18 @@
rm
-f
raw_result.txt
rm
-f
result.txt
java
-classpath
"../out/production/Conversion"
inport.Main to_MiniZinc_0
in
.ipp conversion_0.dzn
VERSION
=
"1"
mzn2fzn
-o
model.fzn
"../constraints/conversion_0.mzn"
conversion_0.dzn
java
-classpath
"../out/production/Conversion"
inport.Main
"to_MiniZinc_
$VERSION
"
in
.ipp
"conversion_
$VERSION
.dzn"
mzn2fzn
--no-optimize
-o
model.fzn
"../constraints/conversion_
$VERSION
.mzn"
"conversion_
$VERSION
.dzn"
N_LINES
=
$(
wc
-l
model.fzn
)
echo
"Model size :
$N_LINES
"
START
=
$(
date
+%s.%N
)
minizinc
--solver
Gecode
"../constraints/conversion_0.mzn"
conversion_0.dzn
>>
raw_result.txt
minizinc
--solver
Chuffed
"../constraints/conversion_
$VERSION
.mzn"
"conversion_
$VERSION
.dzn"
>>
raw_result.txt
# Gecode Chuffed
END
=
$(
date
+%s.%N
)
DIFF
=
$(
echo
"
$END
-
$START
"
| bc
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment