artist has asked for the wisdom of the Perl Monks concerning the following question:
I like to solve for the value of the variables. In above code, the variables A..F can take values only from 0 and 1. There are redundant equations and others that looks like overlaps. There is no overlap in conditions. For example B + D <=1 and B+D >=1 implies B +D = 1. One thing to note: The RHS is not necessarily 1 all the time.A + E <= 1 A + B <= 1 C + E <= 1 D + F <= 1 B + D <= 1 A + C + E >= 1 B + D >= 1 E + F >= 1 D + F = 1 A + E <= 1 C + D <= 1 A + B + C + D + E + F = 3
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Logical Equations
by salva (Canon) on Jul 09, 2009 at 08:29 UTC | |
Re: Logical Equations
by moritz (Cardinal) on Jul 08, 2009 at 18:05 UTC | |
by tilly (Archbishop) on Jul 09, 2009 at 06:10 UTC | |
by moritz (Cardinal) on Jul 09, 2009 at 06:22 UTC | |
Re: Logical Equations
by tilly (Archbishop) on Jul 09, 2009 at 06:42 UTC | |
by dHarry (Abbot) on Jul 09, 2009 at 13:41 UTC | |
by tilly (Archbishop) on Jul 09, 2009 at 15:18 UTC | |
Re: Logical Equations
by Fletch (Bishop) on Jul 08, 2009 at 18:01 UTC | |
Re: Logical Equations
by planetscape (Chancellor) on Jul 09, 2009 at 05:29 UTC | |
Re: Logical Equations
by jethro (Monsignor) on Jul 08, 2009 at 18:04 UTC | |
Re: Logical Equations
by elTriberium (Friar) on Jul 10, 2009 at 00:23 UTC |