help-glpk
[Top][All Lists]
Advanced

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

Help: “current directory” function


From: Manuel Castro
Subject: Help: “current directory” function
Date: Thu, 03 Dec 2020 13:48:30 +0000
User-agent: Zoho Mail

Hi glpk wizards,

I wonder if there a kind of function or workaround that returns the directory path of where the ‘.mod’ file is??

Basically in the folder where the ‘.mod’ file is, I have created another folder called “data” where I have all my input and output CSV data files. I can insert this directory path as a string in the GLPK reading CSV file statement. But of course if I change the directory of the project then, I have to go to the ‘.mod’ file and rewrite the directory path which is very inconvenient. 

So, is there a function/workaround that can return the directory path of the ‘mod’ file?

Many thanks for your help.

Kind regards,
Manuel.



reply via email to

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