]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Fixed a variable name in the example linear program.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 8 May 2010 03:01:14 +0000 (23:01 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 8 May 2010 03:01:14 +0000 (23:01 -0400)
bin/example-lp

index 160d8a40810a682aec85768c9cef6fd85fe96712..fe2256fc0c829864f1d5d2785e53c003f86e4a5b 100755 (executable)
@@ -17,7 +17,7 @@ import LinearProgramming
 
 lp = LinearProgramming.LinearProgram()
 
-lp.objective_function_coefficients = [5, 100, 30, 10, 20, 300]
+lp.objective_coefficients = [5, 100, 30, 10, 20, 300]
 
 lp.constraint_matrix = [ [1,1,1,0,0,0],
                          [0,0,0,1,1,1],