Hi Hans,

It appears that the output.clonelog = -1 did not work due to a CPLEX bug that 
has been fixed in 12.6.0.1. Information on the “fix pack” can be found here.

I have confirmed that the clone1.log files are no longer created with CPLEX 
12.6.0.1 if I add …

   opt.output.clonelog = -1;

… at line 129 of cplex_options.m, which I have done for the next MATPOWER 
release.

-- 
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853  USA
phone: (607) 255-9645

On Jul 21, 2014, at 1:10 PM, Ray Zimmerman <[email protected]> wrote:

> Unfortunately, unless I’m missing something, I don’t think CPLEX offers a way 
> to turn off the log file completely via the Matlab interface. I think the 
> output.clonelog option just controls whether the logflie is cloned when using 
> parallel computation. It’s been bugging me too, but I haven’t found a 
> solution. I’ll report back if I hear a response to this post.
> 
>     Ray
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> B30 Warren Hall, Cornell University, Ithaca, NY 14853  USA
> phone: (607) 255-9645
> 
> On Jul 21, 2014, at 5:16 AM, Barrios, Hans <[email protected]> 
> wrote:
> 
>> Dear all,
>>  
>> I am using CPLEX to solve a dcopf problem. Every time I call the dcopf, 
>> CPLEX creates a log-file called “clone1.log” and writes some solver-outputs 
>> in it.
>> If the file already exists, CPLEX opens it and extend it with new output.
>> Now I am trying to force CPLEX not to create this file, but unfortunately 
>> it´s not working.
>> My CPLEX Version: 12.6.0 and 12.5.1
>>  
>> Here is how I tried:
>>  
>>  
>> mpc = case3120sp; % Just an example
>> opt1 = mpoption('OPF_ALG_DC', 500,'OUT_ALL',0,'CPLEX_OPT',1);
>> [r,s] = rundcopf(mpc,opt1);
>>  
>> +++++++
>> function opt = cplex_user_options_1(opt, mpopt)
>>  
>> opt.output.clonelog=-1;
>>  
>> +++++++
>>  
>> I would be very thankful is somebody can help me with this issue.
>>  
>> Best Regards,
>> Hans
>>  
>>  
>> Hans Barrios Büchel, M.Sc.
>>  
>> Institut für Hochspannungstechnik / Institute for High Voltage Technology
>> - Nachhaltige Übertragungssysteme / Sustainable Transmission Systems
>> - Wissenschaftlicher Mitarbeiter / Research Assistant
>>  
>> RWTH Aachen University
>> Schinkelstraße 2, Raum SG 115.1
>> 52056 Aachen
>> Germany
>>  
>> Tel.   +49 241 80-94959
>> Fax.  +49 241 80-92135
>>  
>> Mail. [email protected]
>> Web. www.ifht.rwth-aachen.de
>>  
> 

Reply via email to