Reputation: 401
I want to find an LP-relaxation solution to my problem by using Gurobi.py (a Python package for solving LP). I could do it by rewriting .lp file by changing all Integrality constraints to continuous. However, I do not want to write .lp file again.
Upvotes: 1
Views: 1142
Reputation: 5653
There are several ways to do this, depending on your needs. Here are my recommended methods:
Upvotes: 4