How to save log file from pulp , log including algorithms used by the solver ?
while this is printed in the python IDE console, looking to save it as a txt file .
Operations Research Stack Exchange is a question and answer site for operations research and analytics professionals, educators, and students. It only takes a minute to sign up.
Sign up to join this communityYou can use the logPath argument:
prob.solve(pulp.PULP_CBC_CMD(msg=1,logPath="info.log")
More information can be found here:
https://coin-or.github.io/pulp/technical/solvers.html#pulp.apis.COIN_CMD