It is very strange indeed. Before I had AmplNLWriter 0.5.0. Now that I updated to 0.6.0 (JuMP 0.21.2, MathOptInterface 0.9.13) it I get:
ERROR: LoadError: The provided optimizer_constructor returned an object of type MathOptInterface.Utilities.UniversalFallback{AmplNLWriter.InnerModel{Float64}}. Expected a MathOptInterface.AbstractOptimizer.
Updating registry at ~/.julia/registries/General Updating git-repo https://github.com/JuliaRegistries/General.git Resolving package versions…
ERROR: Unsatisfiable requirements detected for package AmplNLWriter [7c4d4715]:
AmplNLWriter [7c4d4715] log:
├─possible versions are: [0.4.2, 0.5.0, 0.6.0] or uninstalled
├─restricted to versions 0.4 by CouenneNL [2f02e5f0], leaving only versions 0.4.2
│ └─CouenneNL [2f02e5f0] log:
│ ├─possible versions are: 0.0.0 or uninstalled
│ └─CouenneNL [2f02e5f0] is fixed to version 0.0.0
└─restricted to versions 0.6 by an explicit requirement — no versions left
Thanks. I have downloaded couenne. but I have still ERROR: LoadError: UndefVarError: Optimizer not defined when I use global model = Model(() → AmplNLWriter.Optimizer(“./couenne”))