Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • PMC-SOG/experiments/regex-lp
1 result
Show changes
Commits on Source (2)
-------------Graph with 4000 nodes and 3000 edges, 4000 labels-------------
Informations du graphe :
Nodes : 4000 | Edges créés : 3000 | Labels utilisés : 643
FIN EXPREG
Fin expreg time: 0.002324 seconds
Fin generate paths time: 0.021319 seconds
nb of no null paths 1512
Average Path size : 0
Taille de la Matrice des contraintes :
(643 , 1512)
init de la matrice des contraintes ...
fin creation des variables ..
fin création des contraintes ..
Objective :
fin fct objective ..
Fin PL time: 0.954774 seconds
Solution:
Optimal objective value = 1576
==> le nombre de chemins optimaux : 213 parmi 1512 chemins
Average optimal paths size : 22
Total time: 0.955675 seconds
-------------Graph with 4000 nodes and 3000 edges, 4400 labels-------------
Informations du graphe :
Nodes : 4000 | Edges créés : 3000 | Labels utilisés : 659
FIN EXPREG
Fin expreg time: 0.002414 seconds
Fin generate paths time: 0.018413 seconds
nb of no null paths 1507
Average Path size : 0
Taille de la Matrice des contraintes :
(659 , 1507)
init de la matrice des contraintes ...
fin creation des variables ..
fin création des contraintes ..
Objective :
fin fct objective ..
Fin PL time: 0.058348 seconds
Solution:
Optimal objective value = 1698
==> le nombre de chemins optimaux : 224 parmi 1507 chemins
Average optimal paths size : 22
Total time: 0.058918 seconds
-------------Graph with 4000 nodes and 3000 edges, 4600 labels-------------
Informations du graphe :
Nodes : 4000 | Edges créés : 3000 | Labels utilisés : 649
FIN EXPREG
Fin expreg time: 0.002393 seconds
Fin generate paths time: 0.017827 seconds
nb of no null paths 1506
Average Path size : 0
Taille de la Matrice des contraintes :
(649 , 1506)
init de la matrice des contraintes ...
fin creation des variables ..
fin création des contraintes ..
Objective :
fin fct objective ..
Fin PL time: 0.079652 seconds
Solution:
Optimal objective value = 1568
==> le nombre de chemins optimaux : 221 parmi 1506 chemins
Average optimal paths size : 21
Total time: 0.080204 seconds
File added
#!/bin/bash
# Output file where all the results will be stored
output_file="./result/random_results.txt"
output_file="../result/random_results.txt"
# Create or clear the result file
> "$output_file"
......
......@@ -12,7 +12,7 @@ for i in {1..12}; do
input_file="../toys_examples/graph$i.dot"
# Execute the ./optlp command with the input file and store the results in the ./result/ folder
./optlp --input-file "$input_file" --output-folder ./result/
./optlp --input-file "$input_file" --output-folder ../result/
# Write a separator line indicating the current graph number in the result file
echo "-------------Graph$i-------------" >> "$output_file"
......