I am learning to use lpsolve in python to solve the linear programming, I followed the website, and it worked well. But I could not find where to set the max/min attribute in LP problem, it has tortured me for some days.
how can I specify the linear programming I have created to be maximizing or minimizing programming with lpsolve
228 views Asked by Sunflower At
1
taking a quick look, it seem to me you need to use
set_maxim
andset_minim
, as in here. from python code it would be:or