X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fcensus-tools.git;a=blobdiff_plain;f=bin%2Fexample-lp;h=fe2256fc0c829864f1d5d2785e53c003f86e4a5b;hp=160d8a40810a682aec85768c9cef6fd85fe96712;hb=2686a542f487f384037ade7427038083f1f62657;hpb=53af263b8cb58f03e8cb8a7fbe4d54351e40c09e diff --git a/bin/example-lp b/bin/example-lp index 160d8a4..fe2256f 100755 --- a/bin/example-lp +++ b/bin/example-lp @@ -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],