diff --git a/real/examtt/fab/dzn2py/README.md b/real/examtt/fab/dzn2py/README.md index f21d479176dcb430531e94a80207eb9b74505782..1e05d064e974a78f5996b939ff5ec6a95b2e9608 100644 --- a/real/examtt/fab/dzn2py/README.md +++ b/real/examtt/fab/dzn2py/README.md @@ -1,20 +1,16 @@ # dzn2py tool (dzn2py.sh and dzn2py_control.py) - # Desc The dzn2py.sh script makes .py.xz data file from .dzn.xz data file. Then it controls the .py produced file, by calling the dzn2py_control.py code. - The resulting .py data file is ready to be imported by exam_tt.py + The resulting .py data file is ready to be imported by + (exam_tt_main.py + exam_tt_pb.py) code. - Produced data files : -${DATA_DZN_PATH}/*.dzn ---- dzn2py.sh ----> ${DATA_PY_PATH}/*.py - -../../data/ ../../instances/python/ - - + data/InstancesDZN/*.dzn.xz ----dzn2py.sh----> instances/python/*.py.xz # Example @@ -24,7 +20,8 @@ ${DATA_DZN_PATH}/*.dzn ---- dzn2py.sh ----> ${DATA_PY_PATH}/*.py - result : - ./D1-3-18.py.xz file produced from ../../data/D1-3-18.dzn.xz file + ./D1-3-18.py.xz file produced from ../../data/InstancesDZN/D1-3-18.dzn.xz file - The D1-3-18.py data file is ready to be imported by exam_tt.py + The D1-3-18.py data file is ready to be imported by + (exam_tt_main.py + exam_tt_pb.py) code. diff --git a/real/examtt/fab/dzn2py/dzn2py.sh b/real/examtt/fab/dzn2py/dzn2py.sh index 16e024794f803c0ae24a634ea5a200b80ab5cb93..e2dae9ec415666625c8842dda1d597eeb1680019 100755 --- a/real/examtt/fab/dzn2py/dzn2py.sh +++ b/real/examtt/fab/dzn2py/dzn2py.sh @@ -7,7 +7,7 @@ fpy=`echo $fdzn.py|sed 's/.dzn//'` printf "Generates $fdzn.xz -> $fpy.xz ...\n" -cp ../../data/$1 . +cp ../../data/InstancesDZN/$1 . unxz ./$1 ; # => $fdzn sed 's/\[|/[\[/' $fdzn > ./tmp1