From bb72622a6f659dfc728b73dde94db985a2d7b589 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 5 Apr 2010 15:22:46 -0400 Subject: [PATCH] Switch lp_solve.py to solve a minimization problem. --- lib/makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/makefile b/lib/makefile index 4115134..301f2a2 100644 --- a/lib/makefile +++ b/lib/makefile @@ -50,6 +50,8 @@ LFLAGS_PATCH = sed -i 's/^LFLAGS = -L -l$$/LFLAGS = -L/' sed -i 's~lpsolve55/bin/\(ux\|win\)32~../lp_solve~' setup.py; \ python setup.py build; \ mv build/lib.linux-*/* ../../../lp_solve/; +# Change the problem type from 'maximize' to 'minimize'. + sed -i 's/set_maxim/set_minim/' lp_solve/lp_solve.py lp_solve_lib_src: -- 2.44.2