cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

Disable CPLEX clone logs using the CPLEX params

Open pablormier opened this issue 4 years ago • 2 comments

solveCobraMILP contains code to remove 'clone1.log' file (see code). Disabling clone logs should be done by passing extra parameters through varargin (concretely, passing an option structure where output.clonelog = -1 (see CPLEX docs).

Actually, in a machine with > 1 core, by default CPLEX generates clone logs from 1 to N processors, and so this line does not solve the problem.

pablormier avatar Oct 03 '19 15:10 pablormier

Agreed. Pls could you contribute this fix? https://opencobra.github.io/cobratoolbox/stable/contributing.html

rmtfleming avatar Oct 07 '19 08:10 rmtfleming

I can do it :)

pablormier avatar Oct 07 '19 12:10 pablormier