Mail Archive Home | sat4j-dev List | November 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Bugs item #307847, was opened at 14/11/2007 15:20 You can respond by visiting: http://forge.objectweb.org/tracker/?func=detail&atid=350289&aid=307847&group_id=228 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Pascal Rapicault (pascal) Assigned to: Nobody (None) Summary: Pseudo boolean solver fails to find optimal solution when tautology is added Initial Comment: Setup: Version: sat4j 1.7 Solver: newMinimalOPBClauseCardConstrMaxSpecificOrder Reader: GoodOPBReader When I give as input the attached problem to the solver mentioned previously, the the solution returned is not the minimal one. However if I remove the last constraint of the problem (+ 1 v1 = 1), the solution returned is the minimal one. ---------------------------------------------------------------------- >Comment By: Daniel Le Berre (leberre) Date: 14/11/2007 18:10 Message: connecté user_id=4369 Pascal, Here is an updated opb file that works fine. Here is the output of the solver: c #vars 4 c #constraints 6 c SATISFIABLE c OPTIMIZING... c Got one! Elapsed wall clock time (in seconds):0.03 o 14 c starts : 1 c conflicts : 0 c decisions : 1 c propagations : 7 c inspects : 15 c learnt literals : 0 c learnt binary clauses : 0 c learnt ternary clauses : 0 c learnt clauses : 0 c root simplifications : 0 c removed literals (reason simplification) : 0 c reason swapping (by a shorter reason) : 0 c Calls to reduceDB : 0 c speed (decisions/second) : 1000.0 c non guided choices 0 s OPTIMUM FOUND v x1 -x2 x3 x4 c objective function=14 ---------------------------------------------------------------------- Comment By: Pascal Rapicault (pascal) Date: 14/11/2007 16:43 Message: Logged In: YES user_id=13911 Here is the file. Sorry about that. ---------------------------------------------------------------------- Comment By: Daniel Le Berre (leberre) Date: 14/11/2007 15:41 Message: connecté user_id=4369 Pascal, the problem is not attached to the bug report. ---------------------------------------------------------------------- You can respond by visiting: http://forge.objectweb.org/tracker/?func=detail&atid=350289&aid=307847&group_id=228
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.