Replies: 8 comments 1 reply
-
testSolver.py 2024 by Tobias Paxian; run with --help for more information. STARTING IN MSE 2024 --> the solver must return one of the following exit codes: Skipping files due to: upper_bound_violation: 30; Start searching in 249 instances for issues. COUNTER: [238/249], next: MSE22Unique/9d81041e30889b71e2df4bab7f16970a4c3a2b0849de3ba81b414aadaa7d9968.wcnf
Overall Evaluation: Total runtime of script: 7.35s |
Beta Was this translation helpful? Give feedback.
-
Hi, I have just pushed my recent commits. They contain a fix to the problem found by testSolver.py. The change is in lines 597-607 of MsSolver.cc. The exit codes are also modified as required by the new MSE2024 rules. Best regards, Marek |
Beta Was this translation helpful? Give feedback.
-
Hi, after running testSolver.py with different parameters I found a few other problems with the code and pushed a fix to them. Regards, Marek |
Beta Was this translation helpful? Give feedback.
-
normalized-par16-1-c.opb.zip |
Beta Was this translation helpful? Give feedback.
-
The function setFrozen in CadicalWrap.h has to be fixed and really freeze variables in CaDiCaL. I have already commited the fix. Best regards, |
Beta Was this translation helpful? Give feedback.
-
I hope this message finds you well. I have identified a small bug in the SCIP checker within the solver that is relatively straightforward to fix. The issue lies in the condition: In reality, if all soft clause weights are negative, this condition is inevitably met because UB_goalval += fixed_goalval. Consequently, when all soft clause weights are negative, precision problems may arise, and if dealing with large integers, it can lead to errors. Additionally, I've encountered another issue. While reading the PBO file, if the memory usage exceeds the limit, it results in misalignment without ending the output correctly, meaning it does not output "UNKNOWN". Could you please provide guidance on how to address these issues? |
Beta Was this translation helpful? Give feedback.
-
Dear Marek, I hope this email finds you well. I am writing to report a bug I encountered while using Cadical for solving problems. The issue arises during the binary search process. Specifically, the line of code: bool clear_assump = (cnt * 3 >= assump_ps.size()); This can cause addUnitClause(base_assump[i]); If the solver returns a SAT result while using Cadical, it triggers: solver->add(lit2val(p)); When Cadical executes the REQUIRE(state() == SATISFIED, "can only get value in satisfied state"); This results in the following error message: cadical: fatal error: invalid API usage of 'int CaDiCaL::Solver::val(int)' in '/mnt/e/product/c/UwrMaxSat/cadical/src/solver.cpp': can only get value in satisfied state. I hope this information helps in identifying and fixing the bug. Please let me know if you need any further details or if there is anything else I can assist with. Best regards, |
Beta Was this translation helpful? Give feedback.
-
I hope I have fixed the problems you described. I have just started my holidays, so I have no spare time to test them well. Best regards, |
Beta Was this translation helpful? Give feedback.
-
I believe there is an error with
general_multi_level_opt
and its related parts. The code fails to pass the Regression Suite tests for small examples under this year's new competition rules when the-no-scip
parameter is used. I suspect that the error lies in lines 785-786. This section makes assumptions that lead to subsequent errors.Beta Was this translation helpful? Give feedback.
All reactions