Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: naveendivakaran
Hi,
How can I solve a MIP relaxed with Python API? I know I can use the integrality tolerance parameter to set a tolerance on integer variables. But I am not sure that is the best way to go about it? Is there a better method?
-Naveen
To relax a variable just change its type to "continuous". Or use Cplex.set_problem_type() to change the type of the problem to LP.
Thanks for the quick response :)