How can I read an LP/MPS file in pulp?

93 Views Asked by At

I have a LP/MPS file like this:

Maximize
3x + 2y

Subject To
Constraint1: x + 2y <= 5
Constraint2: 2x - y >= 3

Bounds
0 <= x <= 10
y >= 0

General
x, y

End

Can I read it in pulp or I have to read by myself? I've tried to read it by myself, and it's very complicated. I also searched on the internet for how to read an LP/MPS file, but I didn't find any instructions. Thanks

0

There are 0 best solutions below