Originally posted by: SystemAdmin
There is no CPLEX specific limitation to the file name argument for these functions. Anything that specifies a valid file name is allowed.
So "../../../../include/ilcplex/1.txt" should be fine.
Note that relative path names like "../../../../include/ilcplex/1.txt" in your example are interpreted relative to your current working directory (as returned by Directory.GetCurrentDirectory()).
If you have trouble outputting the file with a relative path then probably your binary runs in a different directory than you expect?
Among other things you could try specifying an absolute path name or just the file name (without any path).
#CPLEXOptimizers#DecisionOptimization