]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - bin/example-lp
Update the example linear program to use the new constants.
[dead/census-tools.git] / 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 ]