Closed Siddiq200 closed 6 years ago
Current implementation uses lot of memory. Tseitin encoding is to be used to decrease memory footprint.
TODO: Use this encoding for disjunction of clauses (Tseitin encoding) Example:
((a1 | a2 | a3 | a4) & (a5 | a6 | ...) & ...) | ((b1 | b2 | b3 | b4) & (b5 | ...) & ...)
# Add the following as hard clauses
~x | c1 (c1 is auxiliary variable for (a1 | a2 | a3 | a4))
...
x | ~c1 | c2 | ...
~c1 | a1 | a2 | a3 | a4
c1 | ~a1
c1 | ~a2
...
# Return the following as soft clause
x | y
@Siddiq200 This issue has been fixed.
What is the reason of this ERROR.
I entered 50 courses and slots and teachers are enough. but while adding constraints the process is terminated.
Thanks in advance.