]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - bin/example-lp
Fixed a variable name in the example linear program.
[dead/census-tools.git] / 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],