BARON ERROR: can't open nl file

I was trying to use BARON to solve some problems.

JuMP.jl version: 0.21.5
BARON.jl version: 0.6.5

When I run my program, the following error occurs:

C:\Program Files\ampl_mswin64\baron.exe: can't open C:\Users\Lujia\AppData\Local\Temp\jl_1V2Lgu\
ERROR: LoadError: failed process: Process(`'C:\Program Files\ampl_mswin64\baron.exe' 'C:\Users\Lujia\AppData\Local\Temp\jl_1V2Lgu\'`, ProcessExited(1)) [1]

It seems the baron executable cannot find a .nl file. How can I solve that issue?

I do see C:\Users\Lujia\AppData\Local\Temp\jl_1V2Lgu\ exists when using debug mode.

It looks like these are different files. One ends in .nl, and the other ends in .bar.

I suggest you open an issue: