USC-ISI's ATTEND PROJECT

SAT Encoding of SNAP's single time-slot Model Problem


Problem Description and Encoding Document
[ PDF ]

Marbles Problems Examples and CNF Formulas

 

Downlodable XML Marbles Problems

Problem Size  
100 Tasks/100 Resources [HTML]
60 Tasks/60 Resources [HTML]
50 Tasks/50 Resources [HTML]
30 Tasks/30 Resources [HTML]

 

Downlodable Formulas in CNF format for the 100 Tasks x 100 Resources problems

Problem 100 tasks by 100 resources
100x100 k = 50 [CNF]
100x100 k = 51 [CNF]
100x100 k = 52 [CNF]
100x100 k = 53 [CNF]
100x100 k = 54 [CNF]
100x100 k = 55 [CNF]
100x100 k = 56 [CNF]
100x100 k = 57 [CNF]
100x100 k = 58 [CNF]
100x100 k = 59 [CNF]
100x100 k = 60 [CNF]

 


CNF Output Files and Results

 

Problem 1: 100 Resources, 100 tasks, K = 20

Problem 2: 100 Resources, 30 tasks, K = 27

Problem 3: 50 Resources, 50 tasks, K = 33

Problem 4: 30 Resources, 30 tasks, K = 24

Problem 5: 14 Resources, 15 tasks, K = 7

Problem 6: 8 Resources, 4 tasks, K = 3

Problem 7: 100 Resources, 100 tasks, K = 40

Figures for the 100 x 100 case

Figures for the 100 x 60 case

Formulas for 100 x 100 K = 50 and larger (new)

Figures for different problem sizes (new)

 


Problem 1: 100 Resources | 100 Tasks | k=20  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 95808
Number of Variables= 5345
Number of Tries= 1000
Number of Solutions= 1000
Optimization Value= 12504
Solved in (secs)= 197.3
Number of missions filled= 37
Simulated Annealing Optimization Value= 18135
Simulated Annealing Solved in (secs)= 11.8
Simulated Annealing Number of missions filled= 53

Problem 2: 100 Resources | 30 Tasks | k=27  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 20521
Number of Variables= 1675
Number of Tries= 1000
Number of Solutions= 1000
Optimization Value= 8720
Solved in (secs)= 62.47
Number of missions filled= 27
Simulated Annealing Optimization Value= 8684
Simulated Annealing Solved in (secs)= 5.73
Simulated Annealing Number of missions filled= 27

Problem 3: 50 Resources | 50 Tasks | k=33  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 31358
Number of Variables= 2126
Number of Tries= 500
Number of Solutions= 500
Optimization Value= 10902
Solved in (secs)= 257.95
Number of missions filled= 33
Simulated Annealing Optimization Value= 10859
Simulated Annealing Solved in (secs)= 6.281
Simulated Annealing Number of missions filled= 32

Problem 4: 30 Resources | 30 Tasks | k=24  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 10200
Number of Variables= 940
Number of Tries= 1000
Number of Solutions= 1000
Optimization Value= 8352
Solved in (secs)= 46.5
Number of missions filled= 24
Simulated Annealing Optimization Value= 8319
Simulated Annealing Solved in (secs)= 3.67
Simulated Annealing Number of missions filled= 24

Problem 5: 14 Resources | 15 Tasks | k=7  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 1391
Number of Variables= 258
Number of Tries= 1000
Number of Solutions= 1000
Optimization Value= 2030
Solved in (secs)= 4.166
Number of missions filled= 7
Simulated Annealing Optimization Value= 2100 (optimal value)
Simulated Annealing Solved in (secs)= 1.742
Simulated Annealing Number of missions filled= 7

Problem 6: 8 Resources | 4 Tasks | k=3  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 320
Number of Variables= 65
Number of Tries= 1000
Number of Solutions= 1000
Optimization Value= 405 (optimal value)
Solved in (secs)= 1.172
Number of missions filled= 3
Simulated Annealing Optimization Value= 405 (optimal value)
Simulated Annealing Solved in (secs)= 1.222
Simulated Annealing Number of missions filled= 3

Problem 7: 100 Resources | 100 Tasks | k=40  
input formula cnf file [CNF]
results cnf file [CNF]
Number of Clauses= 156828
Number of Variables= 7345
Number of Tries= 1000
Number of Solutions= 1
Optimization Value= 0
Solved in (secs)= 219.055
Number of missions filled= 0
Simulated Annealing Optimization Value= 18208
Simulated Annealing Solved in (secs)= 12038
Simulated Annealing Number of missions filled= 51

 

Increase of WSAT search time with the value of K of the 100x100 case.

Currently I cannot solve for K >29. However the k_max should be close to 52 or 53.

 

Number of filled tasks vs. k

 

MaxValue vs. k

 


In these ones is easy to see that for smaller problem the transition in the

SAT time matches the average k_filled found by SA

 

 

 

 


K Threshold curves for different size of the problem