This is fixed in v1.2.3 of AmplNLWriter.jl.
For earlier versions, the work-around needed to be:
output_file = joinpath(@__DIR__,"output.txt")
set_attribute(mod, "output_file", "\"$(output_file)\"")
This is fixed in v1.2.3 of AmplNLWriter.jl.
For earlier versions, the work-around needed to be:
output_file = joinpath(@__DIR__,"output.txt")
set_attribute(mod, "output_file", "\"$(output_file)\"")