Skip to content
Advertisement

Tag: linear-programming

Get minimum of maximize value on pulp objective function

I’m trying to use pulp to get minimum value U(X) of following objective function, where x_{f,i,v} is binary value. And I’m having problem while writing max() when set an objective function to pulp.LpProblem. What I do is use python inner function max() but it gives me an error. Seems like it cannot be used to pulp. How can I use

Advertisement