]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Update the example linear program to use the new constants.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Apr 2010 17:51:54 +0000 (13:51 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Apr 2010 17:51:54 +0000 (13:51 -0400)
bin/example-lp

index 25b04539dfa3370b25e4846694bff87b3d35c2bf..160d8a40810a682aec85768c9cef6fd85fe96712 100755 (executable)
@@ -25,7 +25,7 @@ lp.constraint_matrix = [ [1,1,1,0,0,0],
                          [0,1,0,0,1,0],
                          [0,0,1,0,0,1] ]
 
-lp.inequalities = ([LinearProgramming.LEQ] * 2) + ([LinearProgramming.EQ] * 3)
+lp.inequalities = ([LinearProgramming.LE] * 2) + ([LinearProgramming.EQ] * 3)
 
 lp.rhs = [ 500, 600, 400, 300, 200 ]