Hi everyone,
I’m encountering a reproducible crash when running a nonconvex (QCQP) AC-OPF model in AMPL through amplpy using Gurobi 12.0.1 on Windows 11. The same model and data run perfectly with IPOPT, but Gurobi terminates immediately with:
exit value 18446744072635809797
No additional diagnostic message appears, except the <BREAK> line.
When I check the AMPL logs, I can see that the solver call stops right after:
Gurobi 12.0.1: qp:nonconvex = 2
I’ve verified that:
- AMPL Academic Community Edition (Version 20250626) is installed correctly
- amplpy runs fine with other solvers.
- The .mod and .m files (a 3-bus AC-OPF in rectangular form) load and expand correctly.
- The Gurobi 12.0.1 Python and AMPL licenses are both valid.
Has anyone else experienced similar behavior, or can someone from AMPL confirm whether this exit code corresponds to an access violation or internal failure in the solver interface?
Any hints on how to diagnose or bypass the issue (adjusting solver options, changing environment variables, trying different drivers, or whatever you think might help) would be greatly appreciated.
System details:
- Windows 11 Home (64-bit)
- Python 3.13.3 + amplpy
- Academic Community License of AMPL
- Gurobi 12.0.1
- Model: AC-OPF in rectangular coordinates (nonconvex QCQP)
Thanks a lot for any insight or pointer!
Best,
Ignacio Repiso.