help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] csv_driver:unable to create ....csv - Permission denied


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] csv_driver:unable to create ....csv - Permission denied
Date: Tue, 6 Jan 2015 17:29:24 +0100

Hello Martin,

an alternative way to import data is using SQL.

If you look for an easier to program API to create the MIP on the fly have look 
at https://www.xypron.de/projects/linopt/

Please, remember that the GLPK library is not thread safe.

Best regards

Heinrich Schuchardt

http://www.xypron.de

Am 06.01.15 um 16:26 schrieb Martin Albrecht

> Dear Heinrich,
> 
> 
> 
> many thanks for the fast answer.
> 
> 
> 
> In my Java code I always use the close() command after writing to the files.
> 
> I have also restarted my computer to make sure that no instance of the 
> 
> file is blocked.
> 
> 
> 
> The strange thing is that it works for some iterations (i.e. Java closes 
> 
> and GLPK open the files succesfully).
> 
> And I cannot reproduce it. In different test runs of the same instance, 
> 
> the error may occur at different iterations.
> 
> I also have aborted the program code directly after the error occurs. 
> 
> Then I open the model with Gusek. (I do not make any other changes such 
> 
> as closing an EXCEL file.)
> 
> Here it can be solved without problems.
> 
> 
> 
> May it be generally not recommended to do mass data exchange using .csv 
> 
> files with GLPK?
> 
> Unfortunately, the Java interface is not very intuitive for me. I have 
> 
> to "see" the formulation in Gusek. I would have lots of difficulties 
> 
> with explicitly defining the rows and columns of the problem as it is 
> 
> necessary for using the Java interface.
> 
> 
> 
> Best regards
> 
> Martin
> 
> 
> 
> 
> 
> 
> 
> Am 06.01.2015 12:49, schrieb Heinrich Schuchardt:
> 
> > Heinrich Schuchardt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]